Technologies/Dramatiq/dramatiq.actor.duration
DramatiqDramatiqMetric

dramatiq.actor.duration

Actor execution duration histogram
Dimensions:None
Available on:PrometheusPrometheus (1)OpenTelemetryOpenTelemetry (1)
Interface Metrics (2)
PrometheusPrometheus
Histogram of message processing duration in milliseconds
Dimensions:None
OpenTelemetryOpenTelemetry
Duration of actor execution from start to completion
Dimensions:None

Technical Annotations (6)

Configuration Parameters (4)
time_limitrecommended: 60000 (per actor) or 300000 (global)
Timeout in milliseconds: 60000=1min, 300000=5min
consumer-timeoutrecommended: 30 minutes (default)
RabbitMQ timeout for message acknowledgment before connection closure
TimeLimitrecommended: 10 minutes (default, must be < consumer-timeout)
Dramatiq middleware enforcing maximum task execution time
max_retriesrecommended: 0 or low value for long-running tasks
Default 20 retries causes excessive re-execution of killed tasks
Technical References (2)
TimeLimit middlewarecomponent@dramatiq.actorcomponent
Related Insights (4)
Task execution exceeds time limit causing terminationwarning
High retry rates degrade throughput by 40% across all queue systemswarning
RabbitMQ consumer timeout causes infinite message reprocessingcritical
Task duration exceeding time_limit triggers unwanted retrieswarning