[🤖] feat(k8s-system-coredns): add cache hit rate and forward request latency panels - #180
Open
raman1236 wants to merge 1 commit into
Open
[🤖] feat(k8s-system-coredns): add cache hit rate and forward request latency panels#180raman1236 wants to merge 1 commit into
raman1236 wants to merge 1 commit into
Conversation
…hboard Add two new panels to the CoreDNS dashboard that surface derived metrics not currently visible: 1. Cache Hit Rate %: Shows the percentage of DNS queries served from cache (hits / (hits + misses) * 100). The existing Cache Hits/Misses panel shows raw rates but operators need the derived ratio to evaluate cache effectiveness and tune TTL/cache-size settings. 2. Forward Request Latency: Shows p99 and p50 upstream DNS resolution latency using histogram_quantile on coredns_proxy_request_duration_seconds_bucket. The existing panel only shows forward request count, but latency to upstream resolvers is critical for diagnosing slow DNS resolution. Both panels are placed directly below the existing cache section for logical grouping. Dashboard version bumped from 22 to 23.
Author
|
Friendly ping — this PR adds cache hit rate and forward request latency panels to the CoreDNS dashboard. Would appreciate a review when convenient. Thanks! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add two new panels to the CoreDNS dashboard that surface derived metrics currently not visible, placed directly below the existing cache section.
New Panels
1. CoreDNS - Cache Hit Rate %
Shows the percentage of DNS queries served from cache:
Why: The existing "Cache Hits / Misses" panel shows raw hit/miss rates, but operators need the derived ratio to evaluate cache effectiveness and tune
cache-sizeand TTL settings. A drop in cache hit rate is a key signal for DNS performance degradation.2. CoreDNS - Forward Request Latency
Shows p99 and p50 upstream DNS resolution latency:
Why: The existing dashboard shows forward request count but not latency. When CoreDNS forwards queries to upstream resolvers, latency directly impacts DNS resolution time for pods. This panel helps diagnose slow upstream resolvers, network issues, or resolver overload.
Changes
Checklist