dnsmasq_exporter/dnsmasq-mixin/dnsmasq-overview.json

670 lines
14 KiB
JSON
Raw Normal View History

{
"annotations": {
"list": [
{
"builtIn": 1,
2023-01-11 15:21:39 +00:00
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
2023-01-11 15:21:39 +00:00
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
2023-01-11 15:21:39 +00:00
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
2023-01-11 15:21:39 +00:00
"id": 94,
"links": [],
2023-01-11 15:21:39 +00:00
"liveNow": false,
"panels": [
{
"collapsed": false,
2023-01-11 15:21:39 +00:00
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 15,
"panels": [],
2023-01-11 15:21:39 +00:00
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"refId": "A"
}
],
"title": "DNS Stats",
"type": "row"
},
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 1
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
2023-01-11 15:21:39 +00:00
},
"textMode": "auto"
},
2023-01-11 15:21:39 +00:00
"pluginVersion": "9.3.2-67a213dc85",
"targets": [
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"expr": "sum(dnsmasq_leases{job=~\"$job\", instance=~\"$instance\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Leases",
"type": "stat"
},
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 1
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
2023-01-11 15:21:39 +00:00
},
"textMode": "auto"
},
2023-01-11 15:21:39 +00:00
"pluginVersion": "9.3.2-67a213dc85",
"targets": [
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"expr": "sum(dnsmasq_servers_queries{job=~\"$job\", instance=~\"$instance\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Upstream Queries",
"type": "stat"
},
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [],
2023-01-11 15:21:39 +00:00
"max": 1,
"min": 0,
"noValue": "0%",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 1
},
"id": 17,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
2023-01-11 15:21:39 +00:00
},
"textMode": "auto"
},
2023-01-11 15:21:39 +00:00
"pluginVersion": "9.3.2-67a213dc85",
"targets": [
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"expr": "sum(dnsmasq_servers_queries_failed{job=~\"$job\", instance=~\"$instance\"}) / sum(dnsmasq_servers_queries{job=~\"$job\", instance=~\"$instance\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Upstream Failed Queries",
"type": "stat"
},
{
"collapsed": false,
2023-01-11 15:21:39 +00:00
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 7
},
"id": 13,
"panels": [],
2023-01-11 15:21:39 +00:00
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"refId": "A"
}
],
"title": "Build Info",
"type": "row"
},
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"custom": {
2023-01-11 15:21:39 +00:00
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 8
},
"id": 4,
"options": {
2023-01-11 15:21:39 +00:00
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
2023-01-11 15:21:39 +00:00
"pluginVersion": "9.3.2-67a213dc85",
"targets": [
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"expr": "dnsmasq_exporter_build_info{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Build Info",
"transformations": [
{
"id": "labelsToFields",
"options": {}
},
2023-01-11 15:21:39 +00:00
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"instance": false,
"job": true
},
"indexByName": {
"Time": 5,
"Value": 7,
"branch": 4,
"goversion": 2,
"instance": 0,
"job": 6,
"revision": 3,
"version": 1
},
"renameByName": {}
}
}
],
"type": "table"
},
{
"collapsed": false,
2023-01-11 15:21:39 +00:00
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 11,
"panels": [],
2023-01-11 15:21:39 +00:00
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"refId": "A"
}
],
"title": "Cache Stats",
"type": "row"
},
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 15
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
2023-01-11 15:21:39 +00:00
},
"textMode": "auto"
},
2023-01-11 15:21:39 +00:00
"pluginVersion": "9.3.2-67a213dc85",
"targets": [
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"expr": "sum(dnsmasq_cachesize{job=~\"$job\", instance=~\"$instance\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Cache Size",
"type": "stat"
},
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 15
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
2023-01-11 15:21:39 +00:00
},
"textMode": "auto"
},
2023-01-11 15:21:39 +00:00
"pluginVersion": "9.3.2-67a213dc85",
"targets": [
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"expr": "sum(dnsmasq_hits{job=~\"$job\", instance=~\"$instance\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Cache Hits",
"type": "stat"
},
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 15
},
"id": 7,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
2023-01-11 15:21:39 +00:00
},
"textMode": "auto"
},
2023-01-11 15:21:39 +00:00
"pluginVersion": "9.3.2-67a213dc85",
"targets": [
{
2023-01-11 15:21:39 +00:00
"datasource": {
"uid": "$datasource"
},
"expr": "sum(dnsmasq_insertions{job=~\"$job\", instance=~\"$instance\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Cache Insertions",
"type": "stat"
}
],
2023-01-11 15:21:39 +00:00
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
2023-01-11 15:21:39 +00:00
"selected": false,
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Data Source",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": ".+",
"current": {
2023-01-11 15:21:39 +00:00
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"uid": "$datasource"
},
"definition": "label_values(dnsmasq_exporter_build_info, job)",
"hide": 0,
"includeAll": true,
"label": "job",
"multi": true,
"name": "job",
2023-01-11 15:21:39 +00:00
"options": [],
"query": "label_values(dnsmasq_exporter_build_info, job)",
2023-01-11 15:21:39 +00:00
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".+",
"current": {
2023-01-11 15:21:39 +00:00
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"uid": "$datasource"
},
"definition": "label_values(dnsmasq_exporter_build_info, instance)",
"hide": 0,
"includeAll": true,
"label": "instance",
"multi": true,
"name": "instance",
2023-01-11 15:21:39 +00:00
"options": [],
"query": "label_values(dnsmasq_exporter_build_info, instance)",
2023-01-11 15:21:39 +00:00
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "dnsmasq",
"uid": "ySypWTcMk",
2023-01-11 15:21:39 +00:00
"version": 2,
"weekStart": ""
}