Skip to content

Add apm non local traffic env var to local service - #3224

Open
khewonc wants to merge 1 commit into
mainfrom
khewonc/non-local-traffic-apm
Open

Add apm non local traffic env var to local service#3224
khewonc wants to merge 1 commit into
mainfrom
khewonc/non-local-traffic-apm

Conversation

@khewonc

@khewonc khewonc commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Add DD_APM_NON_LOCAL_TRAFFIC env var to local service. Ensures the config is there even if the agent image's default datadog.yaml from k8s is overridden with a custom file

Motivation

https://datadoghq.atlassian.net/browse/CONTP-1756

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

  • Agent: vX.Y.Z
  • Cluster Agent: vX.Y.Z

Describe your test plan

  • Using a DDA without APM hostport enabled on k8s 1.22+, check that the DD_APM_NON_LOCAL_TRAFFIC=true env var is in the trace agent
    features:
      apm:
        enabled: true
        hostPortConfig:
          enabled: false
  • Add a custom datadog.yaml file and check that the DD_APM_NON_LOCAL_TRAFFIC=true env var is in the trace agent
  override:
    nodeAgent:
      customConfigurations:
        datadog.yaml:
          configData: |
            log_level: debug

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

@khewonc khewonc added this to the v1.29.0 milestone Jul 6, 2026
@khewonc khewonc added the enhancement New feature or request label Jul 6, 2026
@khewonc
khewonc marked this pull request as ready for review July 6, 2026 18:23
@khewonc
khewonc requested a review from a team July 6, 2026 18:23
@khewonc
khewonc requested review from a team as code owners July 6, 2026 18:23
@khewonc
khewonc requested review from RemiMoustamsikdd and removed request for a team July 6, 2026 18:23
@khewonc khewonc modified the milestones: v1.29.0, v1.30.0 Jul 6, 2026
@datadog-datadog-prod-us1

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant