mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
completed metrics of cache and forward (#3962)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
@@ -100,6 +100,8 @@ If monitoring is enabled (via the \fIprometheus\fP plugin) then the following me
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_cache_misses_total{server}\fR - Counter of cache misses.
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_cache_prefetch_total{server}\fR - Counter of cache has prefetched a cached item.
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_cache_drops_total{server}\fR - Counter of responses excluded from the cache due to request/response question name mismatch.
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_cache_served_stale_total{server}\fR - Counter of requests served from stale cache entries.
|
||||
|
||||
@@ -163,9 +163,11 @@ The read timeout is static at 2s.
|
||||
If monitoring is enabled (via the \fIprometheus\fP plugin) then the following metric are exported:
|
||||
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_forward_request_duration_seconds{to}\fR - duration per upstream interaction.
|
||||
\fB\fCcoredns_forward_requests_total{to}\fR - Counter of requests made per upstream.
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_forward_requests_total{to}\fR - query count per upstream.
|
||||
\fB\fCcoredns_forward_responses_total{to}\fR - Counter of responses made per upstream.
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_forward_request_duration_seconds{to}\fR - duration per upstream interaction.
|
||||
.IP \(bu 4
|
||||
\fB\fCcoredns_forward_responses_total{to, rcode}\fR - count of RCODEs per upstream.
|
||||
.IP \(bu 4
|
||||
|
||||
Reference in New Issue
Block a user