CoreDNS is a DNS server written in Go language. It can be used in a multitude of environments because of its flexibility. CoreDNS is licensed under the Apache License Version 2, and completely open source.

Validate

Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.

Metrics

OpsRamp MetricMetric Display NameUnit
kube_coredns_response_code_count

Rate of response status codes
CoreDNS Response Code Rate
kube_coredns_cache_hits

Rate of cache hits
Cache Hits Rate
kube_coredns_cache_misses

Rate of cache misses
Cache Misses Rate
kube_coredns_cache_size

Number of elements in the cache
Cache Size
kube_coredns_dns_request_count

Rate of DNS requests made per zone, protocol and family
DNS Requests Rate Per Protocol
kube_coredns_dns_request_type_count

Rate of DNS requests per type, per zone
DNS Requests Rate Per Type
kube_coredns_dns_request_duration_seconds

Average time taken by each request
Average Request Timeseconds
kube_coredns_forward_request_duration_seconds

Average time taken by each forward request
Average Forward Request Timeseconds
kube_coredns_forward_request_count

Rate of requests made per upstream
Upstream Request Rate
kube_coredns_forward_response_rcode_count

Rate of RCODEs per upstream
RCODEs Upstream Rate
kube_coredns_forward_healthcheck_failure_count

Number of failed health checks per upstream
Failed Health Checks Number
kube_coredns_forward_healthcheck_broken_count

Count of when all upstreams are unhealthy
Health Checks Broken Counter
kube_coredns_forward_max_concurrent_reject_count

Count of the number of queries rejected because the number of concurrent queries were at maximum
Max Conccurrent Rejects Rate
kube_coredns_health_request_duration_seconds

Average duration to process a HTTP query to the local /health endpoint
Average Health Endpoint Durationseconds
kube_coredns_dns_request_size

Average size of the request
Average Request Sizebytes
kube_coredns_dns_response_size

Average size of the response
Average Response Sizebytes
kube_coredns_panic_count

Rate of panics
Panic Rate
kube_coredns_go_gc_duration_seconds

Average of the GC invocation durations
Average GC Invocation Durationsseconds
kube_coredns_go_gc_duration_seconds_quantile

GC invocation durations Quantiles
GC Invocation Durations QuantilesQuantile
kube_coredns_go_goroutines

Number of goroutines that currently exist
GORoutines Count
kube_coredns_go_memstats_alloc_bytes

Number of bytes allocated and still in use
GO Bytes Allocated And In Usebytes
kube_coredns_go_memstats_alloc_bytes_total

Total number of bytes allocated, even if free
Total GO Bytes Allocatedbytes
kube_coredns_go_memstats_buck_hash_sys_bytes

Number of bytes used by the profiling bucket hash table
Bytes Used By Profiling Bucket Hash Tablebytes
kube_coredns_go_memstats_frees_total

Total number of frees
Total GO Frees
kube_coredns_go_memstats_gc_cpu_fraction

Fraction of this program's available CPU time used by the GC since the program started
GO CPU Time Used By GC
kube_coredns_go_memstats_gc_sys_bytes

Number of bytes used for garbage collection system metadata
GO Bytes Used By GCbytes
kube_coredns_go_memstats_heap_alloc_bytes

Number of heap bytes allocated and still in use
GO Heap Bytes Allocatedbytes
kube_coredns_go_memstats_heap_idle_bytes

Number of heap bytes waiting to be used
GO Heap Idle Bytesbytes
kube_coredns_go_memstats_heap_inuse_bytes

Number of heap bytes that are in use
GO Heap Bytes In Usebytes
kube_coredns_go_memstats_heap_objects

Number of allocated objects
GO Allocated Heap Objects
kube_coredns_go_memstats_heap_released_bytes

Number of heap bytes released to Operating System
GO Heap Bytes Released
kube_coredns_go_memstats_heap_sys_bytes

Number of heap bytes obtained from system
GO Heap Bytes Obtained
kube_coredns_go_memstats_last_gc_time_seconds

Number of seconds since 1970 of last garbage collection
GO GC Seconds Since UNIX Epochseconds
kube_coredns_go_memstats_lookups_total

Rate of number of pointer lookups
GO Pointer Lookups Rate
kube_coredns_go_memstats_mallocs_total

Rate of mallocs
GO Malloc Rate
kube_coredns_go_memstats_mcache_inuse_bytes

Number of bytes in use by mcache structures
GO Bytes Used MCachebytes
kube_coredns_go_memstats_mcache_sys_bytes

Number of bytes used for mcache structures obtained from system
GO MCache System Bytesbytes
kube_coredns_go_memstats_mspan_inuse_bytes

Number of bytes in use by mspan structures
GO Bytes Used MSpanbytes
kube_coredns_go_memstats_mspan_sys_bytes

Number of bytes used for mspan structures obtained from system
GO MSpan System Bytesbytes
kube_coredns_go_memstats_next_gc_bytes

Number of heap bytes when next garbage collection will take place
GO Next GC Bytesbytes
kube_coredns_go_memstats_other_sys_bytes

Number of bytes used for other system allocations
GO Other System Allocationsbytes
kube_coredns_go_memstats_stack_inuse_bytes

Number of bytes in use by the stack allocator
GO Bytes Used Stack Allocatorbytes
kube_coredns_go_memstats_stack_sys_bytes

Number of bytes obtained from system for stack allocator
GO Stack Allocator System Bytesbytes
kube_coredns_go_memstats_sys_bytes

Number of bytes obtained from system
GO System Bytesbytes
kube_coredns_go_threads

Number of OS threads created
GO Threads
kube_coredns_plugin_enabled

Indicates whether a plugin is enabled on per server and zone basis
CoreDNS Plugins Enabled
kube_coredns_process_cpu_seconds_total

Rate of user and system CPU time spent
Process CPU Rateseconds
kube_coredns_process_max_fds

Maximum number of open file descriptors
Process Max Open File Descriptors
kube_coredns_process_open_fds

Number of open file descriptors
Process Open File Descriptors
kube_coredns_process_resident_memory_bytes

Size of Resident memory
Process Resident Memorybytes
kube_coredns_process_virtual_memory_bytes

Size of virtual memory
Process Virtual Memorybytes