How to tag CloudWatch custom metrics generated by ECS Container Insights?

1

While CloudWatch custom metrics from EC2 detailed monitoring inherit tags from the source EC2 instance, those from ECS Container Insights do not inherit tags from ECS services, at least not by default. I would like to have tags in order to help categorize CloudWatch costs. Is there any way to enable inheriting them from ECS or add them somehow?

  • user3738870 on SO 5 months ago

Posting it here for greater visibility and hopeful that an there's an answer

2 Antworten
1
Akzeptierte Antwort

Hi, thank you for bringing this question up for greater visibility.

Metrics are not AWS resources, and as such they cannot be tagged. When you navigate to Cost Explorer and break down your CloudWatch detailed monitoring costs by tag, a special treatment is applied to EC2, which is not applicable to resources from other services.

May I suggest that you ask for an enhancement if you need this feature? You can do so through support (preferably) or by sending feedback from the console.

profile pictureAWS
Jsc
beantwortet vor 4 Monaten
  • Thanks for that response Jsc, that makes sense to me! I will open up a support ticket through the console and request that enhancement

0

Hello,

This doc may have some better insight to your ask: https://repost.aws/knowledge-center/cloudwatch-container-insights-ecs. If needed, our Support team would be more than happy to assist with any additional questions, feel free to reach out here: go.aws/support-center.

— Elle G.

AWS
EXPERTE
beantwortet vor 4 Monaten
  • Hi, thank you for the link but unfortunately it offers no solution for tracking cloudwatch container insights costs with tags.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen