Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DazWilkin/883c40755dea6b22eae885da5f7c150f to your computer and use it in GitHub Desktop.
Save DazWilkin/883c40755dea6b22eae885da5f7c150f to your computer and use it in GitHub Desktop.
Ackal tutorial Grafana Dashboard
{
"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"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1648745033822,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 10,
"panels": [],
"title": "Bar Chart",
"type": "row"
},
{
"datasource": {
"type": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 22,
"w": 24,
"x": 0,
"y": 1
},
"id": 8,
"options": {
"displayMode": "lcd",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "8.4.4",
"targets": [
{
"datasource": {
"type": "prometheus"
},
"exemplar": true,
"expr": "avg without(endpoint,status) (ackal_exporter_check_histogram_ms_bucket{job=\"$job\",location=\"$location\",endpoint=\"$endpoint\"})",
"format": "heatmap",
"interval": "",
"legendFormat": "{{le}}",
"refId": "A"
}
],
"title": "Panel Title",
"type": "bargauge"
}
],
"refresh": "5m",
"schemaVersion": 35,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus"
},
"definition": "label_values(ackal_exporter_check_histogram_ms_bucket,endpoint)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "endpoint",
"options": [],
"query": {
"query": "label_values(ackal_exporter_check_histogram_ms_bucket,endpoint)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus"
},
"definition": "label_values(ackal_exporter_check_histogram_ms_bucket,job)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "job",
"options": [],
"query": {
"query": "label_values(ackal_exporter_check_histogram_ms_bucket,job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus"
},
"definition": "label_values(ackal_exporter_check_histogram_ms_bucket,location)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "location",
"options": [],
"query": {
"query": "label_values(ackal_exporter_check_histogram_ms_bucket,location)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Checks",
"version": 1,
"weekStart": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment