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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cronradar_celery-0.0.5.tar.gz.
File metadata
- Download URL: cronradar_celery-0.0.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
168341a46e30b858a75ffa1c266312bcd7543c6bbe7d3cf3809a49d05ad56c72
|
|
| MD5 |
81c29de0339431885b76e40324b1f3d7
|
|
| BLAKE2b-256 |
46489a8cd2a9285d833686a7825f3543d5d02430916f0fae38d5f07fb2377c3c
|
File details
Details for the file cronradar_celery-0.0.5-py3-none-any.whl.
File metadata
- Download URL: cronradar_celery-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
760306943feba31e6c7a8d463fa3335c0a3267fd2be4af419d001fa973f9738d
|
|
| MD5 |
f566521b62977dcc7d8f863b12991d34
|
|
| BLAKE2b-256 |
8297669621c4b722f13c789c0506539497b73dc708af05c28b3d63386a525aa7
|