1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
according to https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-metrics.html, there are two main metrics gathered by Container Insights:
- ECS Container metrics
- EKS/K8S metrics.
You can disable container insights on specific clusters.
For instance, https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-ECS-cluster.html allows you to disable Container insight for a specific ECS cluster.
For EKS this can be achieved by https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights-update-delete.html
Hope it fits your case and is helpful ;)
Relevant content
- asked a year ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
Thanks for your response, I want container insights logs for that cluster and do not want to delete the entire container insight agent only need to cut down metrics. Since I am going to create a custom metric using the metric filter.
Ok I see, as wasn’t mentioned specifically on the question. Can you check if this can help: https://stackoverflow.com/questions/71438495/how-to-prevent-cloudwatch-container-insights-metrics-from-short-lived-kubernetes.
I tried to find it in official documents, but no luck. Let me know if helps