API и worker отдают метрики, логи и трассы. Правила SLO записаны, прогон инцидентов ещё впереди.
781 B
781 B
Queue lag
Signal: messenger_queue_oldest_age_seconds is now() - min(created_at) for rows still queued. messenger_queue_depth counts queued and processing. Age is not the same number as worker duration.
- If age grows and
messenger_worker_busyis 0, the worker process is stopped or not consuming. Messages stay in RabbitMQ and inattachment_jobs. - If busy equals capacity and age still grows, the worker is saturated. Look at
messenger_job_duration_secondsand the consumer span. - A consumer span's parent is the producer span, whose parent is the API server span that accepted the upload (
traceparentstored on the job row). - Start the worker again. Depth and age return toward zero, then
QueueLagHighresolves. Do not delete the RabbitMQ volume.