forked from DataDog/datadog-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[corechecks] Support custom tags in every corechecks (DataDog#2723)
* [aggregator] store custom tags in a checkSender. This is mainly used to attach tags read in checks configuration to an instanciated sender. Those custom tags will be appended to each send (event, metric, service). * [aggregator] unit tests for custom tags in `checkSender`. * [corechecks] set custom tags read in check config to the sender. * [corechecks] unify the usage of checks custom tags. Some checks were already appending their custom tags to the metrics, events and services check sent. This commit removes this as it's now done by the `checkSender`. * [corechecks] comment about the tags configuration field while implementing a new core check. * [corechecks] missed some manually added custom tags in Docker check. * [corechecks] missed some manually added custom tags in kube & snmp unit tests. * [corechecks] missed some manually added custom tags in network (linux) and kube apiserver unit tests. * [corechecks] custom tags unit/inte tests changes due to new implementation. * [docs] add `tags` field into agent/config.md * [docs] revert a typo fix to avoid merge conflict. * Add release note entry. * [corechecks] remove some manually added custom tags in containerd check. * [corechecks] no need to checks for tags added in the configuration during tests. * Restore instance tags in integration tests. * Review feedbacks on comments and improvements. * Revert "Restore instance tags in integration tests." This reverts commit 17c2a76.
- Loading branch information
Showing
29 changed files
with
232 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.