-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[CONTP-705][integrations] Document 'check_tag_cardinality' #28691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
domalessi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment!
| # Rest of the config here | ||
| ``` | ||
| You can override the global Agent-level tag cardinality for a specific check using the check_tag_cardinality configuration option. This allows you to control the level of tag granularity used for that particular check, regardless of the global setting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! I’m a little unsure about including check_tag_cardinality in this section as-is—it feels a bit advanced relative to the rest of the content, and the section is getting a bit long and dense.
I'm wondering if it would be worth splitting the Tagging section into three sub-sections:
- Global Tags (covers datadog.yaml, env, service)
- Autodiscovered Tags (covers container/environment tags and ignore_autodiscovery_tags)
- Advanced: Controlling Tag Cardinality (introduces check_tag_cardinality and how it overrides the global setting)
Alternatively, we can put the advanced stuff somewhere else and then simply link to that. Are all the advanced config options defined in GitHub somewhere? In the code? We often do this -- we provide the basic config in the public docs and then link to a yaml file somewhere (for example) that defines all the options.
Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
b5babcc to
f0aef6d
Compare
60d4f8b to
65dd294
Compare
65dd294 to
90009b2
Compare
domalessi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few formatting tweaks. Otherwise, looks great!
|
/merge |
|
View all feedbacks in Devflow UI.
This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
devflow unqueued this merge request: It did not become mergeable within the expected time |
|
@zhuminyi I'm closing this PR in favor of this one: #28886 We require a specific branch name syntax for all our checks to run. We can force merge this, but I'd prefer playing it safe and just recreating under a different branch name :) |
What does this PR do? What is the motivation?
Documents the check_tag_cardinality option that was introduced here: DataDog/datadog-agent#29984
Merge instructions
Merge readiness:
For Datadog employees:
Merge queue is enabled in this repo. Your branch name MUST follow the
<name>/<description>convention and include the forward slash (/). Without this format, your pull request will not pass in CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.If your branch doesn't follow this format, rename it or create a new branch and PR.
To have your PR automatically merged after it receives the required reviews, add the following PR comment:
Additional notes