celery.task.duration
Task execution durationDimensions:None
Interface Metrics (4)
Sources
Technical Annotations (41)
Configuration Parameters (13)
task_time_limitrecommended: 300task_soft_time_limitrecommended: 280time_limitrecommended: based on expected durationretry_backoffrecommended: True with base ~10 secondsretry_jitterrecommended: Truecountdownrecommended: dynamic based on retry countmax_retriesrecommended: 3-5CELERY_BEAT_MAX_LOOP_INTERVALrecommended: 300CELERY_RESULT_BACKENDrecommended: NoneCELERYD_CONCURRENCYrecommended: 4default_retry_delaytask_acks_laterecommended: Truetask_reject_on_worker_lossrecommended: TrueCLI Commands (2)
celery worker --loglevel INFOdiagnosticstart_http_server(8000)monitoringTechnical References (26)
cgroupscomponentPrometheuscomponentGrafanacomponentcircuit breakerconceptcelery beatcomponentperiodic tasksconceptCDNcomponentmicroservice architectureconceptSQLconceptslow query logscomponentexponential backoffconceptretry mechanismconceptlatencyconcepthigh-frequency tasksconcepttask timeoutconceptexecution timeconceptpriority queueconcepttask starvationconceptFIFOconceptconnection poolcomponentRSSconceptOOM killconceptMainProcesscomponentprometheus-clientcomponenttask_preruncomponenttask_postruncomponentRelated Insights (24)
Unresponsive external services cause timeoutswarning
▸
Resource constraints prevent task executioncritical
▸
Timeout issues account for 30% of task failureswarning
▸
Network latency increases task execution time by 25%warning
▸
Exponential backoff reduces failure rates by 30% under high loadwarning
▸
Retries without concurrency caps flood queues causing latencycritical
▸
Low task volume deployment with periodic scheduled tasks on Kubernetesinfo
▸
High network latency causes up to 30% increase in task completion timewarning
▸
Slow database queries delay task execution when lacking proper indexingwarning
▸
Insufficient worker processes cause task queue buildup and delayswarning
▸
Inefficient task design causes latency from external service dependencieswarning
▸
Optimizing retry mechanisms reduces task turnaround time by 30%info
▸
High-frequency tasks exceeding 100ms latency degrade user satisfactionwarning
▸
Tasks exceeding average execution time by 30% are 65% more prone to failureswarning
▸
Priority queues without monitoring cause starvation of lower-priority taskswarning
▸
Connection pooling reduces broker latency by 27%warning
▸
Memory leaks cause 35% task completion time increase over 24 hourscritical
▸
Horizontal scaling outperforms vertical beyond 8 workers per nodewarning
▸
P95 task completion should not exceed 4x expected execution intervalwarning
▸
95th percentile task completion triggers scaling when 30% over SLAwarning
▸
Celery task execution times reveal slow tasks through worker logsinfo
▸
Task latency spikes identified as primary bottleneck in 65% of deploymentswarning
▸
Prometheus metrics integration reduces MTTD by 40%info
▸
Task execution time degradation impacts user experiencewarning
▸