-
Notifications
You must be signed in to change notification settings - Fork 720
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
mcs: collect scheduling statistics #7112
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## master #7112 +/- ##
==========================================
- Coverage 74.56% 74.54% -0.02%
==========================================
Files 441 442 +1
Lines 47388 47436 +48
==========================================
+ Hits 35335 35362 +27
- Misses 8957 8972 +15
- Partials 3096 3102 +6
Flags with carried forward coverage won't be shown. Click here to find out more. |
71be9d0
to
7b172f2
Compare
58403e4
to
074797e
Compare
@@ -1663,7 +1663,7 @@ | |||
"tableColumn": "idalloc", | |||
"targets": [ | |||
{ | |||
"expr": "pd_cluster_id{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=\"$instance\", type=\"idalloc\"}", | |||
"expr": "max(pd_cluster_id{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", type=\"idalloc\"})", |
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.
change to max
@@ -2202,7 +2202,7 @@ | |||
"tableColumn": "tso", | |||
"targets": [ | |||
{ | |||
"expr": "pd_cluster_tso{instance=\"$instance\", type=\"tso\", dc=\"global\"}", | |||
"expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})", |
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.
change to max
@@ -2508,7 +2508,7 @@ | |||
"tableColumn": "tso", | |||
"targets": [ | |||
{ | |||
"expr": "pd_cluster_tso{instance=\"$instance\", type=\"tso\", dc=\"global\"}", | |||
"expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})", |
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.
change to max
Signed-off-by: Ryan Leung <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
074797e
to
da27ed0
Compare
Signed-off-by: Ryan Leung <[email protected]>
da27ed0
to
d2813d7
Compare
/merge |
@JmPotato: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: d2813d7
|
ref tikv#5839 Signed-off-by: Ryan Leung <[email protected]>
What problem does this PR solve?
Issue Number: Ref #5839.
What is changed and how does it work?
This PR collects the statistics on the scheduling service and modifies Grafana template to make the monitor work as before.
Check List
Tests
Release note