Skip to content

theztd/aws-cost-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus AWS Cost Exporter

Tiny application extracting AWS costs per day in USD grouped by tag.

Run

There are many ways how to use this script, the most clean is to run it as a script

export AWS_ACCESS_KEY_ID='---YOUR-ID---'
export AWS_SECRET_ACCESS_KEY='---YOUR-SECRET---' 

cd src

./main.py 1> /tmp/metrics/aws_cost_explorer.prom 

But I recomend to run it as a nomad job. The example definition is part of the repository

Develop

python -m venv exporter
source exporter/bin/activate
pip3 install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published