Skip to content

Commit

Permalink
New unscheduled config telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
gabedos committed Dec 24, 2024
1 parent 1cb058e commit 4165185
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
'cluster_checks_busyness': 'cluster_checks.busyness',
'cluster_checks_configs_dangling': 'cluster_checks.configs_dangling',
'cluster_checks_configs_dispatched': 'cluster_checks.configs_dispatched',
'cluster_checks_configs_extended_dangling': 'cluster_checks.configs_extended_dangling',
'cluster_checks_configs_info': 'cluster_checks.configs_info',
'cluster_checks_failed_stats_collection': 'cluster_checks.failed_stats_collection',
'cluster_checks_nodes_reporting': 'cluster_checks.nodes_reporting',
Expand Down
1 change: 1 addition & 0 deletions datadog_cluster_agent/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ datadog.cluster_agent.autodiscovery.watched_resources,gauge,,,,Number of watched
datadog.cluster_agent.cluster_checks.busyness,gauge,,,,Busyness of a node per the number of metrics submitted and average duration of all checks run,0,datadog_cluster_agent,cluster check node busyness,
datadog.cluster_agent.cluster_checks.configs_dangling,gauge,,,,Number of check configurations not dispatched,-1,datadog_cluster_agent,cluster check configs dangling,
datadog.cluster_agent.cluster_checks.configs_dispatched,gauge,,,,Number of check configurations dispatched by node,0,datadog_cluster_agent,cluster check configs dispatched,
datadog.cluster_agent.cluster_checks.configs_extended_dangling,gauge,,,,Number of check configurations not dispatched for extended number of scheduling attempts,-1,datadog_cluster_agent,cluster check configs extended dangling,
datadog.cluster_agent.cluster_checks.configs_info,gauge,,,,Information about check configurations dispatched (node and check ID),0,datadog_cluster_agent,cluster check configs info,
datadog.cluster_agent.cluster_checks.failed_stats_collection,count,,,,Total number of unsuccessful stats collection attempts,0,datadog_cluster_agent,cluster check failed stats collection,
datadog.cluster_agent.cluster_checks.nodes_reporting,gauge,,,,Number of node agents reporting,0,datadog_cluster_agent,cluster check nodes reporting,
Expand Down
3 changes: 3 additions & 0 deletions datadog_cluster_agent/tests/fixtures/metrics.txt
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ cluster_checks_configs_info{check_id="http_check:kubernetes:c964669d244288ea",jo
cluster_checks_configs_info{check_id="http_check:nginx 1:c89937d23c8b01a0",join_leader="true",node="datadog-clusterchecks-779dfcd7bf-jm4mz"} 1
cluster_checks_configs_info{check_id="http_check:nginx 2:89d07d5d897f5241",join_leader="true",node="datadog-clusterchecks-779dfcd7bf-hxjwg"} 1
cluster_checks_configs_info{check_id="http_check:nginx 3:8f889113ed52b58e",join_leader="true",node="datadog-clusterchecks-779dfcd7bf-hxjwg"} 1
# HELP cluster_checks_configs_extended_dangling Number of check configurations not dispatched for extended number of scheduling attempts.
# TYPE cluster_checks_configs_extended_dangling gauge
cluster_checks_configs_extended_dangling{config_name="kubernetes_state_core",config_source="file:/etc/datadog-agent/conf.d/kubernetes_state_core.yaml.default",join_leader="true"} 1
# HELP autodiscovery_errors Number of Autodiscovery errors by provider.
# TYPE autodiscovery_errors gauge
autodiscovery_errors{provider="kubernetes-services"} 1
Expand Down
1 change: 1 addition & 0 deletions datadog_cluster_agent/tests/test_datadog_cluster_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'autodiscovery.watched_resources',
'cluster_checks.busyness',
'cluster_checks.configs_dangling',
'cluster_checks.configs_extended_dangling',
'cluster_checks.configs_dispatched',
'cluster_checks.configs_info',
'cluster_checks.failed_stats_collection',
Expand Down

0 comments on commit 4165185

Please sign in to comment.