Skip to content

Commit

Permalink
Add option in the cluster agent to avoid autogenerating DatadogMetric…
Browse files Browse the repository at this point in the history
… objects

Signed-off-by: Ara Pulido <[email protected]>
  • Loading branch information
arapulido committed Feb 19, 2024
1 parent 43089c7 commit 584cabe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/docs/2.14/scalers/datadog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ If you are using Helm to deploy the Cluster Agent, set:
* `clusterAgent.metricsProvider.enabled` to `true`
* `clusterAgent.metricsProvider.registerAPIService` to `false`
* `clusterAgent.metricsProvider.useDatadogMetrics` to `true`
* `clusterAgent.env` to `[{name: DD_EXTERNAL_METRICS_PROVIDER_ENABLE_DATADOGMETRIC_AUTOGEN, value: false}]`

If you are using the Datadog Operator, add the following options to your `DatadogAgent` object:

Expand All @@ -41,6 +42,9 @@ spec:
enabled: true
useDatadogMetrics: true
registerAPIService: false
override:
clusterAgent:
env: [{name: DD_EXTERNAL_METRICS_PROVIDER_ENABLE_DATADOGMETRIC_AUTOGEN, value: false}]
[...]
```

Expand Down

0 comments on commit 584cabe

Please sign in to comment.