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 (cluster supported; RabbitMQ and SQS 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.2.tar.gz (22.3 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.2-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: celeryradar_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 22.3 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.2.tar.gz
Algorithm Hash digest
SHA256 6e54f4e99faf44984fc02e8c11649def91ede5bb70ae092b919ee5b11dba3d5c
MD5 f6b6a1e7df8aa5f88576325a9d44453c
BLAKE2b-256 dc0e1ce56b99f766c0f0db46e78cce473816ae9ec8812c5156c2bb1bfe984cb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for celeryradar_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 357044d5e955080a904fbcf7c28ac66ee02931c0d1ae67ef4e648ee175597f47
MD5 39078558557110e123daac3d70f3234c
BLAKE2b-256 fdde4ac9f34cb627325d5f07558ec454e6beb9b4ba133dda85eb11f8c938f397

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