Skip to content

Commit

Permalink
Adapt "Upstream DNS Requests" panel
Browse files Browse the repository at this point in the history
Node Local DNS is a thin wrapper of CoreDNS. However, it uses CoreDNS
1.10 for now, while the regular CoreDNS deployed in the shoot clusters
is 1.11 at the moment. DNS upstream-related metrics from CoreDNS 1.10
were deprecated in 1.11 in favor of newer ones. In consequence, the
DNS Upstream panel need to be adapted to consider both metrics.

Co-authored-by: Istvan Zoltan Ballok <[email protected]>
  • Loading branch information
vicwicker and istvanballok committed Jul 4, 2024
1 parent 9cdbf27 commit dd41d37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@
"targets": [
{
"exemplar": false,
"expr": "sum(rate(coredns_proxy_request_duration_seconds_count{job=~\"$job\", pod=~\"$pod\", proxy_name=\"forward\"}[$__rate_interval])) by (to)",
"expr": "sum(rate(coredns_proxy_request_duration_seconds_count{job=~\"$job\", pod=~\"$pod\", proxy_name=\"forward\"}[$__rate_interval]) or rate(coredns_forward_requests_total{job=~\"$job\", pod=~\"$pod\"}[$__rate_interval])) by (to)",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down

0 comments on commit dd41d37

Please sign in to comment.