Technologies/Prometheus/celery.task.prefetch_time
PrometheusPrometheusMetric

celery.task.prefetch_time

Time from receive to start
Dimensions:None

Technical Annotations (7)

Configuration Parameters (5)
task_send_sent_eventrecommended: True
Required to track queue wait time metrics
worker_send_task_eventsrecommended: True
Enables Flower and event-based monitoring
task_track_startedrecommended: True
Tracks when tasks actually begin execution
worker_prefetch_multiplierrecommended: 4
Balance throughput and latency, affects queue drainage rate
worker_max_tasks_per_childrecommended: 1000
Prevents memory leaks that can slow workers
Technical References (2)
message brokercomponentenqueue and dequeue timesconcept
Related Insights (4)
Switching from RabbitMQ to Redis reduces message broker latency by 20%info
P95 task completion should not exceed 4x expected execution intervalwarning
Missing task_send_sent_event prevents queue wait time visibilitywarning
Queue backlog exceeds 100 tasks indicating worker capacity shortagewarning