Created
May 5, 2022 13:19
-
-
Save promasu/205a665d3ee91cd2dc724334789b2734 to your computer and use it in GitHub Desktop.
PowerDNS DNSDist Grafana Dashboard
This file contains 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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "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 Powerdns exporter metrics.", | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"gnetId": 13692, | |
"graphTooltip": 0, | |
"id": 6, | |
"iteration": 1651754445928, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 20, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"editorMode": "code", | |
"expr": "dnsdist_uptime{instance=~\"$instance\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{instance}}", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"range": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "Uptime", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#299c46", | |
"value": null | |
}, | |
{ | |
"color": "#c15c17", | |
"value": 50 | |
}, | |
{ | |
"color": "#bf1b00", | |
"value": 100 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 2, | |
"y": 0 | |
}, | |
"id": 16, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"editorMode": "code", | |
"expr": "dnsdist_downstream_send_errors{instance=~\"$instance\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{instance}}", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"range": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "Send Errors", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#299c46", | |
"value": null | |
}, | |
{ | |
"color": "#c15c17", | |
"value": 200 | |
}, | |
{ | |
"color": "#bf1b00", | |
"value": 500 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 4, | |
"y": 0 | |
}, | |
"id": 15, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"editorMode": "code", | |
"expr": "round(rate(dnsdist_downstream_timeouts{instance=~\"$instance\"}[5m])*300)", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{instance}}", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"range": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "Timeouts last 5m", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"decimals": 0, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "locale" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 6, | |
"y": 0 | |
}, | |
"id": 17, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"expr": "sum(rate(dnsdist_frontend_queries{frontend=\"0.0.0.0:53\",instance=~\"$instance\"}[5m])*300)", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "IPv4 queries last 5m", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#bf1b00", | |
"value": null | |
}, | |
{ | |
"color": "#299c46", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 4, | |
"x": 8, | |
"y": 0 | |
}, | |
"id": 22, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"editorMode": "code", | |
"expr": "dnsdist_pool_active_servers{instance=~\"$instance\",pool!=\"_default_\"}", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{pool}}@{{instance}}", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"range": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "Active downstreams", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"decimals": 0, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 6, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 21, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"lastNotNull", | |
"sum" | |
], | |
"displayMode": "table", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"editorMode": "code", | |
"expr": "round(rate(dnsdist_server_drops{address=~\"$address\"}[5m]) * 100) ", | |
"format": "time_series", | |
"hide": false, | |
"interval": "5m", | |
"intervalFactor": 1, | |
"legendFormat": "{{ address }}@{{ instance }}", | |
"range": true, | |
"refId": "B" | |
} | |
], | |
"title": "# of queries not answered", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"decimals": 0, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 6, | |
"x": 18, | |
"y": 0 | |
}, | |
"id": 3, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"lastNotNull", | |
"sum" | |
], | |
"displayMode": "table", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"expr": "dnsdist_server_latency{address=~\"$address\"}", | |
"format": "time_series", | |
"hide": false, | |
"interval": "5m", | |
"intervalFactor": 1, | |
"legendFormat": "{{ address }}", | |
"refId": "B" | |
} | |
], | |
"title": "Latency", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"decimals": 0, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "locale" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 6, | |
"y": 3 | |
}, | |
"id": 42, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"expr": "sum(rate(dnsdist_frontend_queries{frontend=\"[::]:53\",instance=~\"$instance\"}[5m])*300)", | |
"format": "time_series", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"intervalFactor": 1, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "IPv6 queries last 5m", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"description": "Number of responses received from backends", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 6 | |
}, | |
"id": 1, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max", | |
"min", | |
"sum" | |
], | |
"displayMode": "table", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"expr": "sum(irate(dnsdist_responses{instance=~\"$instance\"}[5m])) by (instance)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 4, | |
"legendFormat": "{{ instance }}", | |
"metric": "pdns_recursor_all_outqueries", | |
"refId": "C", | |
"step": 2400 | |
} | |
], | |
"title": "Number of responses received from backends", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 6 | |
}, | |
"id": 2, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"sum" | |
], | |
"displayMode": "table", | |
"placement": "right" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"expr": "sum (rate(dnsdist_latency0_1{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "0-1 ms", | |
"refId": "A", | |
"step": 1200 | |
}, | |
{ | |
"expr": "sum (rate(dnsdist_latency1_10{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "1-10 ms", | |
"refId": "D", | |
"step": 1200 | |
}, | |
{ | |
"expr": "sum (rate(dnsdist_latency10_100{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "10-100 ms", | |
"metric": "", | |
"refId": "B", | |
"step": 1200 | |
}, | |
{ | |
"expr": "sum (rate(dnsdist_latency100_1000{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "100-1000 ms", | |
"refId": "E", | |
"step": 1200 | |
}, | |
{ | |
"expr": "sum (rate(dnsdist_latency_slow{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "slow", | |
"metric": "", | |
"refId": "C", | |
"step": 1200 | |
} | |
], | |
"title": "Number of queries answered", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"description": "response latency of the last 1K packets", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"decimals": 1, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 13 | |
}, | |
"id": 12, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"expr": "dnsdist_latency_avg1000{instance=~\"$instance\"}", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 4, | |
"legendFormat": "{{ instance }}", | |
"metric": "pdns_recursor_all_outqueries", | |
"refId": "C", | |
"step": 2400 | |
} | |
], | |
"title": "response latency of the last 1K packets", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 13 | |
}, | |
"id": 23, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"expr": "sum(rate(dnsdist_real_memory_usage{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{$instance}", | |
"refId": "C", | |
"step": 600 | |
} | |
], | |
"title": "Memory Usage $instance", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 21 | |
}, | |
"id": 9, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "8.5.0", | |
"targets": [ | |
{ | |
"expr": "sum(rate(dnsdist_cpu_sys_msec{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "System mode", | |
"refId": "C", | |
"step": 600 | |
}, | |
{ | |
"expr": "sum(rate(dnsdist_cpu_user_msec{instance=~\"$instance\"}[5m]))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "User mode", | |
"refId": "E", | |
"step": 600 | |
} | |
], | |
"title": "CPU msec $instance", | |
"type": "timeseries" | |
} | |
], | |
"refresh": "30s", | |
"schemaVersion": 36, | |
"style": "dark", | |
"tags": [ | |
"prometheus", | |
"powerdns" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"definition": "label_values(dnsdist_uptime, instance)", | |
"hide": 0, | |
"includeAll": true, | |
"label": "instance", | |
"multi": true, | |
"name": "instance", | |
"options": [], | |
"query": { | |
"query": "label_values(dnsdist_uptime, instance)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "3ttgULw7k" | |
}, | |
"definition": "label_values(dnsdist_server_drops,address)", | |
"hide": 0, | |
"includeAll": true, | |
"label": "address", | |
"multi": true, | |
"name": "address", | |
"options": [], | |
"query": { | |
"query": "label_values(dnsdist_server_drops,address)", | |
"refId": "Prometheus-address-Variable-Query" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-15m", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"timezone": "browser", | |
"title": "dnsdist dashboard", | |
"uid": "Qe0eU1mMz", | |
"version": 7, | |
"weekStart": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment