-
Notifications
You must be signed in to change notification settings - Fork 274
Add description for overview dashboard #908
base: master
Are you sure you want to change the base?
Conversation
metric addr is http://172.16.4.253:3000/login |
Now only description related change was left. |
scripts/overview.json
Outdated
@@ -56,9 +56,9 @@ | |||
}, | |||
"editable": true, | |||
"gnetId": null, | |||
"graphTooltip": 1, | |||
"graphTooltip": 0, |
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.
Why is graph tooltip turned off?
@@ -2471,6 +2508,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": " \tthe number of executed KV commands", |
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.
unnecessary \t
.
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.
per second
@@ -689,6 +694,7 @@ | |||
"rgba(50, 172, 45, 0.97)" | |||
], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the total number of Regions of the current cluster", |
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.
I think the "R" in the word "Region" needn't be capitalized.
@@ -850,6 +858,7 @@ | |||
"#d44a3a" | |||
], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the Region ratio difference of the nodes with the biggest Region ratio and the smallest Region ratio", |
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.
ditto
@@ -769,6 +776,7 @@ | |||
"#d44a3a" | |||
], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the leader ratio difference of the nodes with the biggest leader ratio and the smallest leader ratio", |
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.
"description": "the leader ratio difference of the nodes with the biggest leader ratio and the smallest leader ratio", | |
"description": "the leader ratio difference between the node with the most leaders and that with the least leaders", |
@@ -1039,6 +1054,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the 99th percentile duration to complete a pd-server request", |
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.
pd-server request
-> PD request
?
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.
to complete
-> of
?
@@ -2561,6 +2588,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the execution time of the KV command", |
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.
99 percentile
@@ -2652,6 +2680,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the number of TSO that TiDB obtains from PD", |
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.
per second
@@ -2747,6 +2776,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the time consumed when TiDB obtains TSO from PD", |
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.
Could you please confirm what it really means from TiDB developers?
@@ -2852,6 +2882,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 2, | |||
"description": "the number of Region related errors returned by TiKV", |
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.
R -> r
@@ -2943,6 +2974,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the number of transaction related conflicts", |
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.
The description is not accurate. Lock resolving doesn't mean conflicts. If you must add description to it, I prefer just use its literal meaning.
@@ -3130,6 +3163,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the number of errors returned by TiKV (such as transaction conflicts )", |
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.
unnecessary space
@@ -3035,6 +3067,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": null, | |||
"description": "the time consumed when TiDB obtains Schema from TiKV", |
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.
schema is not obtained from tikv...
@@ -3986,6 +4028,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 1, | |||
"description": "the number of commits on queue", |
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.
"description": "the number of commits on queue", | |
"description": "the number of commands in queue", |
@@ -4166,6 +4210,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 5, | |||
"description": "the time consumed by TiKV queries", |
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.
TiKV queries -> TiDB queries?
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.
The handle time of each Coprocessor request
@@ -4471,6 +4518,7 @@ | |||
{ | |||
"columns": [], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": " \tthe number of CPU cores", |
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.
unnecessary \t
@@ -5036,6 +5089,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 1, | |||
"description": " \tthe statistics about network monitoring and TCP", |
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.
remove leading \t
@@ -5126,6 +5180,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 0, | |||
"description": "the disk usage ratio, 100% at a maximum; generally you need to consider adding a new node when the usage ratio is up to 80% ~ 90%", |
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.
What's the source of 80% ~ 90%
?
Actually, I think we don't need to add descriptions to all panels. For example, panel names like CPU usage or memory available are quite clear enough. |
@@ -79,6 +79,7 @@ | |||
} | |||
], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the online nodes number of each service", |
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.
The number of online nodes
@@ -250,6 +251,7 @@ | |||
} | |||
], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the offline nodes number of each service", |
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.
The number of ...
@@ -522,6 +524,7 @@ | |||
], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": null, | |||
"description": "the total storage capacity of the TiDB cluster", |
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.
of TiKV nodes?
@@ -606,6 +609,7 @@ | |||
], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 1, | |||
"description": "the occupied storage capacity of the TiDB cluster", |
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.
The data size?
@@ -1039,6 +1054,7 @@ | |||
"dashLength": 10, | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the 99th percentile duration to complete a pd-server request", |
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.
to complete
-> of
?
@@ -3702,6 +3741,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 1, | |||
"description": "the data amount on different CFs in the cluster", |
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.
Data size?
@@ -4075,6 +4118,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 1, | |||
"description": "the number of various query operations", |
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.
The total number of Coprocessor executors in received requests per second
@@ -4166,6 +4210,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 5, | |||
"description": "the time consumed by TiKV queries", |
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.
The handle time of each Coprocessor request
@@ -4559,6 +4607,7 @@ | |||
{ | |||
"columns": [], | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"description": "the total memory", |
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.
The total memory of each node
@@ -4765,6 +4815,7 @@ | |||
"dashes": false, | |||
"datasource": "${DS_TEST-CLUSTER}", | |||
"decimals": 1, | |||
"description": "the overload within 1 minute", |
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.
The load
Add description for grafana overview dashboard.
This json file was generated by grafana, and some fields like "scopedVars" was removed.