Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

dffrntmedia/tc-prometheus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thumbor Prometheus Metrics Plugin

Collecting Thumbor runtime metrics using the prometheus_client and exposes them via an HTTP endpoint on a configurable port.

Installation

# latest stable
pip install dffrntlab_tc_prometheus

Configuration

# thumbor.conf
METRICS = 'tc_prometheus.metrics.prometheus_metrics'

# optional with defaults
PROMETHEUS_SCRAPE_PORT = 8000 # Port the prometheus client should listen on

dffrntlab part

Where it is

https://pypi.org/project/dffrntlab-tc-prometheus/

Push to PyPi

python setup.py sdist bdist_wheel
# install twine if you don't have
# pip install twine
twine upload dist/*

Now we use this profile to push packages: https://pypi.org/user/maximka777/ (need to register dffrntlab one).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%