Integration Check Precedence Conflict Between datadog.yaml and conf.d/<check>.yaml in Datadog Agent 7.x
0 reputation · 13 Oct 2024, 03:58 UTC
When configuring a Datadog integration check, administrators may define the same parameter in both the main datadog.yaml file and the check‑specific file under conf.d/.yaml. The goal is to determine which value the Agent actually applies at runtime in Agent 7.x, especially when the dual‑stack migration mode is enabled and the autopilot feature may be managing certain settings automatically.
Constraints include the Agent’s documented precedence rules, which are not explicitly stated for overlapping keys, and the possibility that autopilot overrides manual entries during version transitions. The uncertainty lies in whether the behavior is consistent across all built‑in checks, custom checks, and future Agent releases.
Specific questions:
- Which configuration file’s value takes precedence when a setting appears in both locations?
- Does this precedence differ between core Datadog checks and user‑defined custom checks?
- How does the autopilot feature modify or override this precedence during an upgrade from Agent 6 to Agent 7?