prometheus-operator: Fix the CoreDNS dashboard
Remove the old outdated queries and update it with new metrics.
@@ -80,7 +80,7 @@ data:
"steppedLine": false,
"targets": [
{
- "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m])) by (proto)",
+ "expr": "sum(rate(coredns_dns_requests_total{instance=~\"$instance\"}[5m])) by (proto)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{`{{proto}}`}}",
@@ -88,7 +88,7 @@ data:
"step": 60
},
{
- "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m]))",
+ "expr": "sum(rate(coredns_dns_requests_total{instance=~\"$instance\"}[5m]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
@@ -183,7 +183,7 @@ data:
"steppedLine": false,
"targets": [
{
- "expr": "sum(rate(coredns_dns_request_type_count_total{instance=~\"$instance\"}[5m])) by (type)",
+ "expr": "sum(rate(coredns_dns_requests_total{instance=~\"$instance\"}[5m])) by (type)",
"intervalFactor": 2,
"legendFormat": "{{`{{type}}`}}",
"refId": "A",
@@ -273,14 +273,14 @@ data:
"steppedLine": false,
"targets": [
{
- "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m])) by (zone)",
+ "expr": "sum(rate(coredns_dns_requests_total{instance=~\"$instance\"}[5m])) by (zone)",
"intervalFactor": 2,
"legendFormat": "{{`{{zone}}`}}",
"refId": "A",
"step": 60
},
{
- "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m]))",
+ "expr": "sum(rate(coredns_dns_requests_total{instance=~\"$instance\"}[5m]))",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "B",
@@ -377,7 +377,7 @@ data:
"step": 40
},
{
- "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m]))",
+ "expr": "sum(rate(coredns_dns_requests_total{instance=~\"$instance\"}[5m]))",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "B",
@@ -686,7 +686,7 @@ data:
"steppedLine": false,
"targets": [
{
- "expr": "sum(rate(coredns_dns_response_rcode_count_total{instance=~\"$instance\"}[5m])) by (rcode)",
+ "expr": "sum(rate(coredns_dns_responses_total{instance=~\"$instance\"}[5m])) by (rcode)",
"intervalFactor": 2,
"legendFormat": "{{`{{rcode}}`}}",
"refId": "A",
@@ -1110,7 +1110,7 @@ data:
"steppedLine": false,
"targets": [
{
- "expr": "sum(coredns_cache_size{instance=~\"$instance\"}) by (type)",
+ "expr": "sum(coredns_cache_entries{instance=~\"$instance\"}) by (type)",
"intervalFactor": 2,
"legendFormat": "{{`{{type}}`}}",
"refId": "A",
