Skip to content

Commit

Permalink
metrics: update the mvcc db metrics of etcd
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <nolouch@gmail.com>
  • Loading branch information
nolouch committed May 24, 2023
1 parent 7906ba7 commit 5edac19
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions metrics/grafana/pd.json
Original file line number Diff line number Diff line change
Expand Up @@ -8718,12 +8718,20 @@
"steppedLine": false,
"targets": [
{
"expr": "etcd_debugging_mvcc_db_total_size_in_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=\"pd\"}",
"expr": "etcd_mvcc_db_total_size_in_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=\"pd\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"legendFormat": "{{instance}}-physically-allocated",
"refId": "A"
},
{
"expr": "etcd_mvcc_db_total_size_in_use_in_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=\"pd\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{instance}}-logically-in-use",
"refId": "B"
}
],
"thresholds": [],
Expand Down

0 comments on commit 5edac19

Please sign in to comment.