From 92b6d4adbbb79583b2b49c23f5ac209f5963d602 Mon Sep 17 00:00:00 2001 From: Liangliang Gu Date: Fri, 10 Apr 2020 14:49:23 +0800 Subject: [PATCH] update tiflash grafana (#1255) --- scripts/blackbox_exporter.json | 7 +++++++ scripts/overview.json | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/scripts/blackbox_exporter.json b/scripts/blackbox_exporter.json index 7d750ecc6..3a245ed2d 100644 --- a/scripts/blackbox_exporter.json +++ b/scripts/blackbox_exporter.json @@ -517,6 +517,13 @@ "intervalFactor": 2, "legendFormat": "Kafka_exporter", "refId": "L" + }, + { + "expr": "count(probe_success{group=\"tiflash\"} == 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "TiFlash", + "refId": "M" } ], "timeFrom": "1s", diff --git a/scripts/overview.json b/scripts/overview.json index bd9bab9e7..b3f6d983f 100644 --- a/scripts/overview.json +++ b/scripts/overview.json @@ -413,6 +413,13 @@ "intervalFactor": 2, "legendFormat": "Kafka_exporter", "refId": "L" + }, + { + "expr": "\ncount(probe_success{group=\"tiflash\"} == 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "TiFlash", + "refId": "M" } ], "timeFrom": "1s",