Back to Beats

Coredns module [metricbeat-module-coredns]

docs/reference/metricbeat/metricbeat-module-coredns.md

9.4.01.1 KB
Original Source

% This file is generated! See metricbeat/scripts/mage/docs_collector.go

Coredns module [metricbeat-module-coredns]

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

The default metricset is stats.

Compatibility [_compatibility_13]

The CoreDNS module is tested with CoreDNS 1.5.0

Dashboard [_dashboard_23]

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

Example configuration [_example_configuration]

The Coredns module supports the standard configuration options that are described in Modules. Here is an example configuration:

yaml
metricbeat.modules:
- module: coredns
  metricsets: ["stats"]
  period: 10s
  hosts: ["localhost:9153"]

Metricsets [_metricsets]

The following metricsets are available: