Tagging an integration
The metrics published by an integration can be tagged at the integration level for better visibility with Datadog resources where those metrics will be used eventually. We will see how that's done with the intention of implementing the best practices for effectiveness. We already learned in Chapter 2, Deploying Datadog Agent, and, in Chapter 5, Metrics, Events, and Tags, that host-level, custom tags can be added by using the tags configuration item in the
datadog.yaml file. Custom tags added using this option will be available on all the metrics generated by various integrations running on that host. The tagging option is available at the integration level also, and the related tags will be applied only on the integration-specific metrics.
In the use case that was mentioned in the previous section related to using NGINX for different roles, this multi-level tagging method will be useful to filter the NGINX metrics originating from multiple hosts. For...