Celery with your own prometheus metrics
Project description
Add you own metrics to your celery backend.
Usage:
app = Celery() add_prometheus_option(app)
Then, using Celery 4.
export prometheus_multiproc_dir=/var/cache/my_celery_app celery worker -A sequoia_api_notif.backend --prometheus-collector-addr 0.0.0.0:6543
This will expose the metrics on 0.0.0.0:6543 of the host than can be scrapped by prometheus.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for celery_prometheus-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dace12d7680f9da0010c9e205400a73bdbe3af6c72761dee4ad52a1e6be59e5 |
|
MD5 | 6462933158d6e5fd300625da883fd663 |
|
BLAKE2b-256 | 94e720ea91e847413b7b17236bf41ee23fdb3ff78af3faa3683c7a4cbf2c786c |