diff --git a/content/en/getting_started/integrations/_index.md b/content/en/getting_started/integrations/_index.md index fa6952282f4..e2c3819436d 100644 --- a/content/en/getting_started/integrations/_index.md +++ b/content/en/getting_started/integrations/_index.md @@ -100,12 +100,25 @@ For example, setting `service` in your config file is the recommended [Agent set To better unify your environment, it is also recommended to configure the `env` tag in the Agent. To learn more, see [Unified Service Tagging][27]. -By default, the metrics reported by integrations include tags autodiscovered from the environment. For example, the metrics reported by a Redis check that runs inside a container include tags that refer to the container, such as `image_name`. You can turn this behavior off by setting the `ignore_autodiscovery_tags` parameter to `true`: +#### Per-check tag configuration +You can customize tag behavior for individual checks, overriding the global Agent-level settings: + +1. **Disable Autodiscovery tags** + + By default, the metrics reported by integrations include tags automatically detected from the environment. For example, the metrics reported by a Redis check that runs inside a container include tags associated with the container, such as `image_name`. You can turn this behavior off by setting the `ignore_autodiscovery_tags` parameter to `true`. + +1. **Set tag cardinality per integration check** + + You can define the level of tag cardinality (low, orchestrator, or high) on a per-check basis using the `check_tag_cardinality` parameter. This overrides the global tag cardinality setting defined in the Agent configuration. + ```yaml init_config: - +# Ignores tags coming from autodiscovery ignore_autodiscovery_tags: true +# Override global tag cardinality setting +check_tag_cardinality: low + # Rest of the config here ```