Cloudwatch exporter
|
|
The Cloudwatch exporter is used to extract values from the AWS Cloudwatch for consolidated display in the VIMON.
Configuration
The exporter itself is then configured via vimon/config/cloudwatch_exporter/cloudwatch_exporter.yml.
The region for the query must be configured here and the metrics that are to be queried must also be activated.
|
Limit yourself to the metrics that are actually required, as otherwise a large number of requests may be made. These requests are billed by AWS if they exceed the free limit. |
It should also be noted that CW does not continuously update the data. A query every 15s is therefore not useful and only ensures that the free limit is reached more quickly.
The interval for this scrape job should therefore be reduced in the Prometheus configuration, e.g.:
- job_name: 'AWS'
scrape_interval: 300s
static_configs:
- targets: ['foo.bar.com:9235']
labels:
app: 'aws'
project: 'vimon'
part: 'cloudwatch'
stage: 'prod'
host: 'foo.bar.com'