Skip to content

Commit 9d821c8

Browse files
authored
grafana: add max ping latency metric (#1070)
Signed-off-by: yibin87 <huyibin@pingcap.com>
1 parent ce2f592 commit 9d821c8

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

platform-monitoring/ansible/grafana/blackbox_exporter.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,18 @@
112112
"format": "time_series",
113113
"hide": false,
114114
"intervalFactor": 2,
115-
"legendFormat": "",
115+
"legendFormat": "Ping Latency",
116116
"refId": "A",
117117
"step": 20
118+
},
119+
{
120+
"expr": "max_over_time(probe_duration_seconds{job=\"$PingJobHost\"}[1m])",
121+
"format": "time_series",
122+
"hide": false,
123+
"intervalFactor": 2,
124+
"legendFormat": "Max Ping Latency",
125+
"refId": "B",
126+
"step": 20
118127
}
119128
],
120129
"thresholds": [],

0 commit comments

Comments
 (0)