IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Coredns moduleedit
This is the CoreDNS module. The CoreDNS module collects metrics from the CoreDNS prometheus exporter endpoint.
The default metricset is stats
.
Compatibilityedit
The CoreDNS module is tested with CoreDNS 1.5.0
Dashboardedit
The CoreDNS module comes with a predefined dashboard. For example:

Example configurationedit
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"]
Metricsetsedit
The following metricsets are available: