A Prometheus exporter for Amazon EC2 metrics and conditions. While the official Prometheus Cloudwatch Exporter is pretty good, this exporter is a scaled back version collecting a subset of the information from EC2 resource types, while not incurring the cost of using the Cloudwatch API.
docker build --tag ec2-exporter .
The exporter makes use of the official Java sdk, and can be configured using a variety of methods:
You can deploy this exporter using the jmal98/ec2-exporter Docker image.
For example if using an IAM profile, you do not need to provide any environmental credentials:
docker run -d -p 9385:9385 jmal98/ec2-exporter:1.0.1
For example if supplying environment configuration:
docker run -d -p 9385:9385 -e AWS_ACCESS_KEY_ID=<access key> -e AWS_SECRET_ACCESS_KEY=<secret key> -e AWS_REGION=<region> [other Java AWS SDK environment variables] jmal98/ec2-exporter:1.0.1
Content type
Image
Digest
sha256:126d7da58…
Size
80.4 MB
Last updated
over 2 years ago
docker pull jmal98/ec2-exporter