From 56bf9e51a1b8d300c0d88d2f3b113e557eefe89e Mon Sep 17 00:00:00 2001 From: pingcap-github-bot Date: Fri, 10 Apr 2020 15:52:38 +0800 Subject: [PATCH] monitor: add tiflash to grafana dashboard (#16278) (#16282) --- metrics/grafana/overview.json | 52 ++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/metrics/grafana/overview.json b/metrics/grafana/overview.json index c2ba48561d801..cdbb836a9fc37 100644 --- a/metrics/grafana/overview.json +++ b/metrics/grafana/overview.json @@ -173,68 +173,75 @@ "legendFormat": "TiKV", "refId": "C" }, + { + "expr": "\ncount(probe_success{group=\"tiflash\"} == 1)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "TiFlash", + "refId": "D" + }, { "expr": "\ncount(probe_success{group=\"pump\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Pump", - "refId": "D" + "refId": "E" }, { "expr": "\ncount(probe_success{group=\"drainer\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Drainer", - "refId": "E" + "refId": "F" }, { "expr": "\ncount(probe_success{group=\"kafka\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Kafka", - "refId": "F" + "refId": "G" }, { "expr": "\ncount(probe_success{group=\"zookeeper\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Zookeeper", - "refId": "G" + "refId": "H" }, { "expr": "\ncount(probe_success{group=\"node_exporter\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Node_exporter", - "refId": "H" + "refId": "I" }, { "expr": "\ncount(probe_success{group=\"blackbox_exporter\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Blackbox_exporter", - "refId": "I" + "refId": "J" }, { "expr": "\ncount(probe_success{group=\"grafana\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Grafana", - "refId": "J" + "refId": "K" }, { "expr": "\ncount(probe_success{job=\"blackbox_exporter_http\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Pushgateway", - "refId": "K" + "refId": "L" }, { "expr": "\ncount(probe_success{group=\"kafka_exporter\"} == 1)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Kafka_exporter", - "refId": "L" + "refId": "M" } ], "timeFrom": "1s", @@ -344,68 +351,75 @@ "legendFormat": "TiKV", "refId": "C" }, + { + "expr": "\ncount(probe_success{group=\"tiflash\"} == 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "TiFlash", + "refId": "D" + }, { "expr": "\ncount(probe_success{group=\"pump\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Pump", - "refId": "D" + "refId": "E" }, { "expr": "\ncount(probe_success{group=\"drainer\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Drainer", - "refId": "E" + "refId": "F" }, { "expr": "\ncount(probe_success{group=\"kafka\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Kafka", - "refId": "F" + "refId": "G" }, { "expr": "\ncount(probe_success{group=\"zookeeper\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Zookeeper", - "refId": "G" + "refId": "H" }, { "expr": "\ncount(probe_success{group=\"node_exporter\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Node_exporter", - "refId": "H" + "refId": "I" }, { "expr": "\ncount(probe_success{group=\"blackbox_exporter\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Blackbox_exporter", - "refId": "I" + "refId": "J" }, { "expr": "\ncount(probe_success{group=\"grafana\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Grafana", - "refId": "J" + "refId": "K" }, { "expr": "\ncount(probe_success{job=\"blackbox_exporter_http\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Pushgateway", - "refId": "K" + "refId": "L" }, { "expr": "\ncount(probe_success{group=\"kafka_exporter\"} == 0)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Kafka_exporter", - "refId": "L" + "refId": "M" } ], "timeFrom": "1s", @@ -5198,4 +5212,4 @@ "title": "Test-Cluster-Overview", "uid": "eDbRZpnWk", "version": 1 -} \ No newline at end of file +}