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


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 Answers
Accepted Answer

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
answered 4 months ago
  • Thanks for that response Jsc, that makes sense to me! I will open up a support ticket through the console and request that enhancement



This doc may have some better insight to your ask: If needed, our Support team would be more than happy to assist with any additional questions, feel free to reach out here:

— Elle G.

answered 4 months ago
  • Hi, thank you for the link but unfortunately it offers no solution for tracking cloudwatch container insights costs with tags.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions