Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Oct 9, 2023
1 parent 6167465 commit d2813d7
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions metrics/grafana/pd.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
"tableColumn": "",
"targets": [
{
"expr": "sum(pd_cluster_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", type=\"storage_size\"}) / sum(pd_cluster_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=\"$instance\",type=\"storage_capacity\"})",
"expr": "sum(pd_cluster_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", type=\"storage_size\"}) / sum(pd_cluster_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", type=\"storage_capacity\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
Expand Down Expand Up @@ -771,14 +771,14 @@
"steppedLine": false,
"targets": [
{
"expr": "pd_regions_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}",
"expr": "max(pd_regions_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}) by (type)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{type}}",
"refId": "A"
},
{
"expr": "sum(pd_regions_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}) by (instance, type)",
"expr": "sum(pd_regions_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}) by (type)",
"format": "time_series",
"hide": true,
"intervalFactor": 2,
Expand Down Expand Up @@ -12489,7 +12489,9 @@
"rightSide": true,
"show": true,
"total": false,
"values": true
"values": true,
"hideEmpty": true,
"hideZero": true
},
"lines": true,
"linewidth": 1,
Expand Down Expand Up @@ -12589,7 +12591,9 @@
"rightSide": true,
"show": true,
"total": false,
"values": false
"values": false,
"hideEmpty": true,
"hideZero": true
},
"lines": true,
"linewidth": 1,
Expand Down Expand Up @@ -12689,7 +12693,9 @@
"rightSide": true,
"show": true,
"total": false,
"values": false
"values": false,
"hideEmpty": true,
"hideZero": true
},
"lines": true,
"linewidth": 1,
Expand Down Expand Up @@ -12789,7 +12795,9 @@
"rightSide": true,
"show": true,
"total": false,
"values": false
"values": false,
"hideEmpty": true,
"hideZero": true
},
"lines": true,
"linewidth": 1,
Expand Down Expand Up @@ -12889,7 +12897,9 @@
"rightSide": true,
"show": true,
"total": false,
"values": false
"values": false,
"hideEmpty": true,
"hideZero": true
},
"lines": true,
"linewidth": 1,
Expand Down

0 comments on commit d2813d7

Please sign in to comment.