Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement/replace the volume metrics charts by the new chart component #3529

Conversation

JBWatenbergScality
Copy link
Contributor

@JBWatenbergScality JBWatenbergScality commented Sep 9, 2021

Component:

UI, Monitoring

Context:

In order to provide better readability of Metalk8s metrics charts, we developed a new chart component in https://www.github.com/scality/core-ui. This PR introduce this new chart component for nodes and volumes metrics charts.

image

Summary:

It brings :

  • Cursor synchronisation when hovering a chart
  • A better tooltip with coloured legend and unit
  • A lot of bug fixes when data is missing
  • Symmetrical charts to compare read/write in/out metrics

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch 3 times, most recently from 57080f6 to 7d2dab7 Compare September 14, 2021 09:04
@JBWatenbergScality JBWatenbergScality force-pushed the improvement/replace-the-volume-metrics-charts-by-the-new-chart-component branch from 63c7bac to 2e066b6 Compare September 14, 2021 09:11
@JBWatenbergScality JBWatenbergScality changed the base branch from improvement/replace-the-node-volume-metrics-by-the-new-chart-component to development/2.9 September 14, 2021 11:22
@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2021

Hello jbwatenbergscality,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2021

Conflict

A conflict has been raised during the creation of
integration branch w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component with contents from w/2.10/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
and development/2.11.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component origin/development/2.11
 $ git merge origin/w/2.10/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component

@JBWatenbergScality JBWatenbergScality changed the base branch from development/2.9 to development/2.10 September 14, 2021 11:22
@JBWatenbergScality
Copy link
Contributor Author

/reset

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2021

Reset complete

I have successfully deleted this pull request's integration branches.

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2021

Conflict

A conflict has been raised during the creation of
integration branch w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component with contents from improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
and development/2.11.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component origin/development/2.11
 $ git merge origin/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component

@JBWatenbergScality JBWatenbergScality force-pushed the improvement/replace-the-volume-metrics-charts-by-the-new-chart-component branch 2 times, most recently from 7d9af99 to 1321068 Compare September 14, 2021 15:08
@JBWatenbergScality JBWatenbergScality marked this pull request as ready for review September 14, 2021 15:09
@JBWatenbergScality JBWatenbergScality requested a review from a team as a code owner September 14, 2021 15:09
@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2021

Conflict

There is a conflict between your branch improvement/replace-the-volume-metrics-charts-by-the-new-chart-component and the
destination branch development/2.10.

Please resolve the conflict on the feature branch (improvement/replace-the-volume-metrics-charts-by-the-new-chart-component).

git fetch && \
git checkout origin/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component && \
git merge origin/development/2.10

Resolve merge conflicts and commit

git push origin HEAD:improvement/replace-the-volume-metrics-charts-by-the-new-chart-component

@JBWatenbergScality JBWatenbergScality force-pushed the improvement/replace-the-volume-metrics-charts-by-the-new-chart-component branch from de711d5 to 7794714 Compare September 14, 2021 15:20
@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2021

Conflict

A conflict has been raised during the creation of
integration branch w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component with contents from improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
and development/2.11.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component origin/development/2.11
 $ git merge origin/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component

@JBWatenbergScality JBWatenbergScality force-pushed the improvement/replace-the-volume-metrics-charts-by-the-new-chart-component branch 2 times, most recently from 60101e4 to f12c05f Compare September 14, 2021 17:41
instanceIp,
deviceName,
);
const volumeThroughputReadQuery = `sum(irate(node_disk_read_bytes_total${prometheusFilters}[1m])) * 0.000001`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const volumeThroughputReadQuery = `sum(irate(node_disk_read_bytes_total${prometheusFilters}[1m])) * 0.000001`;
const volumeThroughputReadQuery = `sum(irate(node_disk_read_bytes_total${prometheusFilters}[1m]))`;

instanceIp,
deviceName,
);
const volumeThroughputWriteQuery = `sum(irate(node_disk_written_bytes_total${prometheusFilters}[1m])) * 0.000001`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const volumeThroughputWriteQuery = `sum(irate(node_disk_written_bytes_total${prometheusFilters}[1m])) * 0.000001`;
const volumeThroughputWriteQuery = `sum(irate(node_disk_written_bytes_total${prometheusFilters}[1m]))`;

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-volume-metrics-charts-by-the-new-chart-component branch from f12c05f to e4bbcc0 Compare September 15, 2021 08:03
@JBWatenbergScality
Copy link
Contributor Author

/approve

@bert-e
Copy link
Contributor

bert-e commented Sep 15, 2021

Conflict

A conflict has been raised during the creation of
integration branch w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component with contents from improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
and development/2.11.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component origin/development/2.11
 $ git merge origin/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component

The following options are set: approve

@ChengYanJin
Copy link
Contributor

/status

@bert-e
Copy link
Contributor

bert-e commented Sep 15, 2021

Status

Status report is not available.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented Sep 15, 2021

Build failed

The build for commit did not succeed in branch w/2.11/improvement/replace-the-volume-metrics-charts-by-the-new-chart-component.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented Sep 15, 2021

In the queue

The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.

The changeset will be merged in:

  • ✔️ development/2.10

  • ✔️ development/2.11

The following branches will NOT be impacted:

  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3
  • development/2.4
  • development/2.5
  • development/2.6
  • development/2.7
  • development/2.8
  • development/2.9

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.

IMPORTANT

Please do not attempt to modify this pull request.

  • Any commit you add on the source branch will trigger a new cycle after the
    current queue is merged.
  • Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented Sep 15, 2021

I have successfully merged the changeset of this pull request
into targetted development branches:

  • ✔️ development/2.10

  • ✔️ development/2.11

The following branches have NOT changed:

  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3
  • development/2.4
  • development/2.5
  • development/2.6
  • development/2.7
  • development/2.8
  • development/2.9

Please check the status of the associated issue None.

Goodbye jbwatenbergscality.

@bert-e bert-e merged commit d7e0ef7 into development/2.10 Sep 15, 2021
@bert-e bert-e deleted the improvement/replace-the-volume-metrics-charts-by-the-new-chart-component branch September 15, 2021 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants