dramatiq.messages.failed
Total messages failedDimensions:None
Technical Annotations (32)
Configuration Parameters (8)
lazy-appsrecommended: enabledfail_fastrecommended: Truemax_retriesrecommended: 3on_failurerecommended: on_task_failure callbackretry_delayrecommended: 60consecutive_failsrecommended: 10time_limitrecommended: Use with gevent, not threadsrequeuerecommended: TrueError Signatures (3)
FileNotFoundErrorexceptionresponse.raise_for_status()exceptiondramatiq.middleware.time_limit.TimeLimitExceededexceptionCLI Commands (2)
py.test --log-cli-level=warningdiagnosticbroker.declare_queue('dlq', durable=True)remediationTechnical References (19)
builtin brokerscomponentlazy apps modecomponentcopy-on-writeconceptStubBrokercomponentRetries middlewarecomponentjsoncomponentdead_letter_queuecomponentretry_countconceptdead letter queuecomponentDLQcomponentgeventcomponentPyThreadState_SetAsyncExccomponentbroker.emit_aftercomponentBaseExceptionconceptNACKconceptbasic_nackcomponent@dramatiq.actorcomponentenqueue()componentRabbitMQ brokercomponentRelated Insights (14)
File descriptor sharing causes enqueueing failures in pre-forking serverscritical
▸
Integration tests hang when actors fail due to retry exhaustion delaywarning
▸
Non-JSON-serializable message parameters cause immediate send failurewarning
▸
Task queue failures occur silently without monitoringcritical
▸
Tasks fail permanently after exhausting retriescritical
▸
Task fails permanently after retry exhaustioncritical
▸
External API HTTP errors trigger task retrieswarning
▸
Misconfigured max_retries=0 causes immediate task failurewarning
▸
Missing circuit breaker causes cascading failures during chronic outageswarning
▸
Missing dead letter queue causes infinite retry resource exhaustionwarning
▸
TimeLimitExceeded exception during error handling causes worker thread deathcritical
▸
NACK hardcoded to not requeue sends failed messages to DLQ instead of retryingwarning
▸
Task duration exceeding time_limit triggers unwanted retrieswarning
▸
Off-by-one error in RabbitMQ broker enqueue retry countwarning
▸