Files
2026-11-22 14:21:54 +01:00

27 lines
1.9 KiB
JSON

{
"title": "EasyDNS",
"uid": "easydns",
"schemaVersion": 39,
"time": { "from": "now-6h", "to": "now" },
"templating": { "list": [ { "name": "DS", "type": "datasource", "query": "prometheus" } ] },
"panels": [
{ "type": "timeseries", "title": "Queries per second", "gridPos": {"x":0,"y":0,"w":12,"h":8},
"targets": [ { "expr": "sum by (transport) (rate(dns_queries_total[1m]))" } ] },
{ "type": "timeseries", "title": "Responses by RCODE", "gridPos": {"x":12,"y":0,"w":12,"h":8},
"targets": [ { "expr": "sum by (rcode) (rate(dns_responses_total[1m]))" } ] },
{ "type": "stat", "title": "Cache hit rate", "gridPos": {"x":0,"y":8,"w":6,"h":4},
"targets": [ { "expr": "rate(dns_cache_hits_total[5m]) / (rate(dns_cache_hits_total[5m]) + rate(dns_cache_misses_total[5m]))" } ] },
{ "type": "timeseries", "title": "Latency p50/p95/p99", "gridPos": {"x":6,"y":8,"w":18,"h":8},
"targets": [
{ "expr": "histogram_quantile(0.5, rate(dns_query_duration_seconds_bucket[5m]))", "legendFormat": "p50" },
{ "expr": "histogram_quantile(0.95, rate(dns_query_duration_seconds_bucket[5m]))", "legendFormat": "p95" },
{ "expr": "histogram_quantile(0.99, rate(dns_query_duration_seconds_bucket[5m]))", "legendFormat": "p99" } ] },
{ "type": "timeseries", "title": "Answer sources", "gridPos": {"x":0,"y":16,"w":12,"h":8},
"targets": [ { "expr": "sum by (source) (rate(dns_answers_by_source_total[1m]))" } ] },
{ "type": "table", "title": "Zones", "gridPos": {"x":12,"y":16,"w":12,"h":8},
"targets": [ { "expr": "dns_zone_serial" }, { "expr": "dns_zone_expired" } ] },
{ "type": "timeseries", "title": "Blocked / rate limited / DNSSEC bogus", "gridPos": {"x":0,"y":24,"w":24,"h":8},
"targets": [ { "expr": "rate(dns_blocked_total[5m])" }, { "expr": "rate(dns_rate_limited_total[5m])" }, { "expr": "rate(dns_dnssec_bogus_total[5m])" } ] }
]
}