-
-
Save gilangvperdana/138f4b8fcb931946131b02ab9fc2d79f to your computer and use it in GitHub Desktop.
Grafana Blackbox DNS Dashboard Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} | |
], | |
"__requires": [ | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "8.2.6" | |
}, | |
{ | |
"type": "datasource", | |
"id": "prometheus", | |
"name": "Prometheus", | |
"version": "1.0.0" | |
}, | |
{ | |
"type": "panel", | |
"id": "state-timeline", | |
"name": "State timeline", | |
"version": "" | |
} | |
], | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"target": { | |
"limit": 100, | |
"matchAny": false, | |
"tags": [], | |
"type": "dashboard" | |
}, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "Prometheus Blackbox Exporter Overview", | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"gnetId": 7587, | |
"graphTooltip": 0, | |
"id": null, | |
"iteration": 1638825949244, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 175, | |
"panels": [], | |
"repeat": "domain", | |
"title": "$domain", | |
"type": "row" | |
}, | |
{ | |
"cacheTimeout": null, | |
"datasource": "${DS_PROMETHEUS}", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"custom": { | |
"fillOpacity": 70, | |
"lineWidth": 1 | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "red", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 0 | |
}, | |
{ | |
"color": "dark-green", | |
"value": 1 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 24, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 173, | |
"interval": null, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"alignValue": "center", | |
"legend": { | |
"displayMode": "hidden", | |
"placement": "bottom" | |
}, | |
"mergeValues": false, | |
"rowHeight": 0.59, | |
"showValue": "never", | |
"tooltip": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.2.6", | |
"repeatDirection": "v", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "probe_success{domain=~\"$domain\", job=\"blackbox-dns-monitor\"}", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{instance}}", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"type": "state-timeline" | |
} | |
], | |
"refresh": "10s", | |
"schemaVersion": 32, | |
"style": "dark", | |
"tags": [ | |
"blackbox", | |
"prometheus" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"allValue": null, | |
"current": {}, | |
"datasource": "${DS_PROMETHEUS}", | |
"definition": "label_values(probe_success{job=\"$job\"}, domain)", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": null, | |
"multi": true, | |
"name": "domain", | |
"options": [], | |
"query": { | |
"query": "label_values(probe_success{job=\"$job\"}, domain)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": {}, | |
"datasource": "${DS_PROMETHEUS}", | |
"definition": "label_values(job)", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": null, | |
"multi": true, | |
"name": "job", | |
"options": [], | |
"query": { | |
"query": "label_values(job)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-1h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"timezone": "", | |
"title": "Prometheus Blackbox DNS", | |
"uid": "xtkCtBkiz", | |
"version": 21 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment