Task Badger Documentation
Task Badger is a monitoring and observability platform for background jobs and async tasks. It integrates with task processing systems like Celery to give you visibility into task progress, performance, and failures.
Get Started
Install the Python SDK:
Initialize with your Project API Key:
Create and track a task:
from taskbadger import Task, StatusEnum
task = Task.create("my task")
task.update(status=StatusEnum.PROCESSING, value=50)
task.update(status=StatusEnum.SUCCESS, value=100)
Or monitor Celery tasks automatically with the Celery integration:
from taskbadger.systems import CelerySystemIntegration
taskbadger.init(
token="YOUR_API_KEY",
systems=[CelerySystemIntegration()]
)
Or track any shell command with the CLI:
Key Features
- Task tracking — monitor status, progress, and metadata for any background job
- Celery integration — automatic tracking of all Celery tasks with zero code changes
- Actions and triggers — get notified via email, webhook, or other integrations on task events
- CLI — monitor shell commands without writing code
Learn More
- Quick Start — full setup walkthrough
- Python SDK — SDK reference
- CLI — command line usage
- Data Model — task states, actions, and triggers
- API Endpoints — REST API reference