wasabi222 / janitor

provider maintenance email parser
Other
53 stars 14 forks source link

add more prometheus metrics #18

Closed wasabi222 closed 5 years ago

wasabi222 commented 5 years ago

This exposes some relevant prometheus metrics at /metrics. Available metrics include:

This requires the gunicorn_config.py file to be added as gunicorn config. For example:

gunicorn -b localhost:5000 -w 4 -c gunicorn_config.py janitor:app --preload

This addresses #1