Skip to content

Fix the annotation key names listed in the AD Annotations v1 tab - #39217

Open
jumpe1 wants to merge 1 commit into
DataDog:masterfrom
jumpe1:fix-ad-annotations-v1-key-format
Open

Fix the annotation key names listed in the AD Annotations v1 tab#39217
jumpe1 wants to merge 1 commit into
DataDog:masterfrom
jumpe1:fix-ad-annotations-v1-key-format

Conversation

@jumpe1

@jumpe1 jumpe1 commented Aug 15, 2026

Copy link
Copy Markdown

What does this PR do? What is the motivation?

In Getting Started with Containers → Autodiscovery, the AD Annotations v1 tab says the check configuration key is ad.datadoghq.com/<container-name>.checks. That is the v2 key — the sentence is duplicated from the v2 tab, where it is correct. The YAML example in the same tab correctly uses check_names, init_configs, and instances, so the tab contradicts itself.

This is worth more than a typo fix. Autodiscovery applies only one annotation format per container, preferring v2 over v1, so a reader who follows both the v1 example and its prose ends up setting v1 and v2 keys together — and the v1 configuration is the one that gets silently dropped.

Merge readiness

  • Ready for merge

AI assistance

Additional notes

The AD Annotations v1 tab named `ad.datadoghq.com/<container-name>.checks`
as the check configuration key. That is the v2 key: the sentence was
duplicated from the v2 tab, where it is correct. The YAML example in the
same tab already used the three v1 keys, so the tab contradicted itself.
@jumpe1
jumpe1 requested a review from a team as a code owner August 15, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant