Skip to main content

Celery monitoring SDK — task events, worker heartbeats, beat schedules, and queue depths.

Project description

celeryradar-sdk

PyPI version Python versions License: MIT

Celery monitoring SDK for CeleryRadar. Hooks Celery's standard signals to ship task events, worker heartbeats, beat schedules, and queue depth.

CeleryRadar dashboard

What gets monitored

  • Task events — start, success, failure, retry, runtime, exception type
  • Worker heartbeats — online/offline detection per worker hostname
  • Beat schedules — fires, misses, and drift from the expected interval
  • Queue depth — Redis broker depth per queue (single-instance only; RabbitMQ, SQS, and Redis Cluster planned)

Install

Requires Python 3.9+ and Celery 5.0+.

pip install celeryradar-sdk

Use

Sign up at celeryradar.com to get your API key, then:

import celeryradar_sdk

celeryradar_sdk.connect(api_key="cr_...")

That's it. The SDK is async and non-blocking — if the ingest endpoint is slow or unreachable, your workers don't notice; events drop with a warning rather than back up your task queue.

Configuration

Common options:

celeryradar_sdk.connect(
    api_key="cr_...",
    capture_args=False,         # don't send task args/kwargs (default True)
    worker_name="api-worker-1", # override hostname; useful in k8s/Docker
    broker_url="redis://...",   # override app.conf.broker_url for the depth poller
)

CELERYRADAR_WORKER_NAME is also read from the environment and takes precedence over worker_name=. See the configuration docs for the full reference.

How it differs from Flower

Flower is a real-time inspector and admin tool — great for browsing the current task queue and revoking tasks. CeleryRadar is the persistence layer above it: history, alerts, dashboards, and trend analysis. They don't conflict.

Documentation

License

MIT

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

celeryradar_sdk-0.1.3.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

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

celeryradar_sdk-0.1.3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file celeryradar_sdk-0.1.3.tar.gz.

File metadata

  • Download URL: celeryradar_sdk-0.1.3.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for celeryradar_sdk-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f402c8a482ec95253007e0ae97365dca4f90bea99203426b77459f531ae7308b
MD5 0fb9f853579df129251aa34340f608b0
BLAKE2b-256 a6414d4f071c0c4a8e66287ff4d285910232fc20242416bfd1a29e79d7a7a57c

See more details on using hashes here.

File details

Details for the file celeryradar_sdk-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for celeryradar_sdk-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f04d82cd9aa3e173264bd1bee9bbdc8c9f8bf3a0a22f22e72b7453353064d072
MD5 cac01350440c5ce77801fe3480fae0a3
BLAKE2b-256 bc4735b09e343f455f8907dca87a52dcc0e20b2c1700f4133136e497da38e498

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