Technologies/RabbitMQ/celery.task.runtime
RabbitMQRabbitMQMetric

celery.task.runtime

Total task runtime sum
Dimensions:None

Technical Annotations (14)

Configuration Parameters (3)
task_time_limitrecommended: 600
Hard limit in seconds before task is forcefully terminated
task_soft_time_limitrecommended: 300
Soft limit allowing graceful cleanup before hard termination
CE_BUCKETSrecommended: 1,2.5,5,10,30,60,300,600,900,1800
histogram buckets for async tasks ranging from 1 second to 30 minutes
Technical References (11)
CDNcomponentmicroservice architectureconceptlatencyconcepthigh-frequency tasksconceptconnection poolcomponentPicklecomponentJSONcomponentpyinstrumentcomponenthistogram bucketsconceptCeleryHighQueueLengthconceptworker pool sizecomponent
Related Insights (11)
High network latency causes up to 30% increase in task completion timewarning
Inefficient task design causes latency from external service dependencieswarning
Task time limits prevent runaway tasks from blocking workers indefinitelyinfo
High-frequency tasks exceeding 100ms latency degrade user satisfactionwarning
Connection pooling reduces broker latency by 27%warning
Task serialization with Pickle doubles time vs JSONwarning
Pyinstrument production profiling adds significant performance overheadwarning
Task latency spikes identified as primary bottleneck in 65% of deploymentswarning
Task execution time degradation impacts user experiencewarning
Default Prometheus histogram buckets unsuitable for Celery async task runtimewarning
High Celery queue length indicates worker processing bottleneckwarning