Back to External Dns

Available Metrics

docs/monitoring/metrics.md

0.21.09.1 KB
Original Source

Available Metrics

<!-- THIS FILE MUST NOT BE EDITED BY HAND --> <!-- ON NEW METRIC ADDED PLEASE RUN 'make generate-metrics-documentation' --> <!-- markdownlint-disable MD013 -->

All metrics available for scraping are exposed on the /metrics endpoint. The metrics are in the Prometheus exposition format.

To access the metrics:

sh
curl https://localhost:7979/metrics

Supported Metrics

Full metric name is constructed as follows: external_dns_<subsystem>_<name>

NameMetric TypeSubsystemLabelsHelp
build_infoGaugearch, go_version, os, revision, versionA metric with a constant '1' value labeled with 'version' and 'revision' of external_dns and the 'go_version', 'os' and the 'arch' used the build.
consecutive_soft_errorsGaugecontrollerNumber of consecutive soft errors in reconciliation loop.
last_reconcile_timestamp_secondsGaugecontrollerTimestamp of last attempted sync with the DNS provider
last_sync_timestamp_secondsGaugecontrollerTimestamp of last successful sync with the DNS provider
no_op_runs_totalCountercontrollerNumber of reconcile loops ending up with no changes on the DNS provider side.
verified_recordsGaugecontrollerrecord_typeNumber of DNS records that exists both in source and registry (vector).
request_duration_secondsSummaryvechttphandler, scheme, host, path, method, statusThe HTTP request latencies in seconds.
cache_apply_changes_callsCounterproviderNumber of calls to the provider cache ApplyChanges.
cache_records_callsCounterproviderfrom_cacheNumber of calls to the provider cache Records list.
endpoints_totalGaugeregistryNumber of Endpoints in the registry
errors_totalCounterregistryNumber of Registry errors.
recordsGaugeregistryrecord_typeNumber of registry records partitioned by label name (vector).
skipped_records_owner_mismatch_per_syncGaugeregistryrecord_type, owner, foreign_owner, domainNumber of records skipped with owner mismatch for each record type, owner mismatch ID and domain (vector).
deduplicated_endpointsGaugesourcerecord_type, source_typeNumber of endpoints currently removed as duplicates, partitioned by record type and source.
endpoints_totalGaugesourceNumber of Endpoints in all sources
errors_totalCountersourceNumber of Source errors.
invalid_endpointsGaugesourcerecord_type, source_typeNumber of endpoints currently rejected due to invalid configuration, partitioned by record type and source.
recordsGaugesourcerecord_typeNumber of source records partitioned by label name (vector).
adjustendpoints_errors_totalGaugewebhook_providerErrors with AdjustEndpoints method
adjustendpoints_requests_totalGaugewebhook_providerRequests with AdjustEndpoints method
applychanges_errors_totalGaugewebhook_providerErrors with ApplyChanges method
applychanges_requests_totalGaugewebhook_providerRequests with ApplyChanges method
records_errors_totalGaugewebhook_providerErrors with Records method
records_requests_totalGaugewebhook_providerRequests with Records method

Available Go Runtime Metrics

The following Go runtime metrics are available for scraping. Please note that they may change over time and they are OS dependent.

Name
go_gc_duration_seconds
go_gc_gogc_percent
go_gc_gomemlimit_bytes
go_goroutines
go_info
go_memstats_alloc_bytes
go_memstats_alloc_bytes_total
go_memstats_buck_hash_sys_bytes
go_memstats_frees_total
go_memstats_gc_sys_bytes
go_memstats_heap_alloc_bytes
go_memstats_heap_idle_bytes
go_memstats_heap_inuse_bytes
go_memstats_heap_objects
go_memstats_heap_released_bytes
go_memstats_heap_sys_bytes
go_memstats_last_gc_time_seconds
go_memstats_mallocs_total
go_memstats_mcache_inuse_bytes
go_memstats_mcache_sys_bytes
go_memstats_mspan_inuse_bytes
go_memstats_mspan_sys_bytes
go_memstats_next_gc_bytes
go_memstats_other_sys_bytes
go_memstats_stack_inuse_bytes
go_memstats_stack_sys_bytes
go_memstats_sys_bytes
go_sched_gomaxprocs_threads
go_threads
process_cpu_seconds_total
process_max_fds
process_network_receive_bytes_total
process_network_transmit_bytes_total
process_open_fds
process_resident_memory_bytes
process_start_time_seconds
process_virtual_memory_bytes
process_virtual_memory_max_bytes