This document describes the current stable version of django_celery_monitor (1.1). For development docs, go here.

django_celery_monitor.camera

The Celery events camera.

class django_celery_monitor.camera.Camera(*args, **kwargs)[source]

The Celery events Polaroid snapshot camera.

TaskState

Return the data model to store task state in.

WorkerState

Return the data model to store worker state in.

expire_task_states

Return a twople of Celery task states and expiration timedeltas.

handle_task(uuid_task, worker=None)[source]

Handle snapshotted event.