-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
chart/datadogThis issue or pull request is related to the datadog chartThis issue or pull request is related to the datadog chartwaiting-user-feedback
Description
Hello Datadog team,
Currently, if you enable ddot in helm chart, it automatically configures configSync for you.
helm-charts/charts/datadog/templates/_container-otel-agent.yaml
Lines 70 to 73 in be378fa
| - name: DD_AGENT_IPC_PORT | |
| value: "5009" | |
| - name: DD_AGENT_IPC_CONFIG_REFRESH_INTERVAL | |
| value: "60" |
While it is a great feature, I faced some cases where I would like to disable it.
In one of those cases, I want otel-agent to ingest metrics/spans directly to Datadog intake, while agent itself to send them to another otel collector for additional filtering/data masking before ingesting into Datadog via intake endpoints. To do it, I override DD_DD_URL and DD_APM_DD_URL in the agent container, but due to configSync, the otel-agent uses the same endpoints.
Based on the source code, to disable it, I should configure the port or interval to 0 - https://github.com/DataDog/datadog-agent/blob/fe3c3448775c167ca73548088526a7af36c3aaf7/comp/core/configsync/configsyncimpl/module.go#L69C1-L72
But they are hardcoded in the Helm chart.
I think the easiest solution will be to allow overriding of DD_AGENT_IPC_PORT, so you could set it to 0 for otel-agent container.
I can bring a PR if you are okay with adding this feature.
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
chart/datadogThis issue or pull request is related to the datadog chartThis issue or pull request is related to the datadog chartwaiting-user-feedback