zalando-zmon / zmon-worker

ZMON Python Worker
https://zmon.io/
Other
19 stars 41 forks source link

cloudwatch plugin support for metrics without dimension #390

Open cjander opened 5 years ago

cjander commented 5 years ago

The cloudwatch plugin with it's methods query() and query_one() do always require a defined dimension and also does validate it's content. But there are metrics in cloudwatch that do not have any dimension. so these metrics cannot be monitored using zmon. although there is support for "*" and "NOT_SET" for metrics names in the plugin, this still requires a dimension.

In our example we need to monitor SNS SMS costs, the cloudwatch metric for these is created automatically by SNS and it has no dimension:

metrics with no dimensions

cjander commented 5 years ago

another example is SES Reputation.ComplaintRate, Reputation.BounceRate, Send, Delivery, Complaint and Bounce statistics