coredns moduleedit

This is the CoreDNS module. The CoreDNS module collects metrics from the CoreDNS prometheus exporter endpoint.

The default metricset is stats.


The CoreDNS module is tested with CoreDNS 1.5.0


The CoreDNS module comes with a predefined dashboard. For example:

metricbeat coredns dashboard

Example configurationedit

The coredns module supports the standard configuration options that are described in Specify which modules to run. Here is an example configuration:

- module: coredns
  metricsets: ["stats"]
  period: 10s
  hosts: ["localhost:9153"]


The following metricsets are available: