Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.27 KB

AWS EC2 Reserved Instances Prometheus Exporter

To export as Prometheus metrics the utilization of our AWS EC2 Reserved Instances.

Locally

docker run -v ~/.aws:/home/appuser/.aws -e AWS_REGION=us-west-2 -p 9900:9900 aws-ri-exporter:latest --namespace YOU_COMPANY_NAME

NOTE: Bear in mind that you will have to change the hardcoded default namespace "cloud" on the "mixin" if you set an specific --namepsace on your deployment

Development

Run

There is a handy Makefile with few useful commands

✓ usage: make [target]

build                          - [Docker] Build docker image
run                            - [Golang] Start development server
test                           - [Golang] Run all tests

Resources

Notes