-
Notifications
You must be signed in to change notification settings - Fork 45
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
UI : node average metrics #3078
UI : node average metrics #3078
Conversation
Hello alexis-ld,My role is to assist you with the merge of this Status report is not available. |
Branches have divergedThis pull request's source branch To avoid any integration risks, please re-synchronize them using one of the
Note: If you choose to rebase, you may have to ask me to rebuild |
f8df1bd
to
46480f7
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
1894b77
to
5d07d09
Compare
ConflictThere is a conflict between your branch Please resolve the conflict on the feature branch ( $ git fetch
$ git checkout origin/improvement/2925-node-average-metrics
$ git merge origin/development/2.8
$ # <intense conflict resolution>
$ git commit
$ git push origin HEAD:improvement/2925-node-average-metrics |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
fc300da
to
5d07d09
Compare
ConflictThere is a conflict between your branch Please resolve the conflict on the feature branch ( $ git fetch
$ git checkout origin/improvement/2925-node-average-metrics
$ git merge origin/development/2.8
$ # <intense conflict resolution>
$ git commit
$ git push origin HEAD:improvement/2925-node-average-metrics |
5d07d09
to
ac8b26f
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: |
New preview after changes : Screen.Recording.2021-02-05.at.12.19.20.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some details plus bump the core-ui version with tag(v0.8.0) then we are ready to go!
I still prefer to be able to see all the metrics without scrolling down.
But on my small laptop is not the case anymore, I guess it's because we add legends that take some spaces.
So I sugest to adapt the hook useDynamicChartSize
with [graphWidth, window.innerHeight / 6 - 50];
Branches have divergedThis pull request's source branch To avoid any integration risks, please re-synchronize them using one of the
Note: If you choose to rebase, you may have to ask me to rebuild |
8295dae
to
23b6295
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: |
a87b254
to
b4498fc
Compare
/approve |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: The following options are set: approve |
Branches have divergedThis pull request's source branch To avoid any integration risks, please re-synchronize them using one of the
Note: If you choose to rebase, you may have to ask me to rebuild The following options are set: approve |
b4498fc
to
e137c4b
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: The following options are set: approve |
In case showAvg is true we request the metrics average for the whole cluster aside from the regular metrics in monitoring duck Refs: #2925
Switch to enable/disable cluster avg metrics (data lives in URL) Display cluster avg as a dashed line in node metrics charts Refs: #2925
Slightly adapt charts titles and charts dimensions to fit the new design Refs: #2925
In order to make node cluster avg display work Refs: #2925
e137c4b
to
a0103d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye alexis-ld. |
Component:
nodes
Context:
We want to display cluster-wide metrics for each chart in the Node metrics tab.
We had to adapt core-ui LineChart component for this to work. To test this locally you might need to use :
"@scality/core-ui": "github:scality/core-ui.git#improvement/linechart-config"
in package.json to get the up-to-date core-ui version.Summary:
Screen.Recording.2021-02-02.at.17.16.20.mov
Acceptance criteria:
Enabling average display adds a dashed line on each chart in the node metrics tab.
This show avg settings is stored in the URL
Avg metrics are refreshed at the same time than node specific metrics.
Closes: #2925