CoreDNS integration metrics
The official Datadog integration for monitoring CoreDNS. It collects 119 metrics.
Official summary
CoreDNS collects DNS metrics in Kubernetes.
Metric types
- count (occurrences in the interval): 83
- gauge (value at a point in time): 36
Metrics
Descriptions are the official definitions, unedited.
| Metric | Type | Unit |
|---|---|---|
coredns.[OpenMetrics V1] Counter of DNS requests being allowed. | count | request |
coredns.[OpenMetrics V2] Counter of DNS requests being allowed. | count | request |
coredns.[OpenMetrics V1] Counter of DNS requests being blocked. | count | request |
coredns.[OpenMetrics V2] Counter of DNS requests being blocked. | count | request |
coredns.[OpenMetrics V1] Counter of requests that did autopath. | count | request |
coredns.[OpenMetrics V2] Counter of requests that did autopath. | count | request |
coredns.[OpenMetrics V1 and V2] A metric with a constant '1' value labeled by version, revision, and goversion from which CoreDNS was built. | gauge | - |
coredns.[OpenMetrics V1] Counter of responses excluded from the cache due to request/response question name mismatch. | count | response |
coredns.[OpenMetrics V2] Counter of responses excluded from the cache due to request/response question name mismatch. | count | response |
coredns.[OpenMetrics V1] Counter of cache hits by cache type | count | hit |
coredns.[OpenMetrics V2] Counter of cache hits by cache type | count | hit |
coredns.[OpenMetrics V1] Counter of cache misses. | count | miss |
coredns.[OpenMetrics V2] Counter of cache misses. | count | miss |
coredns.[OpenMetrics V1] The number of time the cache has prefetched a cached item. | count | - |
coredns.[OpenMetrics V2] The number of time the cache has prefetched a cached item. | count | - |
coredns.[OpenMetrics V1] Counter of cache requests. | count | request |
coredns.[OpenMetrics V2] Counter of cache requests. | count | request |
coredns.[OpenMetrics V1 and V2] | gauge | entry |
coredns.[OpenMetrics V1] Counter of requests served from stale cache entries. | count | request |
coredns.[OpenMetrics V2] Counter of requests served from stale cache entries. | count | request |
coredns.[OpenMetrics V1] Counter of cache hits. | count | hit |
coredns.[OpenMetrics V2] Counter of cache hits. | count | hit |
coredns.[OpenMetrics V1] Counter of cache misses. | count | miss |
coredns.[OpenMetrics V2] Counter of cache misses. | count | miss |
coredns.[OpenMetrics V1 and V2] Total elements in the cache, type is signature. | gauge | - |
coredns.[OpenMetrics V1] counter of when all upstreams are unhealthy | count | entry |
coredns.[OpenMetrics V2] counter of when all upstreams are unhealthy | count | entry |
coredns.[OpenMetrics V1] number of failed health checks per upstream | count | entry |
coredns.[OpenMetrics V2] number of failed health checks per upstream | count | entry |
coredns.[OpenMetrics V1] Counter of the number of queries rejected because the concurrent queries were at maximum. | count | query |
coredns.[OpenMetrics V2] Counter of the number of queries rejected because the concurrent queries were at maximum. | count | query |
coredns.[OpenMetrics V1] query count per upstream | count | request |
coredns.[OpenMetrics V2] query count per upstream | count | request |
coredns.[OpenMetrics V2] duration per upstream interaction | count | second |
coredns.[OpenMetrics V1 and V2] duration per upstream interaction | count | second |
coredns.[OpenMetrics V1 and V2] duration per upstream interaction | count | second |
coredns.[OpenMetrics V1] count of RCODEs per upstream | count | response |
coredns.[OpenMetrics V2] count of RCODEs per upstream | count | response |
coredns.[OpenMetrics V1 and V2] number of sockets open per upstream | gauge | connection |
coredns.[OpenMetrics V1 and V2] Count of the GC invocation durations. | count | second |
coredns.[OpenMetrics V1 and V2] Quantiles of the GC invocation durations. | gauge | second |
coredns.[OpenMetrics V1 and V2] Sum of the GC invocation durations. | count | second |
coredns.[OpenMetrics V1 and V2] Number of goroutines that currently exist. | gauge | thread |
coredns.[OpenMetrics V1 and V2] Information about the Go environment. | gauge | - |
coredns.[OpenMetrics V1 and V2] Number of bytes allocated and still in use. | gauge | byte |
coredns.[OpenMetrics V1] Total number of bytes allocated even if freed. | count | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes used by the profiling bucket hash table. | gauge | byte |
coredns.[OpenMetrics V1] Total number of frees. | count | - |
coredns.[OpenMetrics V2] Total number of frees. | count | - |
coredns.[OpenMetrics V1 and V2] CPU taken up by GC | gauge | percent |
coredns.[OpenMetrics V1 and V2] Number of bytes used for garbage collection system metadata. | gauge | byte |
coredns.[OpenMetrics V1 and V2] Bytes allocated to the heap | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of idle bytes in the heap | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of Bytes in the heap | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of objects in the heap | gauge | object |
coredns.[OpenMetrics V1 and V2] Number of bytes released to the system in the last gc | gauge | byte |
coredns.[OpenMetrics V2] Count of bytes released to the system in the last gc | count | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes used by the heap | gauge | byte |
coredns.[OpenMetrics V1 and V2] Length of last GC | gauge | second |
coredns.[OpenMetrics V1] Number of lookups | count | operation |
coredns.[OpenMetrics V2] Number of lookups | count | operation |
coredns.[OpenMetrics V1] Number of mallocs | count | operation |
coredns.[OpenMetrics V2] Number of mallocs | count | operation |
coredns.[OpenMetrics V1 and V2] Number of bytes in use by mcache structures. | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes used for mcache structures obtained from system. | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes in use by mspan structures. | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes used for mspan structures obtained from system. | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of heap bytes when next garbage collection will take place | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes used for other system allocations | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes in use by the stack allocator | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes obtained from system for stack allocator | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of bytes obtained from system | gauge | byte |
coredns.[OpenMetrics V1 and V2] Number of OS threads created. | gauge | thread |
coredns.[OpenMetrics V1] Query count per upstream. | count | - |
coredns.[OpenMetrics V2] Query count per upstream. | count | - |
coredns.[OpenMetrics V1] Count of RCODEs per upstream. and we are randomly (this always uses the random policy) spraying to an upstream. | count | - |
coredns.[OpenMetrics V2] Count of RCODEs per upstream. and we are randomly (this always uses the random policy) spraying to an upstream. | count | - |
coredns.[OpenMetrics V2] Sample for the histogram of the time (in seconds) each request took. | count | - |
coredns.[OpenMetrics V1 and V2] Count for the histogram of the time (in seconds) each request took. | count | - |
coredns.[OpenMetrics V1 and V2] Sum for the histogram of the time (in seconds) each request took. | count | - |
coredns.[OpenMetrics V1 and V2] The combined number of entries in hosts and Corefile. | gauge | - |
coredns.[OpenMetrics V1 and V2] The timestamp of the last reload of hosts file. | gauge | second |
coredns.[OpenMetrics V1 and V2] | count | entry |
coredns.[OpenMetrics V1 and V2] A metric that indicates whether a plugin is enabled on per server and zone basis. | gauge | - |
coredns.[OpenMetrics V1 and V2] Total user and system CPU time spent in seconds. | count | second |
coredns.[OpenMetrics V2] Count of user and system CPU time spent in seconds. | count | second |
coredns.[OpenMetrics V1 and V2] Maximum number of open file descriptors. | gauge | file |
coredns.[OpenMetrics V1 and V2] Number of open file descriptors. | gauge | file |
coredns.[OpenMetrics V1 and V2] Resident memory size in bytes. | gauge | byte |
coredns.[OpenMetrics V1 and V2] Start time of the process since unix epoch in seconds. | gauge | second |
coredns.[OpenMetrics V1 and V2] Virtual memory size in bytes. | gauge | byte |
coredns.[OpenMetrics V1] query count per upstream. | count | request |
coredns.[OpenMetrics V2] query count per upstream. | count | request |
coredns.[OpenMetrics V2] sample of duration per upstream interaction | count | second |
coredns.[OpenMetrics V1 and V2] duration per upstream interaction | count | second |
coredns.[OpenMetrics V1 and V2] duration per upstream interaction | count | second |
coredns.[OpenMetrics V1] Counts the number of failed reload attempts. | count | - |
coredns.[OpenMetrics V2] Counts the number of failed reload attempts. | count | - |
coredns.[OpenMetrics V1] total query count. | count | request |
coredns.[OpenMetrics V2] total query count. | count | request |
coredns.[OpenMetrics V2] sample duration to process each query | count | second |
coredns.[OpenMetrics V1 and V2] duration to process each query | count | second |
coredns.[OpenMetrics V1 and V2] duration to process each query | count | second |
coredns.[OpenMetrics V2] sample size of the request in bytes | count | byte |
coredns.[OpenMetrics V1 and V2] size of the request in bytes | count | byte |
coredns.[OpenMetrics V1 and V2] size of the request in bytes | count | byte |
coredns.[OpenMetrics V1] counter of queries per zone and type | count | - |
coredns.[OpenMetrics V2] counter of queries per zone and type | count | - |
coredns.[OpenMetrics V1] number of responses per zone and rcode | count | - |
coredns.[OpenMetrics V2] number of responses per zone and rcode | count | - |
coredns.[OpenMetrics V2] sample size of the request in bytes | count | byte |
coredns.[OpenMetrics V1 and V2] size of the request in bytes | count | byte |
coredns.[OpenMetrics V1 and V2] size of the request in bytes | count | byte |
coredns.[OpenMetrics V1] The number of times the Go templating failed. | count | error |
coredns.[OpenMetrics V2] The number of times the Go templating failed. | count | error |
coredns.[OpenMetrics V1] The total number of matched requests by regex. | count | - |
coredns.[OpenMetrics V2] The total number of matched requests by regex. | count | - |
coredns.[OpenMetrics V1] The number of times the templated resource record was invalid and could not be parsed. | count | error |
coredns.[OpenMetrics V2] The number of times the templated resource record was invalid and could not be parsed. | count | error |
Official documentation
Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.