This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
This is the coredns module.
The coredns module supports the standard configuration options that are described in Specify which modules to run. Here is an example configuration:
metricbeat.modules: - module: coredns metricsets: ["stats"] period: 10s hosts: ["localhost:9153"]
The following metricsets are available: