bosun-monitor / bosun

Time Series Alerting Framework
http://bosun.org
MIT License
3.4k stars 495 forks source link

Adds support for directly querying cloudwatch metrics via the AWS SDK #2484

Closed johnewing1 closed 4 years ago

johnewing1 commented 4 years ago

Description

Replaces PR #2262 . Internal version of this functionality had diverged sufficiently from original PR that it is cleaner to start afresh

Requires a role with the ListMetrics and GetMetricData capabilities. Role can be supplied using either the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables or by attaching it to the EC2 instance on which bosun runs.

Type of change

How has this been tested?

Checklist:

johnewing1 commented 4 years ago

@neilfordyce Now includes the parseDimensions fix

neilfordyce commented 4 years ago

Looking good. Nice work on the wildcard dimensions, they make cloudwatch much easier to work with.