Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[k8s / EKS] Support for Filtering Metrics by Namespace/Pod Name in CloudWatch Agent #1170

Open
Jasonnor opened this issue May 9, 2024 · 3 comments

Comments

@Jasonnor
Copy link

Jasonnor commented May 9, 2024

Is your feature request related to a problem? Please describe.

I'm currently using CloudWatch Container Insights to monitor my k8s clusters. However, I've noticed that the cloudwatch-agent collects metrics from all pods, which increases my CloudWatch Observation Usage costs. In my use case, I want to focus on monitoring specific critical services rather than every pod in the cluster.

For example, I need to monitor pods in certain namespaces or specific pods (like those from a particular deployment) and exclude metrics from less critical ones, such as daemonsets or system pods.

Describe the solution you'd like

I would like the cloudwatch-agent to support filtering metrics based on the Kubernetes namespace and/or pod names. This feature would allow users to specify which namespaces or pods should be monitored, significantly reducing unnecessary metrics and, consequently, CloudWatch costs.

Describe alternatives you've considered

I can't think of an alternative currently.

Additional context

If anyone have any better ideas to reduce Observation costs, please let me know, thanks!

Copy link
Contributor

github-actions bot commented Aug 8, 2024

This issue was marked stale due to lack of activity.

@github-actions github-actions bot added the Stale label Aug 8, 2024
@Jasonnor
Copy link
Author

Jasonnor commented Aug 8, 2024

I'm still interested in this issue.

@github-actions github-actions bot removed the Stale label Aug 9, 2024
@dariodor
Copy link

dariodor commented Sep 2, 2024

So am I

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants