Coredns module
edit
A newer version is available. Check out the latest documentation.
Coredns module
editThis is the CoreDNS module. The CoreDNS module collects metrics from the CoreDNS prometheus exporter endpoint.
The default metricset is stats
.
Compatibility
editThe CoreDNS module is tested with CoreDNS 1.5.0
Dashboard
editThe CoreDNS module comes with a predefined dashboard. For example:

The Coredns module supports the standard configuration options that are described in Modules. Here is an example configuration:
metricbeat.modules: - module: coredns metricsets: ["stats"] period: 10s hosts: ["localhost:9153"]
The following metricsets are available: