Skip to content

Commit ac37169

Browse files
Include how to disable dcaautogen behavior (#29915)
Co-authored-by: Esther Kim <esther.kim@datadoghq.com>
1 parent 8e36715 commit ac37169

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/en/containers/guide/cluster_agent_autoscaling_metrics.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,13 @@ The Datadog Cluster Agent automatically creates `DatadogMetric` resources in its
368368

369369
If you choose to migrate an HPA later on to reference a `DatadogMetric`, the automatically generated resource is cleaned up by the Datadog Cluster Agent after a few hours.
370370

371+
Optionally, you can disable this behavior by setting `DD_EXTERNAL_METRICS_PROVIDER_ENABLE_DATADOGMETRIC_AUTOGEN` to `false` like:
372+
373+
```yaml
374+
- name: DD_EXTERNAL_METRICS_PROVIDER_ENABLE_DATADOGMETRIC_AUTOGEN
375+
value: "false"
376+
```
377+
371378
## Cluster Agent querying
372379
The Cluster Agent performs the queries for the `DatadogMetric` objects every 30 seconds. The Cluster Agent also batches the metric queries performed into groups of 35. Therefore, 35 `DatadogMetric` queries are included in a single request to the Datadog metrics API.
373380

0 commit comments

Comments
 (0)