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 NameUnitDescription
kube_coredns_response_code_countCoreDNS Response Code RateRate of response status codes
kube_coredns_cache_hitsCache Hits RateRate of cache hits
kube_coredns_cache_missesCache Misses RateRate of cache misses
kube_coredns_cache_sizeCache SizeNumber of elements in the cache
kube_coredns_dns_request_countDNS Requests Rate Per ProtocolRate of DNS requests made per zone, protocol and family
kube_coredns_dns_request_type_countDNS Requests Rate Per TypeRate of DNS requests per type, per zone
kube_coredns_dns_request_duration_secondsAverage Request TimesecondsAverage time taken by each request
kube_coredns_forward_request_duration_secondsAverage Forward Request TimesecondsAverage time taken by each forward request
kube_coredns_forward_request_countUpstream Request RateRate of requests made per upstream
kube_coredns_forward_response_rcode_countRCODEs Upstream RateRate of RCODEs per upstream
kube_coredns_forward_healthcheck_failure_countFailed Health Checks NumberNumber of failed health checks per upstream
kube_coredns_forward_healthcheck_broken_countHealth Checks Broken CounterCount of when all upstreams are unhealthy
kube_coredns_forward_max_concurrent_reject_countMax Conccurrent Rejects RateCount of the number of queries rejected because the number of concurrent queries were at maximum
kube_coredns_health_request_duration_secondsAverage Health Endpoint DurationsecondsAverage duration to process a HTTP query to the local /health endpoint
kube_coredns_dns_request_sizeAverage Request SizebytesAverage size of the request
kube_coredns_dns_response_sizeAverage Response SizebytesAverage size of the response
kube_coredns_panic_countPanic RateRate of panics
kube_coredns_go_gc_duration_secondsAverage GC Invocation DurationssecondsAverage of the GC invocation durations
kube_coredns_go_gc_duration_seconds_quantileGC Invocation Durations QuantilesQuantileGC invocation durations Quantiles
kube_coredns_go_goroutinesGORoutines CountNumber of goroutines that currently exist
kube_coredns_go_memstats_alloc_bytesGO Bytes Allocated And In UsebytesNumber of bytes allocated and still in use
kube_coredns_go_memstats_alloc_bytes_totalTotal GO Bytes AllocatedbytesTotal number of bytes allocated, even if free
kube_coredns_go_memstats_buck_hash_sys_bytesBytes Used By Profiling Bucket Hash TablebytesNumber of bytes used by the profiling bucket hash table
kube_coredns_go_memstats_frees_totalTotal GO FreesTotal number of frees
kube_coredns_go_memstats_gc_cpu_fractionGO CPU Time Used By GCFraction of this program's available CPU time used by the GC since the program started
kube_coredns_go_memstats_gc_sys_bytesGO Bytes Used By GCbytesNumber of bytes used for garbage collection system metadata
kube_coredns_go_memstats_heap_alloc_bytesGO Heap Bytes AllocatedbytesNumber of heap bytes allocated and still in use
kube_coredns_go_memstats_heap_idle_bytesGO Heap Idle BytesbytesNumber of heap bytes waiting to be used
kube_coredns_go_memstats_heap_inuse_bytesGO Heap Bytes In UsebytesNumber of heap bytes that are in use
kube_coredns_go_memstats_heap_objectsGO Allocated Heap ObjectsNumber of allocated objects
kube_coredns_go_memstats_heap_released_bytesGO Heap Bytes ReleasedNumber of heap bytes released to Operating System
kube_coredns_go_memstats_heap_sys_bytesGO Heap Bytes ObtainedNumber of heap bytes obtained from system
kube_coredns_go_memstats_last_gc_time_secondsGO GC Seconds Since UNIX EpochsecondsNumber of seconds since 1970 of last garbage collection
kube_coredns_go_memstats_lookups_totalGO Pointer Lookups RateRate of number of pointer lookups
kube_coredns_go_memstats_mallocs_totalGO Malloc RateRate of mallocs
kube_coredns_go_memstats_mcache_inuse_bytesGO Bytes Used MCachebytesNumber of bytes in use by mcache structures
kube_coredns_go_memstats_mcache_sys_bytesGO MCache System BytesbytesNumber of bytes used for mcache structures obtained from system
kube_coredns_go_memstats_mspan_inuse_bytesGO Bytes Used MSpanbytesNumber of bytes in use by mspan structures
kube_coredns_go_memstats_mspan_sys_bytesGO MSpan System BytesbytesNumber of bytes used for mspan structures obtained from system
kube_coredns_go_memstats_next_gc_bytesGO Next GC BytesbytesNumber of heap bytes when next garbage collection will take place
kube_coredns_go_memstats_other_sys_bytesGO Other System AllocationsbytesNumber of bytes used for other system allocations
kube_coredns_go_memstats_stack_inuse_bytesGO Bytes Used Stack AllocatorbytesNumber of bytes in use by the stack allocator
kube_coredns_go_memstats_stack_sys_bytesGO Stack Allocator System BytesbytesNumber of bytes obtained from system for stack allocator
kube_coredns_go_memstats_sys_bytesGO System BytesbytesNumber of bytes obtained from system
kube_coredns_go_threadsGO ThreadsNumber of OS threads created
kube_coredns_plugin_enabledCoreDNS Plugins EnabledIndicates whether a plugin is enabled on per server and zone basis
kube_coredns_process_cpu_seconds_totalProcess CPU RatesecondsRate of user and system CPU time spent
kube_coredns_process_max_fdsProcess Max Open File DescriptorsMaximum number of open file descriptors
kube_coredns_process_open_fdsProcess Open File DescriptorsNumber of open file descriptors
kube_coredns_process_resident_memory_bytesProcess Resident MemorybytesSize of Resident memory
kube_coredns_process_virtual_memory_bytesProcess Virtual MemorybytesSize of virtual memory