Technologies/RabbitMQ/dramatiq.messages.enqueued
RabbitMQRabbitMQMetric

dramatiq.messages.enqueued

Total messages enqueued
Dimensions:None

Technical Annotations (32)

Configuration Parameters (5)
lazy-appsrecommended: enabled
uwsgi setting to load app code after worker fork, preventing file descriptor sharing
time_limitrecommended: 24 hours
allows actor to run for extended duration without timeout
heartbeat_timeoutrecommended: 300000
increased timeout in RedisBroker constructor to prevent premature worker death detection
dramatiq_queue_prefetchrecommended: 1
limits to one job per worker/process to prevent multiple duplicate executions
DEFAULT_MAX_BACKOFFrecommended: 30 minutes or less
Maximum backoff delay to prevent consumer timeout in DQ thread
Error Signatures (3)
FileNotFoundErrorexception
Pushing message '.*' onto work queue.log pattern
Received message .* with id '.*'.log pattern
CLI Commands (4)
dramatiq tasks --queues high-priority --threads 8remediation
dramatiq tasks --processes 4 --threads 8remediation
redis-cli HGETALL "dramatiq:default.msgs"diagnostic
redis-cli SMEMBERS "dramatiq:__acks__.{worker_id}.{queue}"diagnostic
Technical References (20)
builtin brokerscomponentlazy apps modecomponentcopy-on-writeconceptworker.pyfile pathwork queueconcept__heartbeats__component__acks__componentdispatch.luacomponentRedisBrokercomponentDQ consumer threadcomponentDelayed Deliverycomponentredis_message_idconceptmessage_idconceptWorkerThreadcomponentdramatiq:default.msgscomponent*.DQcomponentConsumerThreadcomponenthandle_delayed_messagescomponentenqueue()componentRabbitMQ brokercomponent
Related Insights (8)
File descriptor sharing causes enqueueing failures in pre-forking serverscritical
Missing 'Received message' log indicates worker pool exhaustionwarning
Queue depth growth indicates processing cannot keep up with incoming workwarning
Messages re-queued despite valid heartbeat during idle waitwarning
Delayed messages exceeding consumer timeout cause queue churnwarning
Delayed messages duplicated with same message_id but different redis_message_idscritical
Race condition between delayed message copy and acknowledgmentcritical
Off-by-one error in RabbitMQ broker enqueue retry countwarning