Skip to main content

Automatic monitoring for Celery periodic tasks. Monitor selective tasks or all tasks with auto-discovery.

Project description

CronRadar Celery Integration

Monitor Celery periodic tasks. Auto-discover Beat schedules and track execution. Get alerts when tasks fail or don't run on schedule.

Installation

pip install cronradar-celery

Configuration

Set environment variable:

export CRONRADAR_API_KEY=ck_app_xxxxx_yyyyy

Get your API key from cronradar.com/dashboard

Or pass it directly:

setup_cronradar(app, api_key='ck_app_xxxxx_yyyyy')

Quick Start

Monitor all periodic tasks by default - use @skip_monitor to opt-out:

from celery import Celery
from cronradar_celery import setup_cronradar, skip_monitor

app = Celery('myapp')
setup_cronradar(app)

@app.task
def send_daily_report():
    # Monitored automatically
    generate_report()

@app.task
@skip_monitor
def internal_cleanup():
    # Opted out
    pass

Decorator Order (Important!)

The @skip_monitor decorator must be placed after @app.task:

# ✅ Correct
@app.task
@skip_monitor
def my_task():
    pass

# ❌ Wrong - won't work
@skip_monitor
@app.task
def my_task():
    pass

Requirements

  • Python 3.8+
  • Celery 5.0+
  • cronradar 1.0+

Links

License

Proprietary - © 2025 CronRadar. All rights reserved.

See LICENSE for details. This integration may only be used with the CronRadar monitoring service.

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

cronradar_celery-0.0.4.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

cronradar_celery-0.0.4-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file cronradar_celery-0.0.4.tar.gz.

File metadata

  • Download URL: cronradar_celery-0.0.4.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for cronradar_celery-0.0.4.tar.gz
Algorithm Hash digest
SHA256 67179e2e4250561a4477769c46c2f5e70147e8101bb4a74e6da6c8e3a1eaf9a5
MD5 8dfa6f69cca9c6b9ce47fc42ce73e573
BLAKE2b-256 36f46a9afda4db25be45cc0a46d77c64cdd0ccd80c6ab36d1bea84bc264a3407

See more details on using hashes here.

File details

Details for the file cronradar_celery-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cronradar_celery-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c8fb84f6d0e72801e1e6f88b424904cdae34dacac8b339dcde7226af874032e4
MD5 7093e520b8efc7da73086df74f521e3f
BLAKE2b-256 5a2bdd85997122fa0998adaa512926e07496803e104494e1ea8a2dad1ccf2e9e

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