-
What Grafana version and what operating system are you using?
Grafana v9.5.2 -
What are you trying to achieve?
Hi there,
It’s my first time using cloudwatch datasource and I’m confused with a simple thing. I created a dashboard that shows me my EC2 CPUUtilization for all instances Ids, but I’m stuck on filter about 48 instances instead all of them. -
How are you trying to achieve it?
I tryied to use “Filter: InstanceId = ” but it returns to me only one instance, if I do this to more than one, the graph shows me “No data”.
I also tryied tags (“tags”: [“type:node”, “app:app”]), filter by instanceType and nothing works… -
What did you expect to happen?
I expect that my graph panel shows the CPU utilization of my 48 instances only, not all instances
I would say there is no way to do that. I guess that’s CloudWatch API limitation. You can specify all or one, but not some ids for the filter.
So only solution will be to write 48 queries in the panel.
Or use some exporter and export CloudWatch EC2 metric to Prometheus (or another more suitable TSDB), where you don’t have this filter limitation.
1 Like
Thanks for your response!! I did so much research that I figured there was no way to do this… but I wanted to believe because it’s so basic…
I will try to do some of these solutions.
Thanks!!