zot24 / aws-ri-exporter

AWS Reserved Instances Prometheus Exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

AWS Reserved Instances Prometheus Exporter

License:MIT License


Languages

Language:Go 77.4%Language:Jsonnet 9.0%Language:Dockerfile 9.0%Language:Makefile 4.6%