4 "name": "DS_PROMETHEUS",
8 "pluginId": "prometheus",
9 "pluginName": "Prometheus"
42 "datasource": "-- Grafana --",
45 "iconColor": "rgba(0, 211, 255, 1)",
46 "name": "Annotations & Alerts",
55 "iteration": 1591284149575,
64 "cardColor": "#b4ff00",
66 "colorScheme": "interpolateRdYlGn",
70 "dataFormat": "tsbuckets",
71 "datasource": "${DS_PROMETHEUS}",
79 "hideZeroBuckets": false,
80 "highlightCards": true,
86 "reverseYBuckets": true,
89 "expr": "sum(probe_icmp_duration_seconds{phase=\"rtt\"}) by (instance)",
90 "legendFormat": "{{instance}}",
105 "xBucketNumber": null,
116 "yBucketBound": "middle",
117 "yBucketNumber": null,
126 "cardColor": "#b4ff00",
127 "colorScale": "sqrt",
128 "colorScheme": "interpolateRdYlGn",
132 "dataFormat": "tsbuckets",
133 "datasource": "${DS_PROMETHEUS}",
141 "hideZeroBuckets": false,
142 "highlightCards": true,
148 "reverseYBuckets": true,
151 "expr": "1-avg_over_time(probe_success{instance=~\"$instance\"}[$__interval])",
152 "format": "time_series",
154 "legendFormat": "{{instance}}",
160 "title": "ICMP packet loss",
163 "showHistogram": true
169 "xBucketNumber": null,
173 "format": "percentunit",
180 "yBucketBound": "middle",
181 "yBucketNumber": null,
189 "datasource": "${DS_PROMETHEUS}",
191 "description": "This uses the blackbox exporter, which does not expose packet loss, for example. It could be improved with https://github.com/SuperQ/smokeping_prober because it also keeps track of lost samples (https://github.com/SuperQ/smokeping_prober/issues/24). Unfortunately, that still won't make graphs as nice as smokeping, because each probe only keeps one sample, instead of doing multiple like smokeping does (https://github.com/SuperQ/smokeping_prober/issues/36).",
200 "hiddenSeries": false,
203 "alignAsTable": true,
218 "nullPointMode": "connected",
226 "repeat": "instance",
227 "repeatDirection": "v",
230 "alias": "packet loss",
243 "expr": "sum(probe_icmp_duration_seconds{phase=\"rtt\",instance=~\"$instance\"}) by (instance) > 0",
245 "legendFormat": "RTT",
249 "expr": "1-avg_over_time(probe_success{instance=~\"$instance\"}[$__interval])",
250 "format": "time_series",
251 "legendFormat": "packet loss",
259 "title": "ICMP round trip time ($instance)",
263 "value_type": "individual"
276 "format": "dtdurations",
284 "format": "percentunit",
285 "label": "packet loss",
312 "label": "datasource",
314 "name": "DS_PROMETHEUS",
316 "query": "prometheus",
319 "skipUrlSync": false,
325 "datasource": "${DS_PROMETHEUS}",
326 "definition": "label_values(probe_success, instance)",
333 "query": "label_values(probe_success, instance)",
336 "skipUrlSync": false,
338 "tagValuesQuery": "",
351 "refresh_intervals": [
365 "title": "ICMP exporter",
367 "description": "Graph ICMP metrics from the blackbox exporter, Smokeping-style"