Skip to content

AWS Reserved Instances Prometheus Exporter

License

Notifications You must be signed in to change notification settings

zot24/aws-ri-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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