1614 lines
42 KiB
JSON
1614 lines
42 KiB
JSON
{
|
||
"apiVersion": "dashboard.grafana.app/v1beta1",
|
||
"kind": "Dashboard",
|
||
"metadata": {
|
||
"name": "6edd697a-1ab7-41b5-94d1-57e2b7121217"
|
||
},
|
||
"spec": {
|
||
"annotations": {
|
||
"list": [
|
||
{
|
||
"builtIn": 1,
|
||
"datasource": {
|
||
"type": "grafana",
|
||
"uid": "-- Grafana --"
|
||
},
|
||
"enable": true,
|
||
"hide": true,
|
||
"iconColor": "rgba(0, 211, 255, 1)",
|
||
"name": "Annotations \u0026 Alerts",
|
||
"type": "dashboard"
|
||
}
|
||
]
|
||
},
|
||
"editable": true,
|
||
"fiscalYearStartMonth": 0,
|
||
"graphTooltip": 0,
|
||
"links": [],
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 25,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": true,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "percentunit"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"id": 2,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "(\n sum(increase(unbound_cache_hits_total[15m])) +\n sum(increase(redis_keyspace_hits_total[15m]))\n)\n/\n(\n sum(increase(unbound_cache_hits_total[15m])) +\n sum(increase(unbound_cache_misses_total[15m])) +\n sum(increase(redis_keyspace_hits_total[15m])) +\n sum(increase(redis_keyspace_misses_total[15m]))\n)",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Overall Cache Hit Rate (Unbound + Redis)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 8
|
||
},
|
||
"id": 3,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(unbound_cache_hits_total[5m]))",
|
||
"legendFormat": "Hits/s",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "sum(rate(unbound_cache_misses_total[5m]))",
|
||
"legendFormat": "Misses/s",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "Unbound – Cache Hits vs Misses",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 8
|
||
},
|
||
"id": 4,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "rate(redis_keyspace_hits_total[5m])",
|
||
"legendFormat": "Hits/s",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "rate(redis_keyspace_misses_total[5m])",
|
||
"legendFormat": "Misses/s",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "Redis – Keyspace Hits vs Misses",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 16
|
||
},
|
||
"id": 5,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "unbound_recursion_time_seconds_avg",
|
||
"legendFormat": "Avg Recursion Time",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Resolver Pressure (Average Recursion Time, seconds)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 16
|
||
},
|
||
"id": 6,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "redis_used_memory_bytes",
|
||
"legendFormat": "Used Memory",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "rate(redis_evicted_keys_total[5m])",
|
||
"legendFormat": "Evicted/s",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "rate(redis_expired_keys_total[5m])",
|
||
"legendFormat": "Expired/s",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"title": "Redis – Memory \u0026 Key Turnover",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 23
|
||
},
|
||
"id": 7,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "rate(redis_commands_processed_total[5m])",
|
||
"legendFormat": "OPS/sec",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Redis – Instantaneous OPS/sec",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 29
|
||
},
|
||
"id": 50,
|
||
"panels": [],
|
||
"title": "Unbound Query Insights",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "never",
|
||
"showValues": false,
|
||
"spanNulls": true,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 40
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "reqps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 30
|
||
},
|
||
"id": 51,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(unbound_queries_total[5m]))",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Unbound Queries per Second",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineStyle": {
|
||
"fill": "solid"
|
||
},
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "never",
|
||
"showValues": false,
|
||
"spanNulls": true,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 0.1
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 0.2
|
||
}
|
||
]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 30
|
||
},
|
||
"id": 52,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"editorMode": "code",
|
||
"expr": "avg(unbound_recursion_time_seconds_avg)",
|
||
"instant": true,
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Average Recursion Time",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"footer": {
|
||
"reducers": []
|
||
},
|
||
"inspect": false
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "reqps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 8,
|
||
"x": 0,
|
||
"y": 37
|
||
},
|
||
"id": 53,
|
||
"options": {
|
||
"cellHeight": "sm",
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (type) (rate(unbound_query_types_total[5m]))",
|
||
"format": "table",
|
||
"instant": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Query Types (QPS)",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"renameByName": {
|
||
"Time": "Time",
|
||
"Value": "QPS",
|
||
"type": "Query Type"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"footer": {
|
||
"reducers": []
|
||
},
|
||
"inspect": false
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "reqps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 37
|
||
},
|
||
"id": 54,
|
||
"options": {
|
||
"cellHeight": "sm",
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (rcode) (rate(unbound_answer_rcodes_total[5m]))",
|
||
"format": "table",
|
||
"instant": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Response Codes (QPS)",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"renameByName": {
|
||
"Time": "Time",
|
||
"Value": "QPS",
|
||
"rcode": "RCODE"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "loki",
|
||
"uid": "ef1qnibjxb5z4a"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"footer": {
|
||
"reducers": []
|
||
},
|
||
"inspect": false
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "short"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 44
|
||
},
|
||
"id": 56,
|
||
"options": {
|
||
"cellHeight": "sm",
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"direction": "backward",
|
||
"editorMode": "code",
|
||
"expr": "topk(10, sum by (domain) (count_over_time({job=\"unbound\"} | pattern \"\u003c_\u003e \u003c_\u003e reply: \u003cclient\u003e \u003cdomain\u003e \u003cqtype\u003e \u003cclass\u003e \u003crcode\u003e \u003cduration\u003e \u003ccached\u003e \u003canswer_len\u003e\" [5m])))",
|
||
"queryType": "instant",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Top Domains (5m, Loki)",
|
||
"transformations": [
|
||
{
|
||
"id": "labelsToFields",
|
||
"options": {
|
||
"mode": "columns"
|
||
}
|
||
},
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"renameByName": {
|
||
"Time": "Time",
|
||
"Value": "Count",
|
||
"domain": "Domain"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "loki",
|
||
"uid": "ef1qnibjxb5z4a"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 44
|
||
},
|
||
"id": 57,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableInfiniteScrolling": false,
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": true,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": true
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "{job=\"unbound\"} | pattern \"\u003c_\u003e \u003c_\u003e reply: \u003cclient\u003e \u003cdomain\u003e \u003cqtype\u003e \u003cclass\u003e \u003crcode\u003e \u003cduration\u003e \u003ccached\u003e \u003canswer_len\u003e\"",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Live Unbound Replies",
|
||
"type": "logs"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 52
|
||
},
|
||
"id": 70,
|
||
"panels": [],
|
||
"title": "Advanced Resolver Health",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 15,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "never",
|
||
"showValues": false,
|
||
"spanNulls": true,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "percentunit"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 53
|
||
},
|
||
"id": 71,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (instance) (rate(unbound_cache_hits_total[5m])) /\n(\n sum by (instance) (rate(unbound_cache_hits_total[5m])) +\n sum by (instance) (rate(unbound_cache_misses_total[5m]))\n)",
|
||
"legendFormat": "{{instance}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Unbound Cache Hit Ratio by Instance",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 2,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": true,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 53
|
||
},
|
||
"id": 72,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "quantile_over_time(0.5, unbound_recursion_time_seconds_avg[5m])",
|
||
"legendFormat": "p50",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "quantile_over_time(0.95, unbound_recursion_time_seconds_avg[5m])",
|
||
"legendFormat": "p95",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"expr": "quantile_over_time(0.99, unbound_recursion_time_seconds_avg[5m])",
|
||
"legendFormat": "p99",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"title": "Recursion Time Quantiles",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "reqps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 60
|
||
},
|
||
"id": 73,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum by (rcode) (rate(unbound_answer_rcodes_total{rcode!=\"NOERROR\"}[5m]))",
|
||
"legendFormat": "{{rcode}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Unbound Error RCODEs",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "percentunit"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 60
|
||
},
|
||
"id": 74,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(unbound_answer_rcodes_total{rcode=\"NXDOMAIN\"}[5m])) / sum(rate(unbound_queries_total[5m]))",
|
||
"legendFormat": "NXDOMAIN %",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "sum(rate(unbound_answer_rcodes_total{rcode=\"SERVFAIL\"}[5m])) / sum(rate(unbound_queries_total[5m]))",
|
||
"legendFormat": "SERVFAIL %",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "NXDOMAIN vs SERVFAIL Rate",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "ff1qkncht70n4c"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"barWidthFactor": 0.6,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 2,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"showValues": false,
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Memory"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
},
|
||
{
|
||
"id": "custom.axisPlacement",
|
||
"value": "right"
|
||
},
|
||
{
|
||
"id": "custom.axisLabel",
|
||
"value": "Memory"
|
||
},
|
||
{
|
||
"id": "custom.hideFrom",
|
||
"value": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 67
|
||
},
|
||
"id": 76,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"hideZeros": false,
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "12.2.1",
|
||
"targets": [
|
||
{
|
||
"expr": "sum(rate(process_cpu_seconds_total{job=\"unbound\"}[5m]))",
|
||
"legendFormat": "CPU (s/s)",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"expr": "sum(process_resident_memory_bytes{job=\"unbound\"})",
|
||
"legendFormat": "Memory",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "Unbound Process CPU \u0026 Memory",
|
||
"type": "timeseries"
|
||
}
|
||
],
|
||
"preload": false,
|
||
"refresh": "10s",
|
||
"schemaVersion": 42,
|
||
"tags": [
|
||
"unbound",
|
||
"redis",
|
||
"dns",
|
||
"loki"
|
||
],
|
||
"templating": {
|
||
"list": []
|
||
},
|
||
"time": {
|
||
"from": "now-5m",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {},
|
||
"timezone": "browser",
|
||
"title": "Unbound Resolver Overview"
|
||
}
|
||
} |