I'm logging custom metric data into AWS Cloudwatch and trying to graph it. I assumed that Dimensions
in Cloudwatch were metadata for enriching my data, but it seems that once you add dimensions you can no longer query across different combinations of dimensions. So for one I don't really see the point of dimensions as any unique combination is basically just a new metric. But more importantly, is there a way to log one set of data with different labels or dimensions and then slice and dice that data (e.g., in Grafana).
To make it more concrete, I am logging cache load times in my application. I have one metric called "cache-miss", with several dimensions, for example:
- the cached collection
- the customer associated with the cached data
I want to several different graphs:
- Total cache misses (i.e., ignore dimensions, just see a count over time)
- Total cache misses per collection (aggregate by first dimension)
- Total cache misses per customer (aggregate by second dimension)
Is there some way to achieve this with Cloudwatch metrics and/or Grafana (or alternate tool)?