Inconsistent handling of case in tags imported via AWS integrations, metrics endpoints and container labels
We have a tag environment:Development that is applied to all our AWS resources and also as a label on our containers. The handling of the import(?) of this tag to DD seems to be somewhat inconsistent however in that the metrics imported via AWS resources/metrics endpoints on the containers (e.g apache status) are tagged as "environment:development" in DD whereas the containers tags (extracted from docker label) come through as environment:Development.
This is causing issues in the filtering of our dashboards. We would like to be able to filter our widgets via template variables and the application of these template variables seems to be case sensitive.
So, for example, all values available in the drop-down for the template value are lower-cased to begin with i.e. development. When this is applied, all widgets based on AWS metrics work fine however, the container map stops working as the containers are tagged as environment:Development. If I manually enter a value of Development to the template variable then the container map is filtered as expected but all other widgets stop working as these are based on metrics where Development has been changed to the lower case development when imported.
Not sure if this issue ultimately lies in the agent or not but would it be possible to ensure that the handling of case is at least consistent between the tagging of the container in DD and the tagging of the metrics?
Edit: Am running latest agent.
Hi @onematchfox
Thanks for reporting! I believe you have also reported this issue via ticket and the solution team is currently following up on this. Long story short, the tags are not currently normalized by our process agent when fetched from docker labels. Our process agent is the process that get the information you see in the live container view and also in the container map and the map widget.
The issue has been reported to the engineering team and being looked over.
Thanks!
Simon
This issue has been automatically marked as stale because it has not had activity in the past 15 days.
It will be closed in 30 days if no further activity occurs. If this issue is still relevant, adding a comment will keep it open. Also, you can always reopen the issue if you missed the window.
Thank you for your contributions!
This issue has been automatically marked as stale because it has not had activity in the past 15 days.
A little more than 15 days... It's been 6 years since I opened this 😂
Hi @onematchfox,
Thank you for taking the time to share your feedback. We recently introduced a system to help manage long-standing issues through automated stale management. We understand this may have come as a surprise for some existing issues. We want to apologize if it felt that way. It was not our intent, and we want to reassure you that every issue is important to us and reviewed carefully. For your specific issue, we’re reviewing it to ensure the discussion progresses and receives the right level of attention. Thank you for helping improve the Datadog Agent.
— The Datadog Agent Team