Get metrics from the external DNS service in real time to visualize and monitor DNS metrics collected with the Kubernetes external DNS Prometheus add on.
For more information about external DNS, see the Github repo.
The external DNS check is included in the Datadog Agent package, so you don't need to install anything else on your servers.
Edit the external_dns.d/conf.yaml
file, in the conf.d/
folder at the root of your Agent's configuration directory, to point to your server and port, and to set the masters to monitor. See the sample external_dns.d/conf.yaml for all available configuration options.
If you are using one Datadog Agent pod per Kubernetes worker node, use these example annotations on your external-dns pod to retrieve the data automatically:
apiVersion: v1
kind: Pod
metadata:
annotations:
ad.datadoghq.com/external-dns.check_names: '["external_dns"]'
ad.datadoghq.com/external-dns.init_configs: '[{}]'
ad.datadoghq.com/external-dns.instances: '[{"prometheus_url":"http://%%host%%:7979/metrics", "tags":["externaldns-pod:%%host%%"]}]'
- The
externaldns-pod
tag keeps track of the target DNS pod IP. The other tags are related to the Datadog Agent that is polling the information using the autodiscovery. - The autodiscovery annotations are done on the pod. To deploy, add the annotations to the metadata of the template's specification.
Run the Agent's status
subcommand and look for external_dns
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The external DNS check does not include any events.
See service_checks.json for a list of service checks provided by this integration.
Need help? Contact Datadog support.