Skip to main content

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

celery-prometheus-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

celery_prometheus-0.1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file celery-prometheus-0.1.1.tar.gz.

File metadata

  • Download URL: celery-prometheus-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.15.12-arch1-1

File hashes

Hashes for celery-prometheus-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8c60ef8ff9d62465805b2b5a6659ecce24a61747432911b26ed4dc91d482aa5e
MD5 7d17ffa39e3f95604c85ff4516b6e479
BLAKE2b-256 155ef742f3a850d6b3003d2158a7e0225c89593cb1bb513097b9525f400588ec

See more details on using hashes here.

File details

Details for the file celery_prometheus-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: celery_prometheus-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.15.12-arch1-1

File hashes

Hashes for celery_prometheus-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a81d2b119176dc3a36b2042e634e9f8f69ea325a60d6f70f056ecb369e42c2e3
MD5 a77254680a5df38785de4c9bed32a0e9
BLAKE2b-256 50ca315a0ffa8c0a479ddcb52feaedf2dd4131323474daa8e2ce9fcad67f76da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page