diff --git a/datadog_cluster_agent/datadog_checks/datadog_cluster_agent/check.py b/datadog_cluster_agent/datadog_checks/datadog_cluster_agent/check.py index e13153eb6a611..ef33a99bb94b5 100644 --- a/datadog_cluster_agent/datadog_checks/datadog_cluster_agent/check.py +++ b/datadog_cluster_agent/datadog_checks/datadog_cluster_agent/check.py @@ -64,6 +64,7 @@ 'go_goroutines': 'go.goroutines', 'go_memstats_alloc_bytes': 'go.memstats.alloc_bytes', 'go_threads': 'go.threads', + 'leader_election_is_leader': 'leader_election.is_leader', 'kubernetes_apiserver_emitted_events': 'kubernetes_apiserver.emitted_events', 'kubernetes_apiserver_kube_events': 'kubernetes_apiserver.kube_events', 'language_detection_dca_handler_processed_requests': 'language_detection_dca_handler.processed_requests', diff --git a/datadog_cluster_agent/tests/test_datadog_cluster_agent.py b/datadog_cluster_agent/tests/test_datadog_cluster_agent.py index d8c915e4ab465..5ee559996586c 100644 --- a/datadog_cluster_agent/tests/test_datadog_cluster_agent.py +++ b/datadog_cluster_agent/tests/test_datadog_cluster_agent.py @@ -66,6 +66,7 @@ 'go.goroutines', 'go.memstats.alloc_bytes', 'go.threads', + 'leader_election.is_leader', 'kubernetes_apiserver.emitted_events', 'kubernetes_apiserver.kube_events', 'language_detection_dca_handler.processed_requests',