Author SHA1 Message Date
Голиков Maximillian Антон bc88e3423d docs(report): lab6 final 2026-11-23 09:05:54 +03:00
Голиков Maximillian Антон 319e0aa60b test(slo): lab6 record synthetic detection and recovery measurements 2026-11-22 21:56:18 +03:00
Голиков Maximillian Антон 01029dfc41 test(observability): lab6 measure API and worker SLO detection times 2026-11-22 20:47:52 +03:00
Голиков Maximillian Антон fc991bb906 test(prometheus): lab6 cover short and sustained budget burn 2026-11-22 19:14:36 +03:00
Голиков Maximillian Антон 153f8afbf3 feat(prometheus): lab6 add multi-window SLO burn-rate alerts 2026-11-22 18:23:43 +03:00
Голиков Maximillian Антон 9cb2c282b7 docs(REPORT): lab6 update text 2026-11-22 16:29:14 +03:00
Голиков Maximillian Антон e6b96839c9 test(observability): lab6 verify retries alerts and log delivery 2026-11-22 14:12:21 +03:00
Голиков Maximillian Антон 4cb9461d69 feat(grafana): lab6 graph worker utilization and process resources 2026-11-22 08:36:15 +03:00
Голиков Maximillian Антон 7c57c46961 feat(otel): lab6 export worker slots and process CPU and RSS 2026-11-22 07:08:47 +03:00
Голиков Maximillian Антон f5cc00cd98 fix(worker): lab6 propagate trace context to retry outbox 2026-11-22 05:23:32 +03:00
Голиков Maximillian Антон e79b144cde docs(REPORT): stash squish lab6 write report 2026-11-21 12:35:12 +03:00
Голиков Maximillian Антон 1d591d77d0 docs(evidence): all tests for 3 and 4 with results 2026-11-20 21:10:25 +03:00
Голиков Maximillian Антон 56496cfd03 feat(otel): lab6 bound exporter queues for logs and traces 2026-11-19 09:46:38 +03:00
Голиков Maximillian Антон c174190992 feat(otel): lab6 limit collector memory and batch telemetry 2026-11-19 09:19:24 +03:00
Голиков Maximillian Антон 509b5eabf7 feat(prometheus): lab6 alert on API errors and growing attachment queue 2026-11-18 09:44:27 +03:00
Голиков Maximillian Антон ada88ee980 feat(grafana): lab6 provision metrics, logs and traces data sources 2026-11-17 21:03:09 +03:00
Голиков Maximillian Антон 2f0906cbd7 feat(metrics): lab6 expose per-queue RabbitMQ metrics 2026-11-17 17:24:30 +03:00
Голиков Maximillian Антон 6f37282ee8 feat(grafana): lab6 provision metrics, logs and traces data sources 2026-11-17 15:42:08 +03:00
Голиков Maximillian Антон 94865e05a9 feat(otel): lab6 route OTLP signals through the Collector 2026-11-17 13:17:42 +03:00
Голиков Maximillian Антон 9f316d7ed7 feat(observability): lab6 add Prometheus, OpenSearch and Jaeger 2026-11-17 11:26:35 +03:00
Голиков Maximillian Антон 3460856dc9 feat(reconciler): lab6 record stale leases, recovered jobs and leadership 2026-11-17 10:54:15 +03:00
Голиков Maximillian Антон ddd72a2181 feat(reconciler): lab6 trace lease recovery and S3 cleanup 2026-11-17 08:14:41 +03:00
Голиков Maximillian Антон 44c755f00c feat(worker): lab6 record job outcomes and end-to-end readiness latency 2026-11-16 21:55:01 +03:00
Голиков Maximillian Антон 6558fb5497 feat(worker): lab6 trace pipeline steps and persist retries atomically 2026-11-16 19:01:11 +03:00
Голиков Maximillian Антон 26ee39e814 feat(rabbitmq): lab6 propagate trace context from publisher to worker 2026-11-16 17:04:32 +03:00
Голиков Maximillian Антон 2716119a20 feat(outbox): lab6 persist W3C trace context with attachment jobs 2026-11-16 16:12:21 +03:00
Голиков Maximillian Антон 472b4761d6 feat(storage): lab6 add PostgreSQL, Redis and S3 tracing and DB pool metrics 2026-11-16 14:48:07 +03:00
Голиков Maximillian Антон c403b23595 feat(http): lab6 add OTel spans, metrics, JSON logs and tracing readiness 2026-11-16 09:21:23 +03:00
Голиков Maximillian Антон 6bc501ca3e feat(telemetry): lab6 create otel middleware 2026-11-15 18:02:52 +03:00
Голиков Maximillian Антон 5fbd632874 feat(telemetry): lab6 create metrics middleware 2026-11-15 17:10:21 +03:00
Голиков Maximillian Антон 9236e82d05 feat(telemetry, main): lab6 initialize telemetry in server, worker and reconciler 2026-11-15 15:23:11 +03:00
110 changed files with 15645 additions and 141 deletions
+18 -8
View File
@@ -10,7 +10,7 @@
Перенесите минимум lab5. Бизнес-API не меняется. Должны оставаться API-реплики, БД, S3, broker и worker.
**Архитектура:** API/worker → OTLP → OTel Collector → хранилища metrics/logs/traces → Grafana; queue context связывает API и worker.
**Архитектура:** API/worker -> OTLP -> OTel Collector -> хранилища metrics/logs/traces -> Grafana; queue context связывает API и worker.
## Что сделать
@@ -25,16 +25,18 @@
- Весь минимум lab5 работает. Collector, хранилища трёх сигналов и Grafana включены в общий воспроизводимый стенд; конфиги и provisioning лежат в Git, persistent volumes сохраняют нужную историю.
- API и worker отдают OTLP в Collector. В Grafana видны: RPS/errors/duration API, успешные/ошибочные jobs и duration worker; доступны структурные логи и реальные трассы API и worker.
- Есть импортируемый dashboard, а не только screenshot. Сохраняются низкокардинальные атрибуты и идентификаторы trace/span в логах; содержимое сообщений, пароли/токены не экспортируются.
- На контролируемом запросе можно найти trace и связанный лог; на job — worker trace и лог. make test проходит при включённой телеметрии. Объяснено назначение каждого хранилища.
- На контролируемом запросе можно найти trace и связанный лог; на job - worker trace и лог. make test проходит при включённой телеметрии. Объяснено назначение каждого хранилища.
## Оценка «4»: уровень стажёра/джуна
Весь уровень 3 **и все** пункты ниже:
- W3C trace context переносится API → broker → worker; видны producer/consumer spans с корректной связью parent или link. По одному upload найдена цепочка до S3/DB результата, включая retry.
- Dashboard показывает p50/p95/p99, долю ошибок, queue depth/возраст старейшей job, DB pool и saturation worker. Приведены запросы и единицы измерения; percentile вычисляется из histogram, не средних.
- Задан проверяемый SLI/SLO и окно; сохранены alert rules минимум для высокого error rate и растущего queue lag. Alerts проверены искусственным отказом; доставка наружу не нужна, достаточно локального состояния firing/resolved.
- Collector имеет memory limiter/batch и ограниченную буферизацию/поведение при недоступном backend. Остановка telemetry-хранилища не ломает сообщения и не вызывает бесконечный рост RAM. Отчёт содержит разбор двух инцидентов и шаги диагностики.
| Критерий | Результаты на стенде и доказательства |
| --- | --- |
| W3C trace context переносится API -> broker -> worker; видны producer/consumer spans с корректной связью parent или link. По одному upload найдена цепочка до S3/DB результата, включая retry. | В трассе `836f669086d68530b17f6311900f28fe` у каждой из двух публикаций есть дочерний consumer-спан. Первая попытка завершилась с `retry`, вторая - с `ready`. [Трасса](evidence/runs/retry-20261122T092303Z/trace.json) · [Логи](evidence/runs/retry-20261122T092303Z/logs.json) · [Проверка](evidence/runs/retry-20261122T092303Z/verification.json) |
| Dashboard показывает p50/p95/p99, долю ошибок, queue depth/возраст старейшей job, DB pool и saturation worker. Приведены запросы и единицы измерения; percentile вычисляется из histogram, не средних. | В нагрузочном прогоне получено 323,45 успешного запроса/с, p50/p95/p99 - 15/31/32 мс. При остановке worker очередь выросла до 18 заданий, возраст первого достиг 263 с. [Нагрузка](evidence/runs/load-20261120T175343Z/load.json) · [Возраст очереди](evidence/runs/worker-20261120T175536Z/queue-age.json) · [Панели и запросы](infra/grafana/dashboards/messenger.json) |
| Задан проверяемый SLI/SLO и окно; сохранены alert rules минимум для высокого error rate и растущего queue lag. Alerts проверены искусственным отказом; доставка наружу не нужна, достаточно локального состояния firing/resolved. | Цель API - 99% ответов без 5xx за 24 часа. Остановка worker вызвала алерт очереди. При остановке PostgreSQL все 65 запросов вернули 503. Правило 5xx прошло через `pending` и `firing` (20 точек), итоговое состояние - `inactive`. [Алерт очереди](evidence/runs/worker-20261120T175536Z/alerts.json) · [Алерт 5xx](evidence/runs/api5xx-20261122T095633Z/alerts.json) · [Итог](evidence/runs/api5xx-20261122T095633Z/verification.json) |
| Collector имеет memory limiter/batch и ограниченную буферизацию/поведение при недоступном backend. Остановка telemetry-хранилища не ломает сообщения и не вызывает бесконечный рост RAM. Отчёт содержит разбор двух инцидентов и шаги диагностики. | При отключённом OpenSearch все 12 вложений дошли до `ready`. В 12 замерах Collector использовал 70,62–83,69 МиБ и 0,13–1,33% CPU. К концу 180-секундной сверки в индексе найдены обе контрольные записи до и после сбоя и ни одна из 12 записей периода отказа. [События и замеры](evidence/runs/opensearch-20261122T105256Z/events.jsonl) · [Сверка доставки](evidence/runs/opensearch-20261122T105256Z/log-delivery.json) |
## Оценка «5»: исследование и доказанный результат
@@ -55,7 +57,7 @@ make check
make test
```
`.env.example`, `compose.example.yaml` и `contracts/infrastructure.json` описывают настройки и роли компонентов. **compose.example.yaml — список ролей с пустым services, не запускаемый стенд.** Реализуйте свой `compose.yaml`/`stack.yaml`, закрепите версии образов, заполните локальный `.env` и опишите bootstrap/миграции. Все зависимости поднимаются из этого репозитория; ссылка «у меня БД уже установлена» не заменяет воспроизводимость.
`.env.example`, `compose.example.yaml` и `contracts/infrastructure.json` описывают настройки и роли компонентов. **compose.example.yaml - список ролей с пустым services, не запускаемый стенд.** Реализуйте свой `compose.yaml`/`stack.yaml`, закрепите версии образов, заполните локальный `.env` и опишите bootstrap/миграции. Все зависимости поднимаются из этого репозитория; ссылка «у меня БД уже установлена» не заменяет воспроизводимость.
```sh
# Compose-вариант после реализации:
@@ -66,7 +68,7 @@ docker compose --env-file .env up -d --build
```
Примеры запросов доступны в `examples/requests.http`, примеры JSON — в `contracts/examples.json`. Для полной проверки схемы (по желанию локально; CI делает её автоматически):
Примеры запросов доступны в `examples/requests.http`, примеры JSON - в `contracts/examples.json`. Для полной проверки схемы (по желанию локально; CI делает её автоматически):
```sh
python3 -m venv .venv
@@ -76,6 +78,14 @@ make validate PYTHON=.venv/bin/python
Smoke не выставляет оценку автоматически. Проверку сохранности/отказов запускайте явно по [tests/README.md](tests/README.md), остальные доказательства приведите в отчёте.
Дополнительные проверки запускаются из корня проекта на готовом стенде. Результаты сохраняются в `evidence/runs/`.
```bash
python student-tests/retry_api5xx_telemetry.py retry
python student-tests/retry_api5xx_telemetry.py api5xx
python student-tests/retry_api5xx_telemetry.py telemetry
```
## Сценарий защиты
1. С нуля поднять стенд, импортировать provisioning без ручного набора dashboard, запустить smoke и нагрузку.
+231 -19
View File
@@ -1,37 +1,249 @@
# Отчёт — лабораторная 6
# Отчёт — лабораторная 6. Наблюдаемость
- Автор, группа: TODO
- Целевая оценка; выбранный трек 5, если нужен: TODO
- Commit/PR: TODO после публикации
- Использованные источники, библиотеки и помощь ИИ: TODO
- **Автор, группа** — Голиков Антон, БВТ2303.
- **Целевая оценка** — 5, трек 2 "SLO и обнаружение инцидентов".
- **Ветка** — `solution/BVT2303-Golikov`. Ссылка на PR появится после публикации.
- **Источники и библиотеки** — [задание](README.md), [контракт наблюдаемости](contracts/observability.md), OpenTelemetry Go, Gin, pgx, go-redis, MinIO SDK и amqp091-go. Для настройки использованы документация OpenTelemetry Collector, Prometheus и Grafana и реализация предыдущих лабораторных.
- **Помощь ИИ** — ChatGPT использовался для создания скриптов экспериментов и отчёта. Результаты в отчёте взяты из сохранённых прогонов на моем пк.
## Запуск из чистого clone
TODO: версии runtime/образов, prerequisites, команды создания локальных secrets/.env, build, миграций, запуска, ожидания готовности, тестов и остановки. Указать необходимые действия оператора. Не вставлять секреты. Отдельно указать безопасную остановку и команду намеренного удаления учебных данных.
Нужны Git, Docker с Compose v2, Bash, OpenSSL и Python 3.9+. Для команд `make` нужен GNU Make. В Docker приложение собирается на Go 1.26.1, финальный образ использует Alpine 3.20. На Windows команды ниже рассчитаны на Git Bash и запущенный Docker Desktop.
После клонирования своего fork перейти в корень репозитория и выполнить:
```bash
git checkout solution/BVT2303-Golikov
cp .env.example .env
mkdir -p secrets
umask 077
pg_pw=$(openssl rand -hex 16)
printf '%s' "$pg_pw" > secrets/postgres_password
printf 'postgres://messenger:%s@postgres:5432/messenger?sslmode=disable' "$pg_pw" \
> secrets/database_url
printf '%s' 'redis://redis:6379/0' > secrets/cache_url
printf '%s' 'messenger-minio-root' > secrets/minio_root_user
printf '%s' "$(openssl rand -hex 24)" > secrets/minio_root_password
printf '%s' 'messenger-api' > secrets/s3_access_key_id
printf '%s' "$(openssl rand -hex 24)" > secrets/s3_secret_access_key
unset pg_pw
```
В локальном `.env` задать собственное значение `RABBITMQ_PASSWORD` в URL-совместимом формате, например случайную hex-строку. Compose использует это значение и для RabbitMQ, и для URL подключения API/worker. Если запускать приложение напрямую с переменными из `.env`, синхронизировать также `RABBITMQ_URL`. Задать `GRAFANA_ADMIN_PASSWORD`. Файл `.env` и каталог `secrets/` остаются локальными.
| Настройка | Значение по умолчанию и назначение |
| --- | --- |
| `LB_PORT`, `API_REPLICAS` | `8080`, две реплики API за nginx |
| `SESSION_STORE` | Compose задаёт API значение `redis`. |
| `S3_ENDPOINT`, `S3_BUCKET` | Compose задаёт endpoint `http://minio:9000`, имя bucket по умолчанию — `messenger-attachments`. |
| `OUTBOX_INTERVAL_MS`, `WORKER_CONCURRENCY`, `JOB_MAX_ATTEMPTS` | Опрос outbox раз в 1000 мс, параллельность worker 2, до 5 попыток |
| `RECONCILER_INTERVAL_SECONDS` | 60 секунд в примере конфигурации стенда |
| `OTEL_EXPORTER_OTLP_ENDPOINT`, `OTEL_METRIC_EXPORT_INTERVAL` | `http://otel-collector:4318`, отправка метрик SDK каждые 15 секунд |
| `GRAFANA_PORT` | `3000`, опубликован на localhost |
```bash
docker compose --env-file .env config --quiet
docker compose --env-file .env up -d --build
docker compose ps -a
curl -fsS http://localhost:8080/health/ready
make test PYTHON=python
```
При первом запуске дождаться HTTP 200 на `/health/ready`. Сервис `migrate` применяет миграции PostgreSQL, `mc-init` создаёт bucket и права сервисной учётной записи в MinIO. Для этих двух контейнеров ожидается завершение с кодом 0. Бизнес-запросы идут на `http://localhost:8080`. В Grafana на `http://localhost:3000` открывается провижининговый дашборд "Мессенджер — наблюдаемость". Prometheus, Jaeger, OpenSearch и OTLP доступны внутри Compose. Для чистой пересборки контейнеров используется `bash scripts/rebuild.sh`.
`docker compose stop` останавливает стенд с сохранением данных. `docker compose down` убирает контейнеры и сеть с сохранением именованных томов. Для намеренного удаления **учебных данных и истории наблюдаемости** используется `docker compose down -v`.
## Архитектура и решения
TODO: схема процессов/хранилищ, источник истины, транзакционные границы, ограничения. Что перенесено из lab5, что изменено в этой работе. Соответствие переменных из .env.example реальной конфигурации.
```mermaid
flowchart TD
Client[Клиент] --> LB[nginx]
LB --> API[Реплики API]
API --> DB[(PostgreSQL и outbox)]
API --> S3[(MinIO)]
API --> Redis[(Redis)]
DB --> Publisher[Публикатор outbox]
Publisher --> Queue[RabbitMQ]
Queue --> Worker[Worker]
Worker --> DB
Worker --> S3
Reconciler[Reconciler] --> DB
```
Из lab5 перенесены бизнес-API, асинхронная обработка вложений, outbox, повторные попытки и восстановление задач по lease. PostgreSQL хранит состояние вложений и заданий. MinIO хранит оригиналы и варианты картинок. RabbitMQ доставляет задания. Redis используется для сессий при конфигурации по умолчанию. Reconciler работает отдельным процессом, получает лидерство и восстанавливает задачи с истёкшим lease.
API валидирует файл и пишет исходник в staging S3. Состояние вложения и событие outbox сохраняются в одной транзакции PostgreSQL. Публикатор отправляет событие в RabbitMQ с подтверждением публикации. Worker захватывает задание с учётом версии pipeline и lease, читает и обрабатывает изображение, записывает варианты в S3 и фиксирует результат в БД. Переход в `ready` происходит после записи вариантов. При временной ошибке сохраняется повторная попытка, исчерпание допустимых попыток фиксируется как `failed`. Транзакция БД не охватывает S3, поэтому несвязанные staging-объекты обрабатываются по правилам очистки.
### Путь сигналов
| Сигнал | Как поступает | Хранилище и просмотр |
| --- | --- | --- |
| Метрики | API, worker и Reconciler отправляют OTLP в Collector. Prometheus опрашивает Collector и RabbitMQ каждые 15 секунд. | Prometheus 3.16.0, дашборд и Explore в Grafana |
| Логи | Структурированный JSON в stdout и OTLP через Collector. | OpenSearch 2.19.7, индекс `messenger-logs*` и Explore |
| Трассы | OpenTelemetry SDK → OTLP → Collector → Jaeger. | Jaeger 1.76.0, источник Jaeger в Grafana |
| Интерфейс | Datasources и дашборд загружаются из файлов при запуске. | Grafana 13.3.0, [datasources](infra/grafana/provisioning/datasources/observability.yaml), [дашборд](infra/grafana/dashboards/messenger.json) |
Используется Collector Contrib 0.135.0 и OTel Go SDK 1.47.0. OTLP-приёмники Collector слушают 4317 (gRPC) и 4318 (HTTP) внутри сети Compose. По умолчанию трассы корневых запросов записываются, а дочерние наследуют решение родителя. Ресурсные атрибуты включают `service.name`, `service.version`, `service.instance.id` и `deployment.environment.name`. Метки HTTP используют метод, шаблон маршрута и класс статуса. Технические идентификаторы запросов и трасс остаются в логах и трассах. В инструментации нет записи тел сообщений, изображений и заголовка Authorization.
Проверка `/health/ready` выполняется внутри спана `health.ready`. Операции pgx, обращения к Redis и S3 создают отдельные спаны. При загрузке API сохраняет W3C `traceparent` и, при наличии, `tracestate` в заголовках outbox. Публикатор восстанавливает родительский контекст и передаёт его дальше в AMQP. Worker извлекает его из сообщения, создаёт consumer-спан и спаны `job.claim`, `job.s3.get`, `job.image.process`, `job.s3.put` и `job.db.complete`. Логи API и worker содержат `trace_id` и `span_id` при активном спане.
### Устойчивость OTel Collector
Во всех трёх конвейерах первым работает `memory_limiter`. Проверка выполняется раз в секунду. При превышении мягкого порога **192 МиБ** Collector начинает отклонять входящие данные с ошибкой для повторной отправки. При превышении **256 МиБ** инициирует сборку мусора. Порог относится к памяти кучи и измеряется периодически.
`batch` запускает отправку при накоплении 256 элементов или по таймауту 1 с, максимальный размер пакета — 512 элементов. У OpenSearch и Jaeger отдельные очереди в памяти на 64 запроса экспорта и по два отправителя. При длительной недоступности хранилища очередь может заполниться и часть телеметрии может потеряться. Бизнес-задания доставляются через RabbitMQ. Конфигурация находится в [infra/otel-collector.yaml](infra/otel-collector.yaml).
## Доказательства критериев
| Критерий README | Команда/сценарий | Наблюдаемый результат | Файл доказательства |
| --- | --- | --- | --- |
| Публичный smoke | make test | TODO | TODO |
| Остальные пункты уровня 3 | TODO | TODO | TODO |
| Все пункты уровня 4, если заявлен | TODO | TODO | TODO |
| Выбранный трек 5, если заявлен | TODO | TODO | TODO |
| Критерий | Действие и наблюдение | Доказательство |
| --- | --- | --- |
| Публичный smoke | Публичный сценарий API завершился с `PASS` при поднятом стеке телеметрии. | [smoke.txt](evidence/runs/load-20261120T175343Z/smoke.txt) |
| Метрики API | Проведён 60-секундный тест записи сообщений. В JSON есть успешные RPS, ошибки и p50/p95/p99. | [load.json](evidence/runs/load-20261120T175343Z/load.json) |
| Дашборд и источники | Provisioning описывает все три источника. Графики очереди и доступности потребителей зафиксированы на учебном стенде. | [дашборд](infra/grafana/dashboards/messenger.json), [снимок Grafana](evidence/hand_alert.jpg) |
| Трасса API → RabbitMQ → worker | Одна трасса включает HTTP upload, `attachments publish`, `attachments.process process` и операции S3/DB до готовности. | [трасса 128a933e…](evidence/runs/minio-20261120T180401Z/trace-128a933e45668d7e2a5605ef63a115eb.json) |
| Корреляция логов и трасс | Для запросов теста MinIO сохранены события API и worker с идентификаторами трасс и спанов. | [logs.jsonl](evidence/runs/minio-20261120T180401Z/logs.jsonl) |
| Очередь и состояние правила | Есть измерения возраста и глубины очереди и переход `pending` → `firing` → исчезновение серии. | [возраст очереди](evidence/runs/worker-20261120T175536Z/queue-age.json), [серии алерта](evidence/runs/worker-20261120T175536Z/alerts.json) |
| Синтетические тесты правил | `promtool` на стенде вывел `SUCCESS`. Тесты проверяют срабатывание и выход из `firing` обоих правил. | [тестовые сценарии](infra/prometheus/tests/messenger.test.yml) |
| Недоступность хранилища телеметрии | Во время остановки OpenSearch API принимал вложения, worker продолжал их обрабатывать. Сохранены замеры памяти и CPU Collector. | [events.jsonl](evidence/runs/opensearch-20261120T180605Z/events.jsonl) |
| Обнаружение длительной деградации API | При остановке PostgreSQL на 180,4 с правило перешло в `firing` через 147,4 с. На фоне и при коротком отказе срабатываний было 0. | [Сводка](evidence/track5/runs/api-20261122T184505Z/summary.json), [ряд алерта](evidence/track5/runs/api-20261122T184505Z/alerts.json) |
| Время до готовности вложений | При остановке worker на 17 с срабатываний было 0. При остановке на 181,7 с правило перешло в firing через 251 с от начала отказа. | [Сводка](evidence/track5/runs/ready-20261122T194343Z/summary.json), [протокол promtool](evidence/track5/promtool.txt) |
TODO: добавить отдельную строку для каждого заявленного критерия. PASS без команды и наблюдения не является доказательством. Проверка инфраструктурного hook требует подтверждения, какие реальные процессы/хранилища перезапущены.
### Метрики и запросы
| Сигнал | Выражение или смысл | Единица |
| --- | --- | --- |
| RPS API | `sum(rate(http_requests_total{service_name="messenger-api",http_route=~"/api/.*"}[5m]))` | запросы/с |
| Доля 5xx | Скорость роста HTTP-счётчика с `http_response_status_class="5xx"`, делённая на скорость роста общего счётчика бизнес-маршрутов. В Grafana результат умножен на 100. | % |
| Задержка API | `histogram_quantile(0.95, sum by (le) (rate(http_request_duration_seconds_bucket{service_name="messenger-api",http_route=~"/api/.*"}[5m])))`. Для p50/p99 используются 0.50 и 0.99. | с |
| Очередь RabbitMQ | `rabbitmq_detailed_queue_messages`, `rabbitmq_detailed_queue_messages_ready`, `rabbitmq_detailed_queue_messages_unacked` для `attachments.process`. | сообщения |
| Возраст первого задания | `clamp_min(time() - (rabbitmq_detailed_queue_head_message_timestamp{queue="attachments.process"} > 0), 0)`. Для пустой очереди ряд может отсутствовать. | с |
| Доступность потребителей | `100 * rabbitmq_detailed_queue_consumer_capacity{queue="attachments.process"}`. Вместе с backlog и unacked используется для диагностики насыщения. | % |
| Пул PostgreSQL | `db_pool_connections{state="used"}`, `state="idle"`, `state="max"`, `db_pool_waiting` и гистограмма `db_pool_acquire_duration_seconds`. | соединения / ожидающие / с |
| Попытки worker | `sum by (outcome) (rate(jobs_processed_total[5m]))`. Задержка попытки берётся из `job_processing_duration_seconds_bucket`. | попытки/с, с |
| Время до готовности | `histogram_quantile(0.95, sum by (le) (rate(end_to_end_ready_seconds_bucket[5m])))`. От принятия вложения до перехода в `ready`. | с |
| Reconciler | `reconciler_stale_leases_total`, `reconciler_recovered_jobs_total`, `reconciler_leader`. | задачи, 0/1 |
Перцентили вычисляются после сложения скоростей роста buckets по `le` со всех реплик. В дашборде окно для `rate` подбирает `$__rate_interval`.
### SLI и SLO для учебного стенда
SLI доступности API — доля ответов бизнес-маршрутов `/api/.*` без статуса 5xx среди всех наблюдаемых ответов за окно. Health, ответы балансировщика без спана API и запросы без зарегистрированного HTTP-ответа не входят в этот серверный SLI. Окно без трафика означает отсутствие измерения.
Учебная цель — **не менее 99% ответов без 5xx за 24 часа**. Это выбранный порог для стенда. Его можно проверить по счётчикам за сутки:
```promql
1 - (
sum(increase(http_requests_total{service_name="messenger-api",http_route=~"/api/.*",http_response_status_class="5xx"}[24h]))
or
0 * sum(increase(http_requests_total{service_name="messenger-api",http_route=~"/api/.*"}[24h]))
)
/
(sum(increase(http_requests_total{service_name="messenger-api",http_route=~"/api/.*"}[24h])) > 0)
```
Суточное достижение цели по одному 60-секундному прогону не оценивалось. Алерты ниже обнаруживают короткие деградации по своим порогам.
Для вложений учебная цель — **95% завершённых вложений достигают ready за 30 с в пределах суточного окна**. Порог задаёт допустимое интерактивное ожидание и совпадает с границей бакета. Доля быстрых завершений равна приросту бакета `end_to_end_ready_seconds_bucket{le=~"30|30[.]0"}`, делённому на прирост `end_to_end_ready_seconds_count`. Пока worker остановлен, незавершённые задания видны по очереди. В гистограмму их задержка попадёт после обработки.
Гипотеза трека — одновременное превышение порога в окнах 1 и 5 минут позволяет пропустить одиночный всплеск и обнаружить устойчивую деградацию. Порог в шесть бюджетов ошибок соответствует доле 5xx выше 6% для API и доле медленных завершений выше 30% для вложений. Условие должно сохраняться 60 с для API и 30 с для worker. [Правила Prometheus](infra/prometheus/rules/slo.yml)
## Эксперименты и отказы
TODO: гипотеза, hardware/лимиты, версии, объём данных, профиль нагрузки, concurrency/arrival rate, длительность/прогрев, повторы, успешные RPS, ошибки, p50/p95/p99, CPU/RAM. Сохранить raw summary без tokens и объяснить ограничения измерения.
В именах каталогов и событиях используется UTC. Зафиксированное окно нагрузки — **60,047 с**, четыре клиента, непрерывные синтетические POST-запросы записи сообщений. Следующий запрос клиента запускается после ответа на предыдущий. Выполнен один зачётный замер без отдельного замера прогрева.
| Воздействие | Что ожидаем | Что наблюдали | Время восстановления / потеря данных |
| --- | --- | --- | --- |
| TODO | TODO | TODO | TODO |
Результат — **19 422 успешных запроса**, **4 ошибки**, **323,447 успешных запроса/с**. Доля ошибок по клиентскому тесту — **0,0206%**. p50/p95/p99 успешных запросов — **15/31/32 мс**. Перцентили включают задержку клиента и не включают неуспешные запросы. Compose задаёт по умолчанию лимиты API 0,5 CPU и 256 МиБ на реплику, PostgreSQL 1 CPU и 1 ГиБ, MinIO 0,5 CPU и 512 МиБ. Модель CPU, фактически применённые переопределения лимитов, размер БД и CPU/RAM приложения в нагрузочном прогоне не записаны.
```bash
bash student-tests/evidence_collect.sh load
bash student-tests/evidence_collect.sh worker
bash student-tests/evidence_collect.sh postgres
bash student-tests/evidence_collect.sh minio
bash student-tests/evidence_collect.sh opensearch
```
Сценарии запускались последовательно. Проверочные запросы выполнялись до остановки, во время отказа и после повторного запуска сервиса. Скрипт сохраняет результаты в `evidence/runs/`.
### Инцидент A — остановка worker
Отправили 18 вложений с интервалом 15 с при остановленном worker. Пока потребителей не было, `messages_ready` вырос до 18, возраст первого задания достиг **263 с**. Правило очереди перешло в `pending`, затем в `firing`. Последняя сохранённая точка `firing` — **18:00:21 UTC**. К последней точке выборки ожидающих заданий было **0**, активной серии правила больше не было. Из графика очереди нельзя определить итоговый статус каждого вложения.
Данные — [журнал отправки](evidence/runs/worker-20261120T175536Z/worker-run.txt), [глубина очереди](evidence/runs/worker-20261120T175536Z/queue.json), [потребители](evidence/runs/worker-20261120T175536Z/consumers.json).
В опыте трека 2 при длительной остановке worker API принял 36 вложений (HTTP 202). Первая точка firing появилась через 69,3 с после запуска worker, когда в гистограмме отразились задержки завершённых заданий. Зафиксированы две точки pending и одна firing с шагом 15 с. Через 84,3 с после запуска ряд firing исчез. В длинном сценарии успешный сбор виден в 40 из 40 точек, оба отношения вычислены в 30 из 40. На фоне и при коротком сбое в проверенных точках оба отношения присутствовали, переходов в firing было 0. [Сводка](evidence/track5/runs/ready-20261122T194343Z/summary.json) · [Состояния правила](evidence/track5/runs/ready-20261122T194343Z/alerts.json) · [Хронология](evidence/track5/runs/ready-20261122T194343Z/timeline.json)
### Инцидент B — остановка MinIO
Во время остановки MinIO с **18:04:04 до 18:05:23 UTC** API шесть раз вернул **503** на POST загрузки. Во всех шести попытках клиент дождался своего таймаута. HTTP 503 подтверждены по серверным логам с соответствующими `trace_id`. В Jaeger-сводке трассы `24c3a9d8…` ошибка зафиксирована в `s3.PUT`. До и после опыта загрузка получила **202** и дошла до `ready`. Это локализует отказ в S3 на приёме вложения.
Данные — [события](evidence/runs/minio-20261120T180401Z/events.jsonl), [логи](evidence/runs/minio-20261120T180401Z/logs.jsonl), [ошибочная трасса](evidence/runs/minio-20261120T180401Z/trace-24c3a9d8a31d7c474cfb76a98b00bb4c.json).
### Дополнительная проверка — остановка PostgreSQL
PostgreSQL остановили с **18:02:27 до 18:03:12 UTC**. До и после опыта `GET /api/v1/chats` вернул **200**, во время отказа все шесть запросов вернули **503**. Серверный спан и `postgresql.acquire` в трассе `ae890f79…` отмечены ошибкой. По дочернему спану причина локализуется на получении соединения с БД.
Данные — [события](evidence/runs/postgres-20261120T180223Z/events.jsonl), [логи](evidence/runs/postgres-20261120T180223Z/logs.jsonl), [ошибочная трасса](evidence/runs/postgres-20261120T180223Z/trace-ae890f79b569dbc98394a702f448e4c4.json).
В отдельном опыте с правилом `MessengerAPIBudgetBurn` скрипт поддерживал запросы к списку чатов и дважды останавливал PostgreSQL. При фоновом трафике все 294 запроса вернули 200. Шаг наблюдения составил 15 с. [Скрипт](student-tests/slo_experiment.py) · [Хронология](evidence/track5/runs/api-20261122T184505Z/timeline.json) · [Ответы API](evidence/track5/runs/api-20261122T184505Z/probes.jsonl)
| Сценарий | Ответы во время отказа | Поведение правила |
| --- | --- | --- |
| Остановка PostgreSQL на 15,6 с | 4 ответа 503 | 0 переходов в `firing` за короткий отказ и последующее наблюдение до второго отказа |
| Остановка PostgreSQL на 180,4 с | 45 ответов 503 | Через 147,4 с от начала отказа получена первая точка `firing`. Через 72,1 с от запуска БД ряд исчез. За период восстановления получено 408 ответов 200 |
Оба окна метрики и успешный сбор присутствовали во всех проверенных точках фона (12/12), короткого сценария (25/25) и длительного сценария с восстановлением (40/40). В длительном сценарии видны четыре последовательные точки `pending` и семь точек `firing`. Гипотеза подтвердилась для этого профиля нагрузки. Один прогон не позволяет оценить частоту ложных тревог за сутки. [Ряд алерта](evidence/track5/runs/api-20261122T184505Z/alerts.json) · [Полнота данных](evidence/track5/runs/api-20261122T184505Z/summary.json)
### Дополнительная проверка — остановка OpenSearch
OpenSearch был выключен примерно **85 с**. За это время API принял **12 вложений** с HTTP 202. Для **11** скрипт подтвердил `ready`. Для оставшегося вложения один запрос проверки статуса получил **503**, поэтому его итог в этом прогоне не подтверждён. После запуска OpenSearch повторная загрузка и проверка готовности прошли. В 12 замерах Collector использовал **68,46–82,02 МиБ** памяти и **0,09–2,03% CPU** по `docker stats`. Точное число потерянных логов в опыте не измерялось.
Данные — [события и замеры Collector](evidence/runs/opensearch-20261120T180605Z/events.jsonl), [логи stdout API и worker](evidence/runs/opensearch-20261120T180605Z/logs.jsonl).
## Алерты Prometheus
[Правила](infra/prometheus/rules/messenger.yml) оцениваются каждые 15 с. В Grafana Explore с источником Prometheus состояние видно запросом `ALERTS{alertstate=~"pending|firing"}`.
| Алерт | Условие | Удержание |
| --- | --- | --- |
| `MessengerHighAPIErrorRate` | Доля 5xx на бизнес-маршрутах API выше 5%, при общем трафике не ниже 0,2 запроса/с за 5 минут. | 2 минуты |
| `MessengerGrowingAttachmentQueue` | В `attachments.process` как минимум 5 ожидающих сообщений и положительный наклон глубины за 5 минут. | 2 минуты |
### Высокая доля ошибок API
Установить интервал вокруг появления 5xx и посмотреть RPS и процент ошибок. Найти запись о завершении запроса с 5xx в OpenSearch, взять `trace_id` и открыть ту же трассу в Jaeger. Если ошибка на `postgresql.acquire`, проверить PostgreSQL и ожидание пула. Если ошибка на `s3.PUT`, проверить MinIO. После восстановления повторить бизнес-запрос и проверить уменьшение доли ошибок. Для этого правила подтверждён синтетический переход в `firing` и выход из него. Реальные 503 подтверждены опытами с PostgreSQL и MinIO, живой `firing` правила 5xx в этих опытах не зафиксирован.
### Растущая очередь вложений
Сравнить ожидающие сообщения, сообщения без подтверждения, возраст старейшего задания и доступность потребителей. При остановленном worker запустить `docker compose start worker`. При работающем worker проверить `jobs_processed_total` по `outcome` и открыть consumer-трассу задания. Сверить спаны чтения S3, обработки изображения, записи вариантов и завершения в PostgreSQL. После восстановления очередь должна уменьшаться, а активная серия алерта исчезнуть.
### Проверка на искусственном сбое
В Git Bash из корня репозитория:
```bash
MSYS2_ARG_CONV_EXCL='*' docker run --rm \
--mount "type=bind,source=$(pwd -W),target=/work,readonly" \
-w /work --entrypoint /bin/promtool prom/prometheus:v3.16.0 \
test rules infra/prometheus/tests/messenger.test.yml
```
Я получил `SUCCESS`. Для живой проверки использован `bash student-tests/hand_alert.sh` через скрипт сбора доказательств. На [снимке первого прогона](evidence/hand_alert.jpg) видно состояние `pending`. В повторном прогоне [сохранённые данные Prometheus](evidence/runs/worker-20261120T175536Z/alerts.json) показывают восемь точек `pending`, шесть точек `firing` и исчезновение активной серии после запуска worker.
Оба файла тестов правил прошли `promtool`. В синтетическом опыте всплеск длительностью 15 с дал ноль срабатываний для обоих SLO. При деградации 240 с каждое правило сработало один раз. Обнаружение заняло 90 с для API и 120 с для вложений, снятие — по 45 с после окончания сигнала. Для вложений отсчёт идёт от появления медленных завершений. [Протокол тестов](evidence/track5/promtool.txt) · [Результаты](evidence/track5/synthetic-results.json)
### SLO API
При `MessengerAPIBudgetBurn` сопоставить доли 5xx за 1 и 5 минут с порогом 0,06. Затем по инструкции "Высокая доля ошибок API" проверить ошибочный запрос в OpenSearch и найти проблемную зависимость по трассе. Восстановление подтвердить ответами 200 и исчезновением серии `firing`.
### SLO ready
При `MessengerReadyBudgetBurn` проверить долю завершений дольше 30 с в обоих окнах. Рост очереди при отсутствии потребителей указывает на остановку worker. Если потребитель доступен, открыть трассу медленного задания и сравнить длительности чтения S3, обработки изображения, записи S3 и завершения в БД. После восстановления проверить уменьшение очереди, доли медленных завершений и снятие алерта.
## Ограничения и следующие шаги
TODO: какие отказы выдерживаются и какие нет; что не реализовано; где учебное упрощение; какое улучшение подтверждено, а какое пока гипотеза.
- Результаты нагрузки описывают один локальный прогон, четыре параллельных клиента и синтетические сообщения. Из них нельзя вывести максимальную производительность сервиса.
- Доступность потребителей RabbitMQ используется как индикатор насыщения вместе с глубиной очереди и исходами worker. Точная занятость слотов worker и постоянные ряды CPU/RAM всех контейнеров в дашборде отсутствуют. Для отказа OpenSearch CPU/RAM Collector измерены отдельно.
- Гистограмма времени до готовности получает наблюдение при переходе в `ready`. Задания, ещё ожидающие обработки или окончательно завершившиеся ошибкой, учитываются через очередь и исходы попыток.
- Сохранённая успешная трасса демонстрирует один проход от upload до результата. Отдельная трасса полного цикла job retry в приложенных материалах отсутствует.
- Память Collector измерялась во время короткого отказа OpenSearch. Размер потерь логов и поведение при длительном заполнении очереди отправки отдельно не измерялись.
+42 -6
View File
@@ -4,6 +4,8 @@ import (
"context"
"errors"
"log"
"log/slog"
"os"
"os/signal"
"syscall"
"time"
@@ -13,6 +15,7 @@ import (
"high-loud-apps-labs/internal/service"
"high-loud-apps-labs/internal/storage/postgres"
s3store "high-loud-apps-labs/internal/storage/s3"
"high-loud-apps-labs/internal/telemetry"
)
func main() {
@@ -26,8 +29,31 @@ func main() {
// return
// }
instanceID := os.Getenv("INSTANCE_ID")
if instanceID == "" {
instanceID, _ = os.Hostname()
}
tel, err := telemetry.Setup(context.Background(), telemetry.SetupConfig{
ServiceName: "messenger-reconciler",
ServiceVersion: "1.6.0",
InstanceID: instanceID,
Environment: "lab",
})
if err != nil {
log.Fatalf("reconciler: телеметрия: %v", err)
}
defer func() {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
if err := tel.Shutdown(ctx); err != nil {
log.Printf("reconciler: остановка телеметрии: %v", err)
}
}()
slog.SetDefault(tel.Logger)
if !cfg.S3Configured() {
log.Fatal("reconciler: S3 не настроен: задайте S3_ENDPOINT, S3_BUCKET, S3_ACCESS_KEY_ID_FILE/S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY_FILE/S3_SECRET_ACCESS_KEY")
slog.Error("reconciler: S3 не настроен: задайте S3_ENDPOINT, S3_BUCKET, S3_ACCESS_KEY_ID_FILE/S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY_FILE/S3_SECRET_ACCESS_KEY")
os.Exit(1)
}
ctx := context.Background()
@@ -41,10 +67,18 @@ func main() {
ConnectTimeout: 5 * time.Second,
})
if err != nil {
log.Fatalf("reconciler: БД: %v", err)
slog.Error("reconciler: ошибка БД", "error", err)
os.Exit(1)
}
defer pool.Close()
registration, err := postgres.ObservePool(pool)
if err != nil {
slog.Warn("Не удалось зарегистрировать метрики пула", "error", err)
} else {
defer registration.Unregister()
}
store := postgres.New(pool)
objectStorage, err := s3store.New(ctx, s3store.Config{
@@ -58,9 +92,11 @@ func main() {
if err != nil {
var unavailable *domain.UnavailableError
if errors.As(err, &unavailable) {
log.Fatalf("reconciler: s3: %v (reason: %s)", err, unavailable.Reason)
slog.Error("reconciler: ошибка s3", "error", err, "reason", unavailable.Reason)
} else {
slog.Error("reconciler: ошибка s3", "error", err)
}
log.Fatalf("reconciler: s3: %v", err)
os.Exit(1)
}
rec := service.NewReconciler(
@@ -74,7 +110,7 @@ func main() {
runCtx, stop := signal.NotifyContext(ctx, syscall.SIGINT, syscall.SIGTERM)
defer stop()
log.Printf("reconciler: запущен (interval=%s, grace=%s)", cfg.ReconcilerInterval, cfg.ReconcilerGracePeriod)
slog.Info("reconciler: запущен", "interval", cfg.ReconcilerInterval, "grace", cfg.ReconcilerGracePeriod)
rec.Run(runCtx, cfg.ReconcilerInterval)
log.Println("reconciler: остановлен")
slog.Info("reconciler: остановлен")
}
+50 -12
View File
@@ -5,6 +5,7 @@ import (
"errors"
"fmt"
"log"
"log/slog"
"net/http"
"os"
"os/signal"
@@ -24,6 +25,7 @@ import (
"high-loud-apps-labs/internal/storage/postgres"
redisstore "high-loud-apps-labs/internal/storage/redis"
s3store "high-loud-apps-labs/internal/storage/s3"
"high-loud-apps-labs/internal/telemetry"
)
func main() {
@@ -39,6 +41,29 @@ func main() {
log.Fatalf("конфигурация: %v", err)
}
instanceID := os.Getenv("INSTANCE_ID")
if instanceID == "" {
instanceID, _ = os.Hostname()
}
tel, err := telemetry.Setup(context.Background(), telemetry.SetupConfig{
ServiceName: "messenger-api",
ServiceVersion: "1.6.0",
InstanceID: instanceID,
Environment: "lab",
})
if err != nil {
log.Fatalf("телеметрия: %v", err)
}
defer func() {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
if err := tel.Shutdown(ctx); err != nil {
log.Printf("остановка телеметрии: %v", err)
}
}()
// Делаем логгер глобальным для всего приложения
slog.SetDefault(tel.Logger)
addr := cfg.Host + ":" + cfg.Port
ctx := context.Background()
@@ -51,15 +76,24 @@ func main() {
ConnectTimeout: 5 * time.Second,
})
if err != nil {
log.Fatalf("БД: %v", err)
slog.Error("Ошибка подключения к БД", "error", err)
os.Exit(1)
}
defer pool.Close()
registration, err := postgres.ObservePool(pool)
if err != nil {
slog.Warn("Не удалось зарегистрировать метрики пула", "error", err)
} else {
defer registration.Unregister()
}
store := postgres.New(pool)
rabbitPub, err := broker.NewRabbitPublisher(cfg.RabbitMQURL)
if err != nil {
log.Fatalf("rabbitmq: %v", err)
slog.Error("Ошибка подключения к RabbitMQ", "error", err)
os.Exit(1)
}
defer rabbitPub.Close()
@@ -79,7 +113,8 @@ func main() {
messageSvc := service.NewMessageService(store.Messages(), store.Chats(), cfg.IdempotencyTTL)
if !cfg.S3Configured() {
log.Fatal("S3 не настроен: задайте S3_ENDPOINT, S3_BUCKET, S3_ACCESS_KEY_ID_FILE/S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY_FILE/S3_SECRET_ACCESS_KEY")
slog.Error("S3 не настроен: задайте S3_ENDPOINT, S3_BUCKET, S3_ACCESS_KEY_ID_FILE/S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY_FILE/S3_SECRET_ACCESS_KEY")
os.Exit(1)
}
objectStorage, err := s3store.New(ctx, s3store.Config{
@@ -93,9 +128,11 @@ func main() {
if err != nil {
var unavailable *domain.UnavailableError
if errors.As(err, &unavailable) {
log.Fatalf("s3: %v (reason: %s)", err, unavailable.Reason)
slog.Error("Ошибка S3", "error", err, "reason", unavailable.Reason)
} else {
slog.Error("Ошибка S3", "error", err)
}
log.Fatalf("s3: %v", err)
os.Exit(1)
}
attachmentSvc := service.NewAttachmentService(
@@ -148,9 +185,10 @@ func main() {
// }
go func() {
log.Printf("Запускаем на %s (SESSION_STORE=%s, RECONCILER_ENABLED=%v)", addr, cfg.SessionStore)
slog.Info("Запускаем сервер", "addr", addr, "session_store", cfg.SessionStore)
if err := srv.ListenAndServe(); err != nil && !errors.Is(err, http.ErrServerClosed) {
log.Fatalf("Ошибка запуска: %v", err)
slog.Error("Ошибка запуска сервера", "error", err)
os.Exit(1)
}
}()
@@ -158,26 +196,26 @@ func main() {
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
<-quit
log.Printf("Получен сигнал завершения; readiness выключен, drain %s", cfg.ShutdownDrain)
slog.Info("Получен сигнал завершения; readiness выключен", "drain", cfg.ShutdownDrain)
ready.Store(false)
outboxCancel()
// reconcilerCancel()
if cfg.ShutdownDrain > 0 {
time.Sleep(cfg.ShutdownDrain)
}
log.Println("Drain завершён, останавливаем HTTP-сервер...")
slog.Info("Drain завершён, останавливаем HTTP-сервер...")
shutdownCtx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
if err := srv.Shutdown(shutdownCtx); err != nil {
log.Fatalf("Ошибка при остановке: %v", err)
slog.Error("Ошибка при остановке", "error", err)
}
log.Println("Сервер остановлен")
slog.Info("Сервер остановлен")
}
func runMigrate() error {
// Пока стандартный log, поменяем потом на slog
cfg, err := config.Load()
if err != nil {
return fmt.Errorf("конфигурация: %w", err)
+97 -18
View File
@@ -4,17 +4,23 @@ import (
"context"
"encoding/json"
"log"
"log/slog"
"os"
"os/signal"
"syscall"
"time"
amqp "github.com/rabbitmq/amqp091-go"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
"high-loud-apps-labs/internal/config"
"high-loud-apps-labs/internal/domain"
"high-loud-apps-labs/internal/storage/postgres"
s3store "high-loud-apps-labs/internal/storage/s3"
"high-loud-apps-labs/internal/telemetry"
"high-loud-apps-labs/internal/worker"
)
@@ -24,13 +30,43 @@ func main() {
log.Fatalf("конфигурация: %v", err)
}
instanceID := os.Getenv("INSTANCE_ID")
if instanceID == "" {
instanceID, _ = os.Hostname()
}
tel, err := telemetry.Setup(context.Background(), telemetry.SetupConfig{
ServiceName: "messenger-worker",
ServiceVersion: "1.6.0",
InstanceID: instanceID,
Environment: "lab",
})
if err != nil {
log.Fatalf("телеметрия: %v", err)
}
defer func() {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
if err := tel.Shutdown(ctx); err != nil {
log.Printf("остановка телеметрии: %v", err)
}
}()
slog.SetDefault(tel.Logger)
ctx := context.Background()
pool, err := postgres.Connect(ctx, postgres.Config{URL: cfg.DatabaseURL})
if err != nil {
log.Fatalf("БД: %v", err)
slog.Error("Ошибка подключения к БД", "error", err)
os.Exit(1)
}
defer pool.Close()
registration, err := postgres.ObservePool(pool)
if err != nil {
slog.Warn("Не удалось зарегистрировать метрики пула", "error", err)
} else {
defer registration.Unregister()
}
store := postgres.New(pool)
objectStorage, err := s3store.New(ctx, s3store.Config{
Endpoint: cfg.S3Endpoint,
@@ -41,23 +77,39 @@ func main() {
Region: cfg.S3Region,
})
if err != nil {
log.Fatalf("S3: %v", err)
slog.Error("Ошибка подключения к S3", "error", err)
os.Exit(1)
}
meter := telemetry.Meter("worker.consumer")
busy, err := meter.Int64UpDownCounter("worker_busy_slots", metric.WithDescription("Занятые слоты worker"))
if err != nil {
slog.Error("Ошибка регистрации метрики занятости worker", "error", err)
os.Exit(1)
}
capacity, err := meter.Int64Gauge("worker_capacity_slots", metric.WithDescription("Число слотов worker"))
if err != nil {
slog.Error("Ошибка регистрации метрики ёмкости worker", "error", err)
os.Exit(1)
}
// Цикл обрабатывает одну доставку за раз. Prefetch не задаёт параллельность.
capacity.Record(ctx, 1)
busy.Add(ctx, 0)
pipeline := worker.NewPipeline(store.Attachments(), objectStorage, store.Variants(), store.FailedJobs(), store.Outbox())
// Цикл переподключения к RabbitMQ
for {
err := runWorker(ctx, cfg, pipeline)
err := runWorker(ctx, cfg, pipeline, busy)
if err == nil {
break // Нормальное завершение по сигналу
}
log.Printf("worker: ошибка соединения, перезапуск через 5 секунд: %v", err)
slog.Error("Ошибка соединения worker, перезапуск через 5 секунд", "error", err)
time.Sleep(5 * time.Second)
}
}
func runWorker(ctx context.Context, cfg *config.Config, pipeline *worker.Pipeline) error {
func runWorker(ctx context.Context, cfg *config.Config, pipeline *worker.Pipeline, busy metric.Int64UpDownCounter) error {
conn, err := amqp.Dial(cfg.RabbitMQURL)
if err != nil {
return err
@@ -82,32 +134,59 @@ func runWorker(ctx context.Context, cfg *config.Config, pipeline *worker.Pipelin
return err
}
log.Println("worker: запущен и слушает очередь")
slog.Info("Worker запущен и слушает очередь")
quit := make(chan os.Signal, 1)
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
defer signal.Stop(quit)
for {
select {
case <-quit:
log.Println("worker: получен сигнал завершения, останавливаемся...")
slog.Info("Worker получил сигнал завершения, останавливаемся...")
return nil
case d, ok := <-msgs:
if !ok {
return context.Canceled // Канал закрыт (соединение разорвано)
}
var msg domain.JobMessage
if err := json.Unmarshal(d.Body, &msg); err != nil {
log.Printf("worker: битое сообщение: %v", err)
_ = d.Nack(false, false)
continue
}
if err := pipeline.Process(ctx, msg.AttachmentID, msg.PipelineVersion); err != nil {
log.Printf("worker: ошибка %s: %v", msg.AttachmentID, err)
_ = d.Nack(false, true)
} else {
_ = d.Ack(false)
busy.Add(ctx, 1)
err := consume(ctx, d, pipeline)
busy.Add(ctx, -1)
if err != nil {
return err
}
}
}
}
func consume(ctx context.Context, d amqp.Delivery, pipeline *worker.Pipeline) (ackErr error) {
headers := make(map[string]string, 2)
for _, key := range []string{"traceparent", "tracestate"} {
if value, ok := d.Headers[key].(string); ok {
headers[key] = value
}
}
ctx, span := telemetry.Tracer("worker").Start(telemetry.ExtractTrace(ctx, headers),
"attachments.process process", trace.WithSpanKind(trace.SpanKindConsumer),
trace.WithAttributes(attribute.String("messaging.system", "rabbitmq"),
attribute.String("messaging.destination.name", "attachments.process")))
defer func() {
if ackErr != nil {
span.SetStatus(codes.Error, "ошибка подтверждения доставки")
}
span.End()
}()
var msg domain.JobMessage
if err := json.Unmarshal(d.Body, &msg); err != nil {
span.SetStatus(codes.Error, "повреждённое сообщение")
slog.ErrorContext(ctx, "Неверный JSON задания", "event", "job.invalid")
return d.Nack(false, false)
}
if err := pipeline.Process(ctx, msg.AttachmentID, msg.PipelineVersion); err != nil {
span.SetStatus(codes.Error, "ошибка обработки")
slog.ErrorContext(ctx, "Повторная доставка задания", "event", "job.requeue")
return d.Nack(false, true)
}
return d.Ack(false)
}
+19 -16
View File
@@ -25,10 +25,12 @@ require (
require (
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
github.com/ebitengine/purego v0.10.1 // indirect
github.com/felixge/httpsnoop v1.1.0 // indirect
github.com/go-logr/logr v1.4.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.72.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.47.0 // indirect
go.opentelemetry.io/otel/log v1.47.0 // indirect
go.opentelemetry.io/proto/otlp v1.11.0 // indirect
@@ -39,20 +41,20 @@ require (
)
require (
github.com/bytedance/gopkg v0.1.3 // indirect
github.com/bytedance/sonic v1.15.0 // indirect
github.com/bytedance/sonic/loader v0.5.0 // indirect
github.com/bytedance/gopkg v0.1.4 // indirect
github.com/bytedance/sonic v1.15.4 // indirect
github.com/bytedance/sonic/loader v0.5.2 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cloudwego/base64x v0.1.6 // indirect
github.com/cloudwego/base64x v0.1.7 // indirect
github.com/disintegration/imaging v1.6.2
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
github.com/gabriel-vasile/mimetype v1.4.15 // indirect
github.com/gen2brain/webp v0.6.4
github.com/gin-contrib/sse v1.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.30.1 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/gin-contrib/sse v1.1.2 // indirect
github.com/go-playground/locales v0.14.2 // indirect
github.com/go-playground/universal-translator v0.18.2 // indirect
github.com/go-playground/validator/v10 v10.30.5 // indirect
github.com/goccy/go-json v0.11.2 // indirect
github.com/goccy/go-yaml v1.19.2 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
@@ -61,8 +63,8 @@ require (
github.com/klauspost/compress v1.19.2 // indirect
github.com/klauspost/cpuid/v2 v2.4.0 // indirect
github.com/klauspost/crc32 v1.3.0 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/mattn/go-isatty v0.0.22 // indirect
github.com/leodido/go-urn v1.5.0 // indirect
github.com/mattn/go-isatty v0.0.24 // indirect
github.com/mfridman/interpolate v0.0.2 // indirect
github.com/minio/crc64nvme v1.1.1 // indirect
github.com/minio/md5-simd v1.1.2 // indirect
@@ -71,20 +73,21 @@ require (
github.com/pelletier/go-toml/v2 v2.4.3 // indirect
github.com/philhofer/fwd v1.2.0 // indirect
github.com/quic-go/qpack v0.6.0 // indirect
github.com/quic-go/quic-go v0.59.0 // indirect
github.com/quic-go/quic-go v0.63.0 // indirect
github.com/rabbitmq/amqp091-go v1.16.0
github.com/rs/xid v1.6.0 // indirect
github.com/sethvargo/go-retry v0.3.0 // indirect
github.com/tinylib/msgp v1.6.4 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.3.1 // indirect
github.com/ugorji/go/codec v1.3.2 // indirect
github.com/zeebo/xxh3 v1.1.0 // indirect
go.mongodb.org/mongo-driver/v2 v2.5.0 // indirect
go.mongodb.org/mongo-driver/v2 v2.9.1 // indirect
go.opentelemetry.io/contrib/bridges/otelslog v0.21.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.72.0
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/arch v0.22.0 // indirect
golang.org/x/arch v0.31.0 // indirect
golang.org/x/net v0.60.0 // indirect
golang.org/x/sync v0.23.0 // indirect
golang.org/x/sys v0.48.0 // indirect
+38
View File
@@ -4,16 +4,24 @@ github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA=
github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0=
github.com/bytedance/gopkg v0.1.3 h1:TPBSwH8RsouGCBcMBktLt1AymVo2TVsBVCY4b6TnZ/M=
github.com/bytedance/gopkg v0.1.3/go.mod h1:576VvJ+eJgyCzdjS+c4+77QF3p7ubbtiKARP3TxducM=
github.com/bytedance/gopkg v0.1.4 h1:oZnQwnX82KAIWb7033bEwtxvTqXcYMxDBaQxo5JJHWM=
github.com/bytedance/gopkg v0.1.4/go.mod h1:v1zWfPm21Fb+OsyXN2VAHdL6TBb2L88anLQgdyje6R4=
github.com/bytedance/sonic v1.15.0 h1:/PXeWFaR5ElNcVE84U0dOHjiMHQOwNIx3K4ymzh/uSE=
github.com/bytedance/sonic v1.15.0/go.mod h1:tFkWrPz0/CUCLEF4ri4UkHekCIcdnkqXw9VduqpJh0k=
github.com/bytedance/sonic v1.15.4 h1:FgtV/4aBHpla9AxuMpuuzVUpa/Cf3izufkxNmnEzdI8=
github.com/bytedance/sonic v1.15.4/go.mod h1:8e51yTPdY8M6t+vvGL1c2Y1xL9i+frEeIAQAEl75NUc=
github.com/bytedance/sonic/loader v0.5.0 h1:gXH3KVnatgY7loH5/TkeVyXPfESoqSBSBEiDd5VjlgE=
github.com/bytedance/sonic/loader v0.5.0/go.mod h1:AR4NYCk5DdzZizZ5djGqQ92eEhCCcdf5x77udYiSJRo=
github.com/bytedance/sonic/loader v0.5.2 h1:0QtP1gevc1OZ6/H8Lb9BRZiCXd1Ftjd3OKuj1T1lBIo=
github.com/bytedance/sonic/loader v0.5.2/go.mod h1:AR4NYCk5DdzZizZ5djGqQ92eEhCCcdf5x77udYiSJRo=
github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=
github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cloudwego/base64x v0.1.6 h1:t11wG9AECkCDk5fMSoxmufanudBtJ+/HemLstXDLI2M=
github.com/cloudwego/base64x v0.1.6/go.mod h1:OFcloc187FXDaYHvrNIjxSe8ncn0OOM8gEHfghB2IPU=
github.com/cloudwego/base64x v0.1.7 h1:NppS+Fgzg5ovhn4NkUXaDT3x9jldgH5ToMCqzBSi2zI=
github.com/cloudwego/base64x v0.1.7/go.mod h1:Cu1PV9zfrSf7ET2tIbWbbEy7jO7HHJ13q4X2SQ8aWYg=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -23,12 +31,18 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/ebitengine/purego v0.10.1 h1:dewVBCBT2GaMu1SrNTYxQhgQBethzfhiwvZiLGP/qyY=
github.com/ebitengine/purego v0.10.1/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeORc=
github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE=
github.com/gabriel-vasile/mimetype v1.4.12 h1:e9hWvmLYvtp846tLHam2o++qitpguFiYCKbn0w9jyqw=
github.com/gabriel-vasile/mimetype v1.4.12/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s=
github.com/gabriel-vasile/mimetype v1.4.15 h1:05iP/CYtZ/w455R/KZM6rZ5ieAdh99UPtd+d3YzLmaI=
github.com/gabriel-vasile/mimetype v1.4.15/go.mod h1:azpTcoLcDZRNgFou5j+APrqQx9HqVPWa6ijYQIIVswQ=
github.com/gen2brain/webp v0.6.4 h1:SUDdmxADOAiPQ+5ylNmuHhuYf2dOi0KgKZHL5vpVCNU=
github.com/gen2brain/webp v0.6.4/go.mod h1:iGWMaCSw7t3I/Cv9llzEKmpnR36S8lS8VL/ZVjxU0JE=
github.com/gin-contrib/sse v1.1.0 h1:n0w2GMuUpWDVp7qSpvze6fAu9iRxJY4Hmj6AmBOU05w=
github.com/gin-contrib/sse v1.1.0/go.mod h1:hxRZ5gVpWMT7Z0B0gSNYqqsSCNIJMjzvm6fqCz9vjwM=
github.com/gin-contrib/sse v1.1.2 h1:MU2fgl1RrdYTMcgJLtz2kJF+vPg3xrqaaKfUUU18tCo=
github.com/gin-contrib/sse v1.1.2/go.mod h1:QXzuVkA0YO7o/gun03UI1Q+FTI8ZV/n5t03kIQAI89s=
github.com/gin-gonic/gin v1.12.0 h1:b3YAbrZtnf8N//yjKeU2+MQsh2mY5htkZidOM7O0wG8=
github.com/gin-gonic/gin v1.12.0/go.mod h1:VxccKfsSllpKshkBWgVgRniFFAzFb9csfngsqANjnLc=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
@@ -40,12 +54,20 @@ github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lY
github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/locales v0.14.2 h1:d8UmcrM6Nip0hfGZKLGpAvZH37XB4TS0xzK9B56YNCY=
github.com/go-playground/locales v0.14.2/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
github.com/go-playground/universal-translator v0.18.2 h1:LCsMLC9RzmbUMNUPVYD15dmcjwYAJhmX8mPZRW4rAVU=
github.com/go-playground/universal-translator v0.18.2/go.mod h1:67VZIMp5lQpDWlnStOct22q1bkdJGJqHghbOtmkawxk=
github.com/go-playground/validator/v10 v10.30.1 h1:f3zDSN/zOma+w6+1Wswgd9fLkdwy06ntQJp0BBvFG0w=
github.com/go-playground/validator/v10 v10.30.1/go.mod h1:oSuBIQzuJxL//3MelwSLD5hc2Tu889bF0Idm9Dg26cM=
github.com/go-playground/validator/v10 v10.30.5 h1:YyCXvVShZbs2Sm3Mb53eNOlhRXctSOzW5QJAouCTZL4=
github.com/go-playground/validator/v10 v10.30.5/go.mod h1:wEqiaov48pXX1kjhc3Da8y0M0Dtg/BK7gurFBLgwFrQ=
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/goccy/go-json v0.11.2 h1:jdZv93Tt4ioR8yW1CoNsvSxrcZlCXAUU1aZXN7gpXUA=
github.com/goccy/go-json v0.11.2/go.mod h1:3NdmfEkZlB7YI5UFw/qdFKq8XN1aiWR0YyRPWZNQltY=
github.com/goccy/go-yaml v1.19.2 h1:PmFC1S6h8ljIz6gMRBopkjP1TVT7xuwrButHID66PoM=
github.com/goccy/go-yaml v1.19.2/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
@@ -80,8 +102,12 @@ github.com/klauspost/crc32 v1.3.0 h1:sSmTt3gUt81RP655XGZPElI0PelVTZ6YwCRnPSupoFM
github.com/klauspost/crc32 v1.3.0/go.mod h1:D7kQaZhnkX/Y0tstFGf8VUzv2UofNGqCjnC3zdHB0Hw=
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
github.com/leodido/go-urn v1.5.0 h1:pLqT2kq1zpHW/1D18QMjMpdtX7cekxqtJJjg5ANyWw0=
github.com/leodido/go-urn v1.5.0/go.mod h1:9BORnCDhdPBJNDEX+w1bJisa8yOKYi116VeO96s4ifE=
github.com/mattn/go-isatty v0.0.22 h1:j8l17JJ9i6VGPUFUYoTUKPSgKe/83EYU2zBC7YNKMw4=
github.com/mattn/go-isatty v0.0.22/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
github.com/mattn/go-isatty v0.0.24 h1:tGZZoVgT/KiqK1c8ocVLeDS8BSWMRd47J3Lbz7vsReI=
github.com/mattn/go-isatty v0.0.24/go.mod h1:nMCL3Zebbrt45jsMDgnfIwz6ydEQApk5oEI3HqDio6A=
github.com/mfridman/interpolate v0.0.2 h1:pnuTK7MQIxxFz1Gr+rjSIx9u7qVjf5VOoM/u6BbAxPY=
github.com/mfridman/interpolate v0.0.2/go.mod h1:p+7uk6oE07mpE/Ik1b8EckO0O4ZXiGAfshKBWLUM9Xg=
github.com/minio/crc64nvme v1.1.1 h1:8dwx/Pz49suywbO+auHCBpCtlW1OfpcLN7wYgVR6wAI=
@@ -108,6 +134,8 @@ github.com/quic-go/qpack v0.6.0 h1:g7W+BMYynC1LbYLSqRt8PBg5Tgwxn214ZZR34VIOjz8=
github.com/quic-go/qpack v0.6.0/go.mod h1:lUpLKChi8njB4ty2bFLX2x4gzDqXwUpaO1DP9qMDZII=
github.com/quic-go/quic-go v0.59.0 h1:OLJkp1Mlm/aS7dpKgTc6cnpynnD2Xg7C1pwL6vy/SAw=
github.com/quic-go/quic-go v0.59.0/go.mod h1:upnsH4Ju1YkqpLXC305eW3yDZ4NfnNbmQRCMWS58IKU=
github.com/quic-go/quic-go v0.63.0 h1:LIFGHI4PFUhhw2dDD1ARHdCff143ffMHwZtbnbuJ78A=
github.com/quic-go/quic-go v0.63.0/go.mod h1:RAro2j2yN9a9EiPACLHT9IB2NXCvGQmmo/alT0yYI0w=
github.com/rabbitmq/amqp091-go v1.16.0 h1:1O8oQqnj9hLACoo6CVMgn57z2pLWXvgemhh4GsquV+Y=
github.com/rabbitmq/amqp091-go v1.16.0/go.mod h1:Hy4jKW5kQART1u+JkDTF9YYOQUHXqMuhrgxOEeS7G4o=
github.com/redis/go-redis/v9 v9.22.0 h1:laDvpYXTJtZLloinw1fA5Kqd6HAEH2XKxOkG/PDq2F0=
@@ -137,16 +165,24 @@ github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
github.com/ugorji/go/codec v1.3.1 h1:waO7eEiFDwidsBN6agj1vJQ4AG7lh2yqXyOXqhgQuyY=
github.com/ugorji/go/codec v1.3.1/go.mod h1:pRBVtBSKl77K30Bv8R2P+cLSGaTtex6fsA2Wjqmfxj4=
github.com/ugorji/go/codec v1.3.2 h1:zkEASHHyEClGeURfgNT9PJZVfAbs9oEX9QXggwWNJbc=
github.com/ugorji/go/codec v1.3.2/go.mod h1:pRBVtBSKl77K30Bv8R2P+cLSGaTtex6fsA2Wjqmfxj4=
github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs=
github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s=
go.mongodb.org/mongo-driver/v2 v2.5.0 h1:yXUhImUjjAInNcpTcAlPHiT7bIXhshCTL3jVBkF3xaE=
go.mongodb.org/mongo-driver/v2 v2.5.0/go.mod h1:yOI9kBsufol30iFsl1slpdq1I0eHPzybRWdyYUs8K/0=
go.mongodb.org/mongo-driver/v2 v2.9.1 h1:jewiFs2m1/VOQp8qhFshX6hWZ+EAXDhZHXExAUMcOgQ=
go.mongodb.org/mongo-driver/v2 v2.9.1/go.mod h1:SHKN0IWkKmEVGHLjXnni6s4wPKX4v86FTgOeJJFuXcA=
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
go.opentelemetry.io/contrib/bridges/otelslog v0.21.0 h1:/CdgE52i1OEPHhsGUqrggYNRaZy4v4YgVenGd52dRBI=
go.opentelemetry.io/contrib/bridges/otelslog v0.21.0/go.mod h1:9pBdbVbuehIDzxN4accnzzxEUPT8Nq7grbZMo+J1VN4=
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.72.0 h1:Vgm7vrC26vvecffpDcy2UINqBvASUg5qkfZle3Yrkug=
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.72.0/go.mod h1:zgCChxie/dA3qG7IgZGswax6voxkOR4+33msLT/RgNg=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.72.0 h1:LxwW/9ctSCv+QkE/cLR7M91ZIkXNMqJtEMi1vCw9U8s=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.72.0/go.mod h1:tOsftB4SslBwwErVEPaenU2RpThXWPIU8DoJHEC4dyw=
go.opentelemetry.io/otel v1.47.0 h1:j7ALJ/zgkS7Z6aeJW09p8VC9804bC+PpeTfCD4XPnOM=
go.opentelemetry.io/otel v1.47.0/go.mod h1:8wS9O2qfXrYrzp6hIF/HOYJJf/wIhFPhR2xLuP+iXQU=
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.23.0 h1:5WVp40k2fJHuc5BtNTgKk+EugKFT8Eg3lywFfCPI/nE=
@@ -187,6 +223,8 @@ go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
golang.org/x/arch v0.22.0 h1:c/Zle32i5ttqRXjdLyyHZESLD/bB90DCU1g9l/0YBDI=
golang.org/x/arch v0.22.0/go.mod h1:dNHoOeKiyja7GTvF9NJS1l3Z2yntpQNzgrjh1cU103A=
golang.org/x/arch v0.31.0 h1:22MlEb14/O/EPCYHFxsDdv5TuLD5dMjT5e2QeJw4ULk=
golang.org/x/arch v0.31.0/go.mod h1:KcJSod3cqT2dKcjBxqTyGfbumNikqU9p5tHJinPJnuY=
golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M=
golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA=
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3NCfkPxbDKRdnNE1Rpg0U=
+38 -18
View File
@@ -7,6 +7,11 @@ import (
"time"
amqp "github.com/rabbitmq/amqp091-go"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
"high-loud-apps-labs/internal/telemetry"
)
type Publisher interface {
@@ -15,11 +20,10 @@ type Publisher interface {
}
type RabbitPublisher struct {
url string
mu sync.Mutex
conn *amqp.Connection
ch *amqp.Channel
confirms chan amqp.Confirmation
url string
mu sync.Mutex
conn *amqp.Connection
ch *amqp.Channel
}
func NewRabbitPublisher(url string) (*RabbitPublisher, error) {
@@ -45,7 +49,6 @@ func (p *RabbitPublisher) connect() error {
if err := p.ch.Confirm(false); err != nil {
return fmt.Errorf("включение режима confirm: %w", err)
}
p.confirms = p.ch.NotifyPublish(make(chan amqp.Confirmation, 1))
err = p.ch.ExchangeDeclare("attachments", "direct", true, false, false, false, nil)
if err != nil {
@@ -65,7 +68,19 @@ func (p *RabbitPublisher) connect() error {
return nil
}
func (p *RabbitPublisher) Publish(ctx context.Context, routingKey string, body []byte) error {
func (p *RabbitPublisher) Publish(ctx context.Context, routingKey string, body []byte) (publishErr error) {
ctx, span := telemetry.Tracer("broker").Start(ctx, "attachments publish",
trace.WithSpanKind(trace.SpanKindProducer), trace.WithAttributes(
attribute.String("messaging.system", "rabbitmq"),
attribute.String("messaging.destination.name", "attachments"),
))
defer func() {
if publishErr != nil {
span.SetStatus(codes.Error, "публикация не подтверждена")
}
span.End()
}()
p.mu.Lock()
defer p.mu.Unlock()
@@ -75,26 +90,31 @@ func (p *RabbitPublisher) Publish(ctx context.Context, routingKey string, body [
}
}
err := p.ch.PublishWithContext(ctx, "attachments", routingKey, false, false, amqp.Publishing{
headers := amqp.Table{}
for key, value := range telemetry.TraceHeaders(ctx) {
headers[key] = value
}
confirmation, err := p.ch.PublishWithDeferredConfirmWithContext(ctx, "attachments", routingKey, false, false, amqp.Publishing{
Headers: headers,
ContentType: "application/json",
DeliveryMode: amqp.Persistent,
Body: body,
Timestamp: time.Now().UTC(),
})
if err != nil {
return err
}
select {
case confirm := <-p.confirms:
if !confirm.Ack {
return fmt.Errorf("сообщение отклонено брокером")
}
return nil
case <-time.After(5 * time.Second):
return fmt.Errorf("таймаут ожидания подтверждения от rabbitmq")
case <-ctx.Done():
return ctx.Err()
waitCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()
acked, err := confirmation.WaitContext(waitCtx)
if err != nil {
return fmt.Errorf("ожидание подтверждения RabbitMQ: %w", err)
}
if !acked {
return fmt.Errorf("сообщение отклонено брокером")
}
return nil
}
func (p *RabbitPublisher) Close() error {
+1
View File
@@ -22,6 +22,7 @@ type OutboxEntry struct {
AggregateID string
EventType string
Payload []byte
Headers map[string]string
CreatedAt time.Time
PublishedAt *time.Time
Attempts int
+8 -1
View File
@@ -7,9 +7,11 @@ import (
"time"
"github.com/gin-gonic/gin"
"go.opentelemetry.io/otel/codes"
"high-loud-apps-labs/internal/domain"
"high-loud-apps-labs/internal/httpapi/dto"
"high-loud-apps-labs/internal/telemetry"
)
type HealthCheck func(ctx context.Context) error
@@ -33,12 +35,16 @@ func (h *HealthHandler) Live(c *gin.Context) {
}
func (h *HealthHandler) Ready(c *gin.Context) {
ctx, span := telemetry.Tracer("httpapi").Start(c.Request.Context(), "health.ready")
defer span.End()
if h.ready != nil && !h.ready.Load() {
span.SetStatus(codes.Error, "shutting down")
respondError(c, &domain.UnavailableError{Reason: "shutting down"})
return
}
ctx, cancel := context.WithTimeout(c.Request.Context(), 2*time.Second)
ctx, cancel := context.WithTimeout(ctx, 2*time.Second)
defer cancel()
for _, check := range h.checks {
@@ -46,6 +52,7 @@ func (h *HealthHandler) Ready(c *gin.Context) {
continue
}
if err := check(ctx); err != nil {
span.SetStatus(codes.Error, "зависимость недоступна")
respondError(c, &domain.UnavailableError{Reason: "зависимость недоступна"})
return
}
@@ -0,0 +1,35 @@
package middleware
import (
"log/slog"
"time"
"github.com/gin-gonic/gin"
)
// Logging записывает результат запроса с шаблоном маршрута и контекстом серверного спана.
func Logging() gin.HandlerFunc {
return func(c *gin.Context) {
start := time.Now()
c.Next()
route := c.FullPath()
if route == "" {
route = "unknown"
}
status := c.Writer.Status()
level := slog.LevelInfo
if status >= 500 {
level = slog.LevelError
}
slog.LogAttrs(c.Request.Context(), level, "HTTP-запрос завершён",
slog.String("instance_id", GetInstanceID()),
slog.String("event", "http.request.completed"),
slog.String("request_id", GetRequestID(c)),
slog.String("http.request.method", c.Request.Method),
slog.String("http.route", route),
slog.Int("http.response.status_code", status),
slog.Float64("duration_seconds", time.Since(start).Seconds()),
)
}
}
@@ -0,0 +1,74 @@
package middleware
import (
"strconv"
"time"
"github.com/gin-gonic/gin"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
"high-loud-apps-labs/internal/telemetry"
)
type httpMetrics struct {
requestsTotal metric.Int64Counter
requestDuration metric.Float64Histogram
}
func newHTTPMetrics() *httpMetrics {
meter := telemetry.Meter("httpapi")
m := &httpMetrics{}
var err error
m.requestsTotal, err = meter.Int64Counter(
"http_requests_total",
metric.WithDescription("Общее количество HTTP-запросов"),
)
if err != nil {
panic("метрика http_requests_total: " + err.Error())
}
m.requestDuration, err = meter.Float64Histogram(
"http_request_duration_seconds",
metric.WithDescription("Длительность HTTP-запроса"),
metric.WithUnit("s"),
metric.WithExplicitBucketBoundaries(
0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10,
),
)
if err != nil {
panic("метрика http_request_duration_seconds: " + err.Error())
}
return m
}
func Metrics() gin.HandlerFunc {
m := newHTTPMetrics()
return func(c *gin.Context) {
start := time.Now()
c.Next()
route := c.FullPath()
if route == "" {
route = "unknown"
}
status := c.Writer.Status()
statusClass := "unknown"
if status >= 100 {
statusClass = strconv.Itoa(status/100) + "xx"
}
attrs := metric.WithAttributes(
attribute.String("http.request.method", c.Request.Method),
attribute.String("http.route", route),
attribute.String("http.response.status_class", statusClass),
)
duration := time.Since(start).Seconds()
m.requestsTotal.Add(c.Request.Context(), 1, attrs)
m.requestDuration.Record(c.Request.Context(), duration, attrs)
}
}
@@ -0,0 +1,78 @@
package middleware
import (
"net/http"
"github.com/gin-gonic/gin"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/trace"
"high-loud-apps-labs/internal/telemetry"
)
// OTel создаёт серверный span для каждого HTTP-запроса.
//
// Имя span: "<METHOD> <route_template>", например "GET /api/v1/chats/:chat_id".
// Родительский контекст извлекается из заголовков W3C traceparent чтобы связать внешний клиент (или LB) с внутренними спанами.
func OTel() gin.HandlerFunc {
tracer := telemetry.Tracer("httpapi")
return func(c *gin.Context) {
// 1. Извлекаем родительский контекст из заголовков
parentCtx := otel.GetTextMapPropagator().Extract(
c.Request.Context(),
propagation.HeaderCarrier(c.Request.Header),
)
// 2. Стартуем span с временным именем (route ещё неизвестен)
ctx, span := tracer.Start(parentCtx,
c.Request.Method+" unknown",
trace.WithSpanKind(trace.SpanKindServer),
)
defer span.End()
// 3. Кладём контекст в запрос, чтобы дочерние спаны (БД, S3, Redis) видели родителя
c.Request = c.Request.WithContext(ctx)
// 4. Базовые атрибуты, известные до выполнения handler
span.SetAttributes(
attribute.String("http.request.method", c.Request.Method),
attribute.String("url.path", c.Request.URL.Path),
attribute.String("url.scheme", scheme(c)),
attribute.String("server.address", c.Request.Host),
attribute.String("client.address", c.ClientIP()),
attribute.String("user_agent.original", c.Request.UserAgent()),
)
// 5. Выполняем цепочку middleware и handler
c.Next()
// 6. После выполнения знаем route template — обновляем имя span
route := c.FullPath()
if route == "" {
route = "unknown"
}
span.SetName(c.Request.Method + " " + route)
span.SetAttributes(attribute.String("http.route", route))
// 7. Статус ответа
status := c.Writer.Status()
span.SetAttributes(attribute.Int("http.response.status_code", status))
if status >= 500 {
span.SetStatus(codes.Error, http.StatusText(status))
}
}
}
func scheme(c *gin.Context) string {
if c.Request.TLS != nil {
return "https"
}
if v := c.GetHeader("X-Forwarded-Proto"); v != "" {
return v
}
return "http"
}
+14 -2
View File
@@ -1,6 +1,9 @@
package httpapi
import (
"log/slog"
"net/http"
"github.com/gin-gonic/gin"
"high-loud-apps-labs/internal/httpapi/handler"
@@ -20,10 +23,19 @@ func NewRouter(h Handlers, auth gin.HandlerFunc) *gin.Engine {
gin.EnableJsonDecoderDisallowUnknownFields()
r := gin.New()
r.Use(gin.Logger())
r.Use(gin.Recovery())
r.Use(middleware.RequestID())
r.Use(middleware.Instance())
r.Use(middleware.OTel())
r.Use(middleware.Metrics())
r.Use(middleware.Logging())
r.Use(gin.CustomRecoveryWithWriter(nil, func(c *gin.Context, err any) {
slog.Error("Паника при обработке HTTP-запроса",
"panic", err,
"http.route", c.FullPath(),
"request_id", middleware.GetRequestID(c),
)
c.AbortWithStatus(http.StatusInternalServerError)
}))
r.GET("/health/live", h.Health.Live)
r.GET("/health/ready", h.Health.Ready)
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"high-loud-apps-labs/internal/broker"
"high-loud-apps-labs/internal/domain"
"high-loud-apps-labs/internal/telemetry"
)
type Publisher struct {
@@ -54,7 +55,7 @@ func (p *Publisher) tick(ctx context.Context) {
var successIDs []string
for _, e := range entries {
err := p.broker.Publish(ctx, "process", e.Payload)
err := p.broker.Publish(telemetry.ExtractTrace(ctx, e.Headers), "process", e.Payload)
if err != nil {
log.Printf("outbox: ошибка публикации %s: %v", e.ID, err)
break // Прерываем пачку
+2 -3
View File
@@ -108,7 +108,6 @@ func (s *AttachmentService) Upload(
sha := sha256.Sum256(buf)
id := uuid.NewString()
stagingKey := "staging/" + id
now := time.Now().UTC()
a := &domain.Attachment{
ID: id,
@@ -122,8 +121,6 @@ func (s *AttachmentService) Upload(
Status: domain.AttachmentStatusQueued,
StagingKey: stagingKey,
PipelineVersion: 1,
CreatedAt: now,
UpdatedAt: now,
}
if err := s.storage.Put(ctx, stagingKey, bytes.NewReader(buf), int64(len(buf)), contentType); err != nil {
@@ -140,6 +137,8 @@ func (s *AttachmentService) Upload(
}
err = s.tx.WithTx(ctx, func(tx domain.Tx) error {
a.CreatedAt = time.Now().UTC()
a.UpdatedAt = a.CreatedAt
if err := s.attachments.CreateInTx(ctx, tx, a); err != nil {
return err
}
+43 -2
View File
@@ -7,8 +7,11 @@ import (
"time"
"github.com/jackc/pgx/v5/pgxpool"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
"high-loud-apps-labs/internal/domain"
"high-loud-apps-labs/internal/telemetry"
)
const advisoryLockKey int64 = 0x4D5455534904
@@ -20,6 +23,7 @@ type Reconciler struct {
pool *pgxpool.Pool
gracePeriod time.Duration
batchSize int
metrics *reconcilerMetrics
}
func NewReconciler(
@@ -39,6 +43,7 @@ func NewReconciler(
pool: pool,
gracePeriod: gracePeriod,
batchSize: 100,
metrics: newReconcilerMetrics(),
}
}
@@ -46,6 +51,13 @@ func (r *Reconciler) Run(ctx context.Context, interval time.Duration) {
if interval <= 0 {
interval = 5 * time.Minute
}
registration, err := r.metrics.observeLeader()
if err != nil {
log.Printf("reconciler: ошибка регистрации метрики лидерства: %v", err)
} else {
defer registration.Unregister()
}
ticker := time.NewTicker(interval)
defer ticker.Stop()
@@ -64,15 +76,23 @@ func (r *Reconciler) Run(ctx context.Context, interval time.Duration) {
}
func (r *Reconciler) tick(ctx context.Context) {
ctx, span := telemetry.Tracer("reconciler").Start(ctx, "reconciler.tick")
defer span.End()
acquired, release, err := r.acquireLock(ctx)
if err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка получения блокировки: %v", err)
return
}
if !acquired {
return
}
defer release()
r.metrics.leader.Store(true)
defer func() {
release()
r.metrics.leader.Store(false)
}()
leasesReset := r.sweepExpiredLeases(ctx)
stagingDeleted := r.sweepStaging(ctx)
@@ -100,9 +120,10 @@ func (r *Reconciler) acquireLock(ctx context.Context) (bool, func(), error) {
}
release := func() {
unlockCtx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
unlockCtx, cancel := context.WithTimeout(context.WithoutCancel(ctx), 5*time.Second)
defer cancel()
if _, err := conn.Exec(unlockCtx, `SELECT pg_advisory_unlock($1)`, advisoryLockKey); err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка снятия блокировки: %v", err)
}
conn.Release()
@@ -111,15 +132,21 @@ func (r *Reconciler) acquireLock(ctx context.Context) (bool, func(), error) {
}
func (r *Reconciler) sweepExpiredLeases(ctx context.Context) int {
ctx, span := telemetry.Tracer("reconciler").Start(ctx, "reconciler.leases")
defer span.End()
expired, err := r.attachments.ListExpiredLeases(ctx, r.batchSize)
if err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка получения истёкших аренд: %v", err)
return 0
}
r.metrics.stale.Add(ctx, int64(len(expired)))
recovered := 0
for _, a := range expired {
if err := r.attachments.ResetLease(ctx, a.ID); err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка сброса аренды для %s: %v", a.ID, err)
continue
}
@@ -137,18 +164,24 @@ func (r *Reconciler) sweepExpiredLeases(ctx context.Context) int {
CreatedAt: time.Now().UTC(),
})
if err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка постановки в очередь восстановленной задачи %s: %v", a.ID, err)
continue
}
recovered++
}
r.metrics.recovered.Add(ctx, int64(recovered))
return recovered
}
// Чистим staging в S3 для готовых задач
func (r *Reconciler) sweepStaging(ctx context.Context) int {
ctx, span := telemetry.Tracer("reconciler").Start(ctx, "reconciler.staging")
defer span.End()
toCleanup, err := r.attachments.ListStagingToCleanup(ctx, r.batchSize)
if err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка получения списка staging для очистки: %v", err)
return 0
}
@@ -156,10 +189,12 @@ func (r *Reconciler) sweepStaging(ctx context.Context) int {
deleted := 0
for _, a := range toCleanup {
if err := r.storage.Delete(ctx, a.StagingKey); err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка удаления объекта staging %s: %v", a.StagingKey, err)
continue
}
if err := r.attachments.ClearStagingKey(ctx, a.ID); err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка очистки ключа staging %s: %v", a.ID, err)
continue
}
@@ -170,8 +205,12 @@ func (r *Reconciler) sweepStaging(ctx context.Context) int {
// Удаляем старые сиротские объекты (без записи в БД)
func (r *Reconciler) sweepOrphans(ctx context.Context) int {
ctx, span := telemetry.Tracer("reconciler").Start(ctx, "reconciler.orphans")
defer span.End()
objects, err := r.storage.List(ctx, "chats/")
if err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка получения списка объектов: %v", err)
return 0
}
@@ -192,6 +231,7 @@ func (r *Reconciler) sweepOrphans(ctx context.Context) int {
existing, err := r.attachments.ExistingKeys(ctx, keys)
if err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка получения существующих ключей: %v", err)
return 0
}
@@ -207,6 +247,7 @@ func (r *Reconciler) sweepOrphans(ctx context.Context) int {
continue
}
if err := r.storage.Delete(ctx, k); err != nil {
trace.SpanFromContext(ctx).SetStatus(codes.Error, "ошибка операции сверщика")
log.Printf("reconciler: ошибка удаления сиротского объекта %s: %v", k, err)
continue
}
@@ -0,0 +1,48 @@
package service
import (
"context"
"sync/atomic"
"go.opentelemetry.io/otel/metric"
"high-loud-apps-labs/internal/telemetry"
)
type reconcilerMetrics struct {
stale metric.Int64Counter
recovered metric.Int64Counter
leader atomic.Bool
}
func newReconcilerMetrics() *reconcilerMetrics {
meter := telemetry.Meter("reconciler")
stale, err := meter.Int64Counter("reconciler_stale_leases_total",
metric.WithDescription("Число наблюдений просроченных аренд"))
if err != nil {
panic(err)
}
recovered, err := meter.Int64Counter("reconciler_recovered_jobs_total",
metric.WithDescription("Число задач после успешного сброса аренды и записи в outbox"))
if err != nil {
panic(err)
}
return &reconcilerMetrics{stale: stale, recovered: recovered}
}
func (m *reconcilerMetrics) observeLeader() (metric.Registration, error) {
meter := telemetry.Meter("reconciler")
gauge, err := meter.Int64ObservableGauge("reconciler_leader",
metric.WithDescription("1, пока этот экземпляр держит advisory lock"))
if err != nil {
return nil, err
}
return meter.RegisterCallback(func(_ context.Context, o metric.Observer) error {
var value int64
if m.leader.Load() {
value = 1
}
o.ObserveInt64(gauge, value)
return nil
}, gauge)
}
@@ -200,10 +200,10 @@ func (r *AttachmentRepo) ClaimForProcessing(ctx context.Context, id string, vers
UPDATE attachments
SET status = 'processing', locked_until = now() + $2, updated_at = now(), attempts = attempts + 1
WHERE id = $1::uuid AND status = 'queued' AND pipeline_version = $3
RETURNING id, chat_id, staging_key, pipeline_version, object_key, content_type, attempts
RETURNING id, chat_id, staging_key, pipeline_version, object_key, content_type, attempts, created_at
`
var a domain.Attachment
err := r.pool.QueryRow(ctx, q, id, lease, version).Scan(&a.ID, &a.ChatID, &a.StagingKey, &a.PipelineVersion, &a.ObjectKey, &a.ContentType, &a.Attempts)
err := r.pool.QueryRow(ctx, q, id, lease, version).Scan(&a.ID, &a.ChatID, &a.StagingKey, &a.PipelineVersion, &a.ObjectKey, &a.ContentType, &a.Attempts, &a.CreatedAt)
if err != nil {
if err == pgx.ErrNoRows {
return nil, nil
+6
View File
@@ -47,6 +47,12 @@ func Connect(ctx context.Context, cfg Config) (*pgxpool.Pool, error) {
}
poolCfg.HealthCheckPeriod = 10 * time.Second
tracer, err := newPoolTracer()
if err != nil {
return nil, fmt.Errorf("метрики пула: %w", err)
}
poolCfg.ConnConfig.Tracer = tracer
pool, err := pgxpool.NewWithConfig(ctx, poolCfg)
if err != nil {
return nil, fmt.Errorf("создание пула: %w", err)
+15 -8
View File
@@ -8,6 +8,7 @@ import (
"github.com/jackc/pgx/v5/pgxpool"
"high-loud-apps-labs/internal/domain"
"high-loud-apps-labs/internal/telemetry"
)
type OutboxRepo struct {
@@ -39,14 +40,17 @@ func (r *OutboxRepo) Enqueue(ctx context.Context, tx domain.Tx, e *domain.Outbox
e.CreatedAt = time.Now().UTC()
}
if e.Headers == nil {
e.Headers = telemetry.TraceHeaders(ctx)
}
const q = `
INSERT INTO outbox
(id, aggregate_type, aggregate_id, event_type, payload, attempts, created_at, published_at)
VALUES ($1::uuid, $2, $3::uuid, $4, $5::jsonb, $6, $7, $8)
(id, aggregate_type, aggregate_id, event_type, payload, attempts, created_at, published_at, headers)
VALUES ($1::uuid, $2, $3::uuid, $4, $5::jsonb, $6, $7, $8, $9::jsonb)
`
if err := tx.Exec(ctx, q,
e.ID, e.AggregateType, e.AggregateID, e.EventType,
string(e.Payload), e.Attempts, e.CreatedAt, e.PublishedAt,
string(e.Payload), e.Attempts, e.CreatedAt, e.PublishedAt, e.Headers,
); err != nil {
return err
}
@@ -66,7 +70,7 @@ func (r *OutboxRepo) ClaimBatch(ctx context.Context, limit int) ([]domain.Outbox
SET attempts = attempts + 1
FROM claimed c
WHERE o.id = c.id
RETURNING o.id, o.aggregate_type, o.aggregate_id, o.event_type, o.payload, o.attempts, o.created_at, o.published_at
RETURNING o.id, o.aggregate_type, o.aggregate_id, o.event_type, o.payload, o.attempts, o.created_at, o.published_at, o.headers
`
rows, err := r.pool.Query(ctx, q, limit)
if err != nil {
@@ -79,7 +83,7 @@ func (r *OutboxRepo) ClaimBatch(ctx context.Context, limit int) ([]domain.Outbox
var e domain.OutboxEntry
if err := rows.Scan(
&e.ID, &e.AggregateType, &e.AggregateID, &e.EventType,
&e.Payload, &e.Attempts, &e.CreatedAt, &e.PublishedAt,
&e.Payload, &e.Attempts, &e.CreatedAt, &e.PublishedAt, &e.Headers,
); err != nil {
return nil, mapError(err)
}
@@ -92,14 +96,17 @@ func (r *OutboxRepo) EnqueueDirect(ctx context.Context, e *domain.OutboxEntry) e
if e.ID == "" {
e.ID = uuid.NewString()
}
if e.Headers == nil {
e.Headers = telemetry.TraceHeaders(ctx)
}
const q = `
INSERT INTO outbox
(id, aggregate_type, aggregate_id, event_type, payload, attempts, created_at, published_at)
VALUES ($1::uuid, $2, $3::uuid, $4, $5::jsonb, $6, $7, $8)
(id, aggregate_type, aggregate_id, event_type, payload, attempts, created_at, published_at, headers)
VALUES ($1::uuid, $2, $3::uuid, $4, $5::jsonb, $6, $7, $8, $9::jsonb)
`
_, err := r.pool.Exec(ctx, q,
e.ID, e.AggregateType, e.AggregateID, e.EventType,
string(e.Payload), e.Attempts, e.CreatedAt, e.PublishedAt,
string(e.Payload), e.Attempts, e.CreatedAt, e.PublishedAt, e.Headers,
)
return mapError(err)
}
@@ -0,0 +1,99 @@
package postgres
import (
"context"
"strings"
"time"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgxpool"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
"high-loud-apps-labs/internal/telemetry"
)
type poolTracer struct {
tracer trace.Tracer
duration metric.Float64Histogram
waiting metric.Int64UpDownCounter
}
func newPoolTracer() (*poolTracer, error) {
meter := telemetry.Meter("storage.postgres")
duration, err := meter.Float64Histogram("db_pool_acquire_duration_seconds",
metric.WithUnit("s"),
metric.WithExplicitBucketBoundaries(0.0001, 0.001, 0.005, 0.01, 0.05, 0.1, 0.5, 1, 5),
)
if err != nil {
return nil, err
}
waiting, err := meter.Int64UpDownCounter("db_pool_waiting",
metric.WithDescription("Число незавершённых вызовов Acquire"))
if err != nil {
return nil, err
}
return &poolTracer{tracer: telemetry.Tracer("storage.postgres"), duration: duration, waiting: waiting}, nil
}
type acquireStartKey struct{}
func (t *poolTracer) TraceAcquireStart(ctx context.Context, _ *pgxpool.Pool, _ pgxpool.TraceAcquireStartData) context.Context {
ctx, _ = t.tracer.Start(ctx, "postgresql.acquire")
t.waiting.Add(ctx, 1)
return context.WithValue(ctx, acquireStartKey{}, time.Now())
}
func (t *poolTracer) TraceAcquireEnd(ctx context.Context, _ *pgxpool.Pool, data pgxpool.TraceAcquireEndData) {
t.waiting.Add(ctx, -1)
t.duration.Record(ctx, time.Since(ctx.Value(acquireStartKey{}).(time.Time)).Seconds())
endSpan(ctx, data.Err)
}
func (t *poolTracer) TraceQueryStart(ctx context.Context, _ *pgx.Conn, data pgx.TraceQueryStartData) context.Context {
// Передаём только известный SQL-глагол, без текста запроса и параметров.
op := "QUERY"
sql := strings.TrimSpace(data.SQL)
if i := strings.IndexAny(sql, " \r\n\t;("); i >= 0 {
sql = sql[:i]
}
switch verb := strings.ToUpper(sql); verb {
case "SELECT", "INSERT", "UPDATE", "DELETE", "BEGIN", "COMMIT", "ROLLBACK", "WITH":
op = verb
}
ctx, _ = t.tracer.Start(ctx, "postgresql."+op, trace.WithSpanKind(trace.SpanKindClient),
trace.WithAttributes(attribute.String("db.system.name", "postgresql"), attribute.String("db.operation.name", op)))
return ctx
}
func (t *poolTracer) TraceQueryEnd(ctx context.Context, _ *pgx.Conn, data pgx.TraceQueryEndData) {
endSpan(ctx, data.Err)
}
func endSpan(ctx context.Context, err error) {
span := trace.SpanFromContext(ctx)
if err != nil {
span.SetStatus(codes.Error, "операция PostgreSQL не выполнена")
}
span.End()
}
func ObservePool(pool *pgxpool.Pool) (metric.Registration, error) {
meter := telemetry.Meter("storage.postgres")
connections, err := meter.Int64ObservableGauge("db_pool_connections")
if err != nil {
return nil, err
}
return meter.RegisterCallback(func(_ context.Context, observer metric.Observer) error {
stat := pool.Stat()
observe := func(state string, count int32) {
observer.ObserveInt64(connections, int64(count), metric.WithAttributes(attribute.String("state", state)))
}
observe("used", stat.AcquiredConns())
observe("idle", stat.IdleConns())
observe("max", stat.MaxConns())
return nil
}, connections)
}
+3
View File
@@ -6,6 +6,8 @@ import (
"time"
"github.com/redis/go-redis/v9"
"high-loud-apps-labs/internal/telemetry"
)
func NewClient(url string) (*redis.Client, error) {
@@ -22,6 +24,7 @@ func NewClient(url string) (*redis.Client, error) {
opt.ConnMaxIdleTime = time.Minute
client := redis.NewClient(opt)
client.AddHook(tracingHook{tracer: telemetry.Tracer("storage.redis")})
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
defer cancel()
+38
View File
@@ -0,0 +1,38 @@
package redis
import (
"context"
"errors"
"github.com/redis/go-redis/v9"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
)
type tracingHook struct{ tracer trace.Tracer }
func (h tracingHook) DialHook(next redis.DialHook) redis.DialHook { return next }
func (h tracingHook) ProcessHook(next redis.ProcessHook) redis.ProcessHook {
return func(ctx context.Context, cmd redis.Cmder) error {
return h.run(ctx, cmd.Name(), func(ctx context.Context) error { return next(ctx, cmd) })
}
}
func (h tracingHook) ProcessPipelineHook(next redis.ProcessPipelineHook) redis.ProcessPipelineHook {
return func(ctx context.Context, cmds []redis.Cmder) error {
return h.run(ctx, "pipeline", func(ctx context.Context) error { return next(ctx, cmds) })
}
}
func (h tracingHook) run(ctx context.Context, op string, call func(context.Context) error) error {
ctx, span := h.tracer.Start(ctx, "redis."+op, trace.WithSpanKind(trace.SpanKindClient),
trace.WithAttributes(attribute.String("db.system.name", "redis"), attribute.String("db.operation.name", op)))
defer span.End()
err := call(ctx)
if err != nil && !errors.Is(err, redis.Nil) {
span.SetStatus(codes.Error, "операция Redis не выполнена")
}
return err
}
+20 -3
View File
@@ -3,9 +3,11 @@ package s3
import (
"context"
"io"
"net/http"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
"high-loud-apps-labs/internal/domain"
)
@@ -25,10 +27,25 @@ type MinioStorage struct {
}
func New(ctx context.Context, cfg Config) (*MinioStorage, error) {
base, err := minio.DefaultTransport(cfg.UseSSL)
if err != nil {
return nil, err
}
// Оборачиваем базовый транспорт в otelhttp.
// Опция WithSpanNameFormatter задаёт красивое имя спана (s3.PUT, s3.GET),
// чтобы в Grafana не смотреть на дефолтное "HTTP PUT".
tracedTransport := otelhttp.NewTransport(base,
otelhttp.WithSpanNameFormatter(func(operation string, r *http.Request) string {
return "s3." + r.Method
}),
)
client, err := minio.New(cfg.Endpoint, &minio.Options{
Creds: credentials.NewStaticV4(cfg.AccessKey, cfg.SecretKey, ""),
Secure: cfg.UseSSL,
Region: cfg.Region,
Transport: tracedTransport,
Creds: credentials.NewStaticV4(cfg.AccessKey, cfg.SecretKey, ""),
Secure: cfg.UseSSL,
Region: cfg.Region,
})
if err != nil {
return nil, err
+32
View File
@@ -0,0 +1,32 @@
package s3
import (
"net/http"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
)
// Один span на HTTP-попытку MinIO до получения заголовков ответа.
type tracingTransport struct {
next http.RoundTripper
tracer trace.Tracer
}
func (t tracingTransport) RoundTrip(req *http.Request) (*http.Response, error) {
ctx, span := t.tracer.Start(req.Context(), "s3."+req.Method, trace.WithSpanKind(trace.SpanKindClient),
trace.WithAttributes(attribute.String("http.request.method", req.Method)))
defer span.End()
resp, err := t.next.RoundTrip(req.WithContext(ctx))
if err != nil {
span.SetStatus(codes.Error, "ошибка соединения с S3")
} else {
span.SetAttributes(attribute.Int("http.response.status_code", resp.StatusCode))
if resp.StatusCode >= 400 {
span.SetStatus(codes.Error, http.StatusText(resp.StatusCode))
}
}
return resp, err
}
+8
View File
@@ -3,6 +3,8 @@ package telemetry
import (
"context"
"log/slog"
"go.opentelemetry.io/otel/trace"
)
// multiHandler — slog.Handler, который дублирует записи во все вложенные handler'ы.
@@ -32,6 +34,12 @@ func (m *multiHandler) Enabled(ctx context.Context, level slog.Level) bool {
}
func (m *multiHandler) Handle(ctx context.Context, r slog.Record) error {
sc := trace.SpanContextFromContext(ctx)
var traceID, spanID string
if sc.IsValid() {
traceID, spanID = sc.TraceID().String(), sc.SpanID().String()
}
r.AddAttrs(slog.String("trace_id", traceID), slog.String("span_id", spanID))
for _, h := range m.handlers {
if !h.Enabled(ctx, r.Level) {
continue
@@ -0,0 +1,45 @@
//go:build linux
package telemetry
import (
"context"
"os"
"strconv"
"strings"
"syscall"
"go.opentelemetry.io/otel/metric"
)
func registerProcessMetrics(meter metric.Meter) error {
cpu, err := meter.Float64ObservableCounter("process_cpu_seconds_total", metric.WithUnit("s"))
if err != nil {
return err
}
rss, err := meter.Int64ObservableGauge("process_resident_memory_bytes", metric.WithUnit("By"))
if err != nil {
return err
}
_, err = meter.RegisterCallback(func(_ context.Context, observer metric.Observer) error {
var usage syscall.Rusage
if syscall.Getrusage(syscall.RUSAGE_SELF, &usage) == nil {
seconds := float64(usage.Utime.Sec+usage.Stime.Sec) +
float64(usage.Utime.Usec+usage.Stime.Usec)/1e6
observer.ObserveFloat64(cpu, seconds)
}
data, err := os.ReadFile("/proc/self/statm")
if err != nil {
return nil
}
fields := strings.Fields(string(data))
if len(fields) >= 2 {
if pages, err := strconv.ParseInt(fields[1], 10, 64); err == nil {
observer.ObserveInt64(rss, pages*int64(os.Getpagesize()))
}
}
return nil
}, cpu, rss)
return err
}
@@ -0,0 +1,7 @@
//go:build !linux
package telemetry
import "go.opentelemetry.io/otel/metric"
func registerProcessMetrics(metric.Meter) error { return nil }
+18
View File
@@ -0,0 +1,18 @@
package telemetry
import (
"context"
"go.opentelemetry.io/otel/propagation"
)
// TraceHeaders переносит только W3C Trace Context через границу задания.
func TraceHeaders(ctx context.Context) map[string]string {
headers := propagation.MapCarrier{}
propagation.TraceContext{}.Inject(ctx, headers)
return headers
}
func ExtractTrace(ctx context.Context, headers map[string]string) context.Context {
return propagation.TraceContext{}.Extract(ctx, propagation.MapCarrier(headers))
}
@@ -0,0 +1,26 @@
package telemetry
import (
"context"
"testing"
"go.opentelemetry.io/otel/trace"
)
func TestOutboxTraceHeaders(t *testing.T) {
input := map[string]string{
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"tracestate": "lab=node1",
"baggage": "private=example",
}
ctx := ExtractTrace(context.Background(), input)
got := TraceHeaders(ctx)
if len(got) != 2 || got["traceparent"] != input["traceparent"] || got["tracestate"] != input["tracestate"] {
t.Fatalf("неожиданные заголовки outbox: %v", got)
}
for _, headers := range []map[string]string{nil, {"traceparent": "broken"}} {
if trace.SpanContextFromContext(ExtractTrace(context.Background(), headers)).IsValid() {
t.Fatal("отсутствующий или повреждённый контекст дал валидного родителя")
}
}
}
+5 -2
View File
@@ -44,7 +44,7 @@ type Providers struct {
// При OTEL_SDK_DISABLED=true, будут пустые Providers.
func Setup(ctx context.Context, cfg SetupConfig) (*Providers, error) {
if disabled() {
logger := slog.New(slog.NewJSONHandler(os.Stdout, nil))
logger := slog.New(newMultiHandler(slog.NewJSONHandler(os.Stdout, nil))).With("service.name", cfg.ServiceName)
return &Providers{Logger: logger}, nil
}
@@ -106,6 +106,9 @@ func Setup(ctx context.Context, cfg SetupConfig) (*Providers, error) {
otel.SetTracerProvider(tp)
otel.SetMeterProvider(mp)
if err := registerProcessMetrics(mp.Meter("process")); err != nil {
slog.Warn("Не удалось зарегистрировать метрики процесса", "error", err)
}
// Пропагация контекста через W3C Trace Context и Baggage
otel.SetTextMapPropagator(propagation.NewCompositeTextMapPropagator(
@@ -115,7 +118,7 @@ func Setup(ctx context.Context, cfg SetupConfig) (*Providers, error) {
logger := slog.New(newMultiHandler(
slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}),
otelslog.NewHandler(cfg.ServiceName, otelslog.WithLoggerProvider(lp)),
))
)).With("service.name", cfg.ServiceName)
return &Providers{Tracer: tp, Meter: mp, Logs: lp, Logger: logger}, nil
}
+65
View File
@@ -0,0 +1,65 @@
package worker
import (
"context"
"log/slog"
"time"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
"high-loud-apps-labs/internal/domain"
"high-loud-apps-labs/internal/telemetry"
)
type jobMetrics struct {
processed metric.Int64Counter
duration metric.Float64Histogram
ready metric.Float64Histogram
}
func newJobMetrics() jobMetrics {
meter := telemetry.Meter("worker.pipeline")
processed, err := meter.Int64Counter("jobs_processed_total")
if err != nil {
panic(err)
}
unit := metric.WithUnit("s")
duration, err := meter.Float64Histogram("job_processing_duration_seconds", unit,
metric.WithExplicitBucketBoundaries(.01, .05, .1, .25, .5, 1, 2, 5, 10, 30, 60))
if err != nil {
panic(err)
}
ready, err := meter.Float64Histogram("end_to_end_ready_seconds", unit,
metric.WithExplicitBucketBoundaries(.1, .5, 1, 2, 5, 10, 30, 60, 120, 300, 900, 3600))
if err != nil {
panic(err)
}
return jobMetrics{processed: processed, duration: duration, ready: ready}
}
func (m jobMetrics) recordAttempt(ctx context.Context, start time.Time, outcome string) {
attrs := metric.WithAttributes(attribute.String("job.type", domain.OutboxEventProcess), attribute.String("outcome", outcome))
m.duration.Record(ctx, time.Since(start).Seconds(), attrs)
m.processed.Add(ctx, 1, attrs)
span := trace.SpanFromContext(ctx)
span.SetAttributes(attribute.String("job.outcome", outcome))
level := slog.LevelInfo
switch outcome {
case "failed", "error", "retry":
level = slog.LevelWarn
span.SetStatus(codes.Error, outcome)
}
slog.Log(ctx, level, "Попытка обработки завершена", "event", "job.processed", "outcome", outcome)
}
func (m jobMetrics) recordReady(ctx context.Context, createdAt time.Time) {
if createdAt.IsZero() {
return
}
m.ready.Record(ctx, max(0, time.Since(createdAt).Seconds()),
metric.WithAttributes(attribute.String("job.type", domain.OutboxEventProcess)))
}
+69 -20
View File
@@ -10,8 +10,12 @@ import (
"math/rand"
"time"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
"high-loud-apps-labs/internal/domain"
"high-loud-apps-labs/internal/imaging"
"high-loud-apps-labs/internal/telemetry"
)
type Pipeline struct {
@@ -22,6 +26,7 @@ type Pipeline struct {
outbox domain.OutboxRepository
lease time.Duration
maxRetries int
metrics jobMetrics
}
func NewPipeline(
@@ -39,57 +44,80 @@ func NewPipeline(
outbox: outbox,
lease: 5 * time.Minute,
maxRetries: 5,
metrics: newJobMetrics(),
}
}
func (p *Pipeline) Process(ctx context.Context, attachmentID string, pipelineVersion int) error {
start := time.Now()
outcome := "error"
defer func() { p.metrics.recordAttempt(ctx, start, outcome) }()
log.Printf("worker: начало обработки %s (версия пайплайна %d)", attachmentID, pipelineVersion)
jobCtx, cancel := context.WithTimeout(ctx, 30*time.Second)
defer cancel()
tracer := telemetry.Tracer("worker.pipeline")
// 1. Забираем задачу с проверкой версии
a, err := p.jobs.ClaimForProcessing(jobCtx, attachmentID, pipelineVersion, p.lease)
claimCtx, claimSpan := tracer.Start(jobCtx, "job.claim")
a, err := p.jobs.ClaimForProcessing(claimCtx, attachmentID, pipelineVersion, p.lease)
endPipelineSpan(claimSpan, err)
if err != nil {
return fmt.Errorf("захват задачи: %w", err)
}
if a == nil {
outcome = "skipped"
log.Printf("worker: задача %s уже взята, выполнена или версия устарела", attachmentID)
return nil // no-op
}
fail := func(err error, permanent bool) error {
outcome = p.handleFailure(context.WithoutCancel(ctx), a, err, permanent)
return nil
}
// 2. Скачиваем оригинал из staging
rc, _, _, err := p.store.Get(jobCtx, a.StagingKey)
getCtx, getSpan := tracer.Start(jobCtx, "job.s3.get")
rc, _, _, err := p.store.Get(getCtx, a.StagingKey)
if err != nil {
return p.handleFailure(a, fmt.Errorf("скачивание staging: %w", err), false)
endPipelineSpan(getSpan, err)
return fail(fmt.Errorf("скачивание staging: %w", err), false)
}
defer rc.Close()
buf, err := io.ReadAll(rc)
endPipelineSpan(getSpan, err)
if err != nil {
return p.handleFailure(a, fmt.Errorf("чтение staging: %w", err), false)
return fail(fmt.Errorf("чтение staging: %w", err), false)
}
// 3. Генерируем все варианты (Thumbnail, Crop, Optimized)
log.Printf("worker: генерация вариантов для %s", a.ID)
_, imageSpan := tracer.Start(jobCtx, "job.image.process")
thumbMeta, thumbData, err := imaging.Thumbnail(a.ID, buf)
if err != nil {
return p.handleFailure(a, fmt.Errorf("генерация thumbnail: %w", err), true)
endPipelineSpan(imageSpan, err)
return fail(fmt.Errorf("генерация thumbnail: %w", err), true)
}
cropMeta, cropData, err := imaging.Crop(a.ID, buf)
if err != nil {
return p.handleFailure(a, fmt.Errorf("генерация crop: %w", err), true)
endPipelineSpan(imageSpan, err)
return fail(fmt.Errorf("генерация crop: %w", err), true)
}
webpMeta, webpData, err := imaging.Optimized(a.ID, buf)
endPipelineSpan(imageSpan, err)
if err != nil {
return p.handleFailure(a, fmt.Errorf("генерация webp: %w", err), true)
return fail(fmt.Errorf("генерация webp: %w", err), true)
}
// 4. Сохраняем оригинал в финальный prefix (chats/...)
if err := p.store.Put(jobCtx, a.ObjectKey, bytes.NewReader(buf), int64(len(buf)), a.ContentType); err != nil {
return p.handleFailure(a, fmt.Errorf("загрузка оригинала: %w", err), false)
putCtx, putSpan := tracer.Start(jobCtx, "job.s3.put")
if err := p.store.Put(putCtx, a.ObjectKey, bytes.NewReader(buf), int64(len(buf)), a.ContentType); err != nil {
endPipelineSpan(putSpan, err)
return fail(fmt.Errorf("загрузка оригинала: %w", err), false)
}
// 5. Загружаем все сгенерированные варианты в S3
@@ -109,27 +137,42 @@ func (p *Pipeline) Process(ctx context.Context, attachmentID string, pipelineVer
data = webpData
}
if err := p.store.Put(jobCtx, key, bytes.NewReader(data), v.SizeBytes, v.ContentType); err != nil {
return p.handleFailure(a, fmt.Errorf("загрузка варианта %s: %w", v.Name, err), false)
if err := p.store.Put(putCtx, key, bytes.NewReader(data), v.SizeBytes, v.ContentType); err != nil {
endPipelineSpan(putSpan, err)
return fail(fmt.Errorf("загрузка варианта %s: %w", v.Name, err), false)
}
v.ObjectKey = key
}
putSpan.End()
// 6. Фиксируем результат в БД (переводим в ready)
ok, err := p.jobs.CompleteJob(jobCtx, a.ID, a.PipelineVersion, variants)
completeCtx, completeSpan := tracer.Start(jobCtx, "job.db.complete")
ok, err := p.jobs.CompleteJob(completeCtx, a.ID, a.PipelineVersion, variants)
endPipelineSpan(completeSpan, err)
if err != nil {
return p.handleFailure(a, fmt.Errorf("фиксация в БД: %w", err), false)
return fail(fmt.Errorf("фиксация в БД: %w", err), false)
}
if !ok {
outcome = "skipped"
log.Printf("worker: версия устарела или статус изменился, пропускаем %s", a.ID)
return nil
}
outcome = "ready"
p.metrics.recordReady(ctx, a.CreatedAt)
log.Printf("worker: успешно завершено %s", a.ID)
return nil
}
func (p *Pipeline) handleFailure(a *domain.Attachment, err error, isPermanent bool) error {
func endPipelineSpan(span trace.Span, err error) {
if err != nil {
span.SetStatus(codes.Error, "операция завершилась ошибкой")
}
span.End()
}
func (p *Pipeline) handleFailure(ctx context.Context, a *domain.Attachment, err error, isPermanent bool) string {
// Если исчерпаны попытки или ошибка постоянная (например, битый файл)
if isPermanent || a.Attempts >= p.maxRetries {
reason := domain.JobErrorInternal
@@ -142,13 +185,16 @@ func (p *Pipeline) handleFailure(a *domain.Attachment, err error, isPermanent bo
log.Printf("worker: финальная ошибка для %s (попытка %d): %v", a.ID, a.Attempts, err)
// Используем context.Background(), чтобы запись в БД прошла даже при истекшем jobCtx
_ = p.jobs.FailJob(context.Background(), a.ID, reason)
_ = p.failedJobs.Record(context.Background(), &domain.FailedJob{
updateErr := p.jobs.FailJob(context.Background(), a.ID, reason)
recordErr := p.failedJobs.Record(context.Background(), &domain.FailedJob{
AttachmentID: a.ID,
ReasonCode: reason,
Attempts: a.Attempts,
})
return nil
if updateErr != nil || recordErr != nil {
return "error"
}
return "failed"
}
// Временная ошибка - делаем Retry с backoff
@@ -159,7 +205,7 @@ func (p *Pipeline) handleFailure(a *domain.Attachment, err error, isPermanent bo
jitter := time.Duration(rand.Intn(1000)) * time.Millisecond
nextAt := time.Now().UTC().Add(backoff + jitter)
_ = p.jobs.ScheduleRetry(context.Background(), a.ID, nextAt, "")
scheduleErr := p.jobs.ScheduleRetry(ctx, a.ID, nextAt, "")
// Кладем в Outbox отложенное сообщение
payload, _ := json.Marshal(domain.JobMessage{
@@ -167,7 +213,7 @@ func (p *Pipeline) handleFailure(a *domain.Attachment, err error, isPermanent bo
PipelineVersion: a.PipelineVersion,
Attempt: a.Attempts + 1,
})
_ = p.outbox.EnqueueDirect(context.Background(), &domain.OutboxEntry{
enqueueErr := p.outbox.EnqueueDirect(ctx, &domain.OutboxEntry{
AggregateType: domain.OutboxAggregateAttachment,
AggregateID: a.ID,
EventType: domain.OutboxEventProcess,
@@ -175,5 +221,8 @@ func (p *Pipeline) handleFailure(a *domain.Attachment, err error, isPermanent bo
CreatedAt: nextAt,
})
return nil
if scheduleErr != nil || enqueueErr != nil {
return "error"
}
return "retry"
}
@@ -0,0 +1,5 @@
-- +goose Up
ALTER TABLE outbox ADD COLUMN headers JSONB NOT NULL DEFAULT '{}';
-- +goose Down
ALTER TABLE outbox DROP COLUMN headers;
+91
View File
@@ -74,6 +74,7 @@ services:
RABBITMQ_DEFAULT_PASS: "${RABBITMQ_PASSWORD}"
volumes:
- rabbitmq_data:/var/lib/rabbitmq
- ./infra/rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins:ro
ports:
- "15672:15672"
- "5672:5672"
@@ -171,6 +172,9 @@ services:
image: mtusi-messenger-api:lab3
restart: unless-stopped
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: "${OTEL_EXPORTER_OTLP_ENDPOINT:-http://otel-collector:4318}"
OTEL_METRIC_EXPORT_INTERVAL: "${OTEL_METRIC_EXPORT_INTERVAL:-15000}"
OTEL_SDK_DISABLED: "${OTEL_SDK_DISABLED:-false}"
APP_HOST: "0.0.0.0"
APP_PORT: "8080"
DATABASE_URL_FILE: /run/secrets/database_url
@@ -234,6 +238,9 @@ services:
command: ["/worker"]
restart: unless-stopped
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: "${OTEL_EXPORTER_OTLP_ENDPOINT:-http://otel-collector:4318}"
OTEL_METRIC_EXPORT_INTERVAL: "${OTEL_METRIC_EXPORT_INTERVAL:-15000}"
OTEL_SDK_DISABLED: "${OTEL_SDK_DISABLED:-false}"
DATABASE_URL_FILE: /run/secrets/database_url
S3_ENDPOINT: "http://minio:9000"
S3_BUCKET: "${S3_BUCKET:-messenger-attachments}"
@@ -273,6 +280,9 @@ services:
command: ["/reconciler"]
restart: unless-stopped
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: "${OTEL_EXPORTER_OTLP_ENDPOINT:-http://otel-collector:4318}"
OTEL_METRIC_EXPORT_INTERVAL: "${OTEL_METRIC_EXPORT_INTERVAL:-15000}"
OTEL_SDK_DISABLED: "${OTEL_SDK_DISABLED:-false}"
DATABASE_URL_FILE: /run/secrets/database_url
S3_ENDPOINT: "http://minio:9000"
S3_BUCKET: "${S3_BUCKET:-messenger-attachments}"
@@ -322,6 +332,83 @@ services:
networks:
- internal
prometheus:
image: prom/prometheus:v3.16.0
restart: unless-stopped
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=7d
volumes:
- ./infra/prometheus.yml:/etc/prometheus/prometheus.yml:ro
- ./infra/prometheus/rules:/etc/prometheus/rules:ro
- prometheus_data:/prometheus
networks:
- internal
opensearch:
image: opensearchproject/opensearch:2.19.7
restart: unless-stopped
environment:
discovery.type: single-node
node.store.allow_mmap: "false"
DISABLE_INSTALL_DEMO_CONFIG: "true"
DISABLE_SECURITY_PLUGIN: "true"
OPENSEARCH_JAVA_OPTS: "-Xms512m -Xmx512m"
volumes:
- opensearch_data:/usr/share/opensearch/data
networks:
- internal
jaeger:
image: jaegertracing/all-in-one:1.76.0
restart: unless-stopped
environment:
COLLECTOR_OTLP_ENABLED: "true"
COLLECTOR_OTLP_GRPC_HOST_PORT: "0.0.0.0:4317"
SPAN_STORAGE_TYPE: badger
BADGER_EPHEMERAL: "false"
BADGER_DIRECTORY_VALUE: /tmp/jaeger/data
BADGER_DIRECTORY_KEY: /tmp/jaeger/key
volumes:
- jaeger_data:/tmp
networks:
- internal
otel-collector:
image: otel/opentelemetry-collector-contrib:0.135.0
restart: unless-stopped
command: ["--config=/etc/otelcol-contrib/config.yaml"]
volumes:
- ./infra/otel-collector.yaml:/etc/otelcol-contrib/config.yaml:ro
depends_on:
- jaeger
- opensearch
networks:
- internal
grafana:
image: grafana/grafana:13.3.0
restart: unless-stopped
environment:
GF_SECURITY_ADMIN_USER: "${GRAFANA_ADMIN_USER:-admin}"
GF_SECURITY_ADMIN_PASSWORD: "${GRAFANA_ADMIN_PASSWORD:-admin}"
GF_PLUGINS_PREINSTALL_SYNC: grafana-opensearch-datasource@2.34.7
ports:
- "127.0.0.1:${GRAFANA_PORT:-3000}:3000"
volumes:
- grafana_data:/var/lib/grafana
- ./infra/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources:ro
- ./infra/grafana/dashboards:/var/lib/grafana/dashboards:ro
- ./infra/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards:ro
depends_on:
- prometheus
- opensearch
- jaeger
networks:
- internal
secrets:
postgres_password:
file: ./secrets/postgres_password
@@ -343,6 +430,10 @@ volumes:
redis_data:
minio_data:
rabbitmq_data:
prometheus_data:
opensearch_data:
jaeger_data:
grafana_data:
networks:
internal:
Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

@@ -0,0 +1,411 @@
{"time": "2026-11-22T09:38:59.490447+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:00.020218+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:00.563679+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:01.102420+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:01.613258+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:02.123590+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:02.645240+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:03.152551+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:03.677980+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:04.202911+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:04.729894+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:05.244608+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:05.753950+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:06.265177+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:06.792223+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:07.317145+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:07.828935+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:08.351226+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:08.879900+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:09.424026+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:09.951029+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:10.492377+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:11.006392+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:11.531605+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:12.058402+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:12.605329+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:13.146925+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:13.666381+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:14.186850+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:14.697631+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:15.232936+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:15.748574+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:16.260582+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:16.801556+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:17.315363+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:17.851962+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:18.364577+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:18.873296+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:19.384517+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:19.892825+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:20.420477+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:20.961142+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:21.486237+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:22.030018+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:22.543449+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:23.080995+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:23.612209+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:24.135993+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:24.650981+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:25.160424+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:25.701605+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:26.245465+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:26.759100+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:27.286667+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:27.812152+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:28.338405+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:28.851988+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:29.357861+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:29.896879+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:30.441246+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:30.984392+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:31.496657+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:32.026327+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:32.541806+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:33.079836+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:33.622822+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:34.146777+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:34.691559+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:35.233223+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:35.775688+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:36.295689+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:36.834908+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:37.361917+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:37.886526+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:38.416643+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:38.949231+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:39.497693+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:40.027827+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:40.568521+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:41.112739+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:41.643522+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:42.173010+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:42.685210+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:43.197997+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:43.706293+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:44.218923+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:44.759651+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:45.274590+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:45.804794+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:46.347163+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:46.865128+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:47.377646+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:47.902236+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:48.446454+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:48.961062+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:49.487012+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:49.999238+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:50.525290+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:51.035793+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:51.562570+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:52.105839+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:52.616221+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:53.157140+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:53.699854+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:54.215834+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:54.741623+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:55.284495+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:55.814085+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:56.330961+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:56.855579+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:57.399732+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:57.918332+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:58.448906+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:39:58.973619+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:40:00.075492+00:00", "event": "postgres_stopped"}
{"time": "2026-11-22T09:40:03.305436+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:07.022530+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:10.751394+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:14.460850+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:18.174224+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:21.905473+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:25.690156+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:29.452708+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:33.201731+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:36.940167+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:40.657656+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:44.350090+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:48.039348+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:51.759489+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:55.457365+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:40:59.204249+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:02.908926+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:06.650185+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:10.366420+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:14.084277+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:17.796846+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:21.522564+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:25.250084+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:28.956314+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:32.671707+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:36.405561+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:40.142411+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:43.887048+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:47.591314+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:51.313546+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:55.024505+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:41:58.775833+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:02.512266+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:06.244916+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:10.002511+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:13.747746+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:17.446976+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:21.150842+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:24.862680+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:28.584034+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:32.350576+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:36.105041+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:39.864904+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:43.604295+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:47.334742+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:51.023588+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:54.719228+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:42:58.433039+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:02.160723+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:05.867226+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:09.585855+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:13.325409+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:17.060993+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:20.798152+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:24.517457+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:28.237609+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:31.965773+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:35.691159+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:39.419077+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:43.153151+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:46.901710+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:50.610795+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:54.352309+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:43:58.057702+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:44:01.761875+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:44:02.660962+00:00", "event": "postgres_started"}
{"time": "2026-11-22T09:44:02.675994+00:00", "event": "http", "phase": "after", "status": 503}
{"time": "2026-11-22T09:44:03.241449+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:03.771865+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:04.282275+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:04.807033+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:05.347609+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:05.885821+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:06.411949+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:06.939059+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:07.448465+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:07.967310+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:08.479573+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:09.004644+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:09.532440+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:10.061294+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:10.573445+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:11.096679+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:11.625376+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:12.163155+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:12.705677+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:13.245061+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:13.789970+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:14.320312+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:14.835687+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:15.364910+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:15.875910+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:16.388174+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:16.923195+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:17.466310+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:17.996526+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:18.511161+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:19.039781+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:19.582031+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:20.108768+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:20.636089+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:21.150031+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:21.691195+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:22.219384+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:22.756377+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:23.280513+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:23.810747+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:24.336028+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:24.866118+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:25.405508+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:25.950623+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:26.463490+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:26.990848+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:27.520070+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:28.046205+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:28.572092+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:29.086051+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:29.598977+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:30.142191+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:30.655047+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:31.182488+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:31.694735+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:32.211332+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:32.737006+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:33.265433+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:33.794631+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:34.322008+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:34.837619+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:35.362419+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:35.901692+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:36.415269+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:36.930050+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:37.470522+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:38.013665+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:38.556652+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:39.103688+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:39.630184+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:40.175575+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:40.713483+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:41.220717+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:41.748330+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:42.275796+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:42.818017+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:43.332168+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:43.840243+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:44.352643+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:44.879448+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:45.391023+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:45.917616+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:46.447277+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:46.973967+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:47.495596+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:48.009955+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:48.539151+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:49.081821+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:49.612648+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:50.126851+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:50.638172+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:51.148746+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:51.661598+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:52.188913+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:52.700634+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:53.208945+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:53.750156+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:54.294678+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:54.823357+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:55.337373+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:55.851212+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:56.365058+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:56.891253+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:57.434060+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:57.948390+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:58.489533+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:59.018066+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:44:59.556367+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:00.085725+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:00.599252+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:01.112308+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:01.634217+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:02.164786+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:02.691830+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:03.198524+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:03.724681+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:04.232673+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:04.756962+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:05.285831+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:05.796995+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:06.309741+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:06.849629+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:07.378057+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:07.907845+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:08.449788+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:08.989590+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:09.534800+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:10.064294+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:10.609325+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:11.123724+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:11.654810+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:12.180946+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:12.692985+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:13.203235+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:13.730187+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:14.242230+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:14.750213+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:15.258134+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:15.770842+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:16.311320+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:16.855785+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:17.384828+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:17.909016+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:18.423383+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:18.951049+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:19.464844+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:19.993000+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:20.504353+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:21.047731+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:21.578955+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:22.118720+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:22.662324+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:23.174560+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:23.708955+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:24.252904+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:24.764787+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:25.278170+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:25.793697+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:26.320437+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:26.851534+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:27.378137+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:27.896537+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:28.408294+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:28.917918+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:29.457836+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:30.002230+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:30.545871+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:31.061193+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:31.587550+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:32.129972+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:32.659711+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:33.203724+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:33.745388+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:34.257260+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:34.769671+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:35.277898+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:35.806755+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:36.349731+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:36.894845+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:37.411957+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:37.951852+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:38.479887+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:39.004576+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:39.543696+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:40.057522+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:40.595569+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:41.107161+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:41.631805+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:42.159104+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:42.682929+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:43.199091+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:43.710394+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:44.233749+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:44.778063+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:45.306194+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:45.814184+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:46.336422+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:46.863492+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:47.376031+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:47.900284+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:48.444391+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:48.990145+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:49.508600+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:50.031705+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:50.570639+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:51.098678+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:51.624370+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:52.163517+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:52.676864+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:53.215114+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:53.758911+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:54.290150+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:54.834688+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:55.379246+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:55.909457+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:56.450589+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:56.992446+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:57.521275+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:58.032531+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:58.573464+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:59.096195+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:45:59.607158+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:46:00.131699+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:46:00.660032+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:46:01.172268+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:46:01.714194+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:46:02.243940+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:46:02.770658+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T09:46:03.281693+00:00", "event": "http", "phase": "after", "status": 200}
@@ -0,0 +1,140 @@
{
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": {
"__name__": "ALERTS",
"alertname": "MessengerHighAPIErrorRate",
"alertstate": "firing",
"severity": "warning"
},
"values": [
[
1795341633,
"1"
],
[
1795341648,
"1"
],
[
1795341663,
"1"
],
[
1795341678,
"1"
],
[
1795341693,
"1"
],
[
1795341708,
"1"
],
[
1795341723,
"1"
],
[
1795341738,
"1"
],
[
1795341753,
"1"
],
[
1795341768,
"1"
],
[
1795341783,
"1"
],
[
1795341798,
"1"
],
[
1795341813,
"1"
],
[
1795341828,
"1"
],
[
1795341843,
"1"
],
[
1795341858,
"1"
],
[
1795341873,
"1"
],
[
1795341888,
"1"
],
[
1795341903,
"1"
],
[
1795341918,
"1"
]
]
},
{
"metric": {
"__name__": "ALERTS",
"alertname": "MessengerHighAPIErrorRate",
"alertstate": "pending",
"severity": "warning"
},
"values": [
[
1795341513,
"1"
],
[
1795341528,
"1"
],
[
1795341543,
"1"
],
[
1795341558,
"1"
],
[
1795341573,
"1"
],
[
1795341588,
"1"
],
[
1795341603,
"1"
],
[
1795341618,
"1"
]
]
}
]
}
}
@@ -0,0 +1,866 @@
{"time": "2026-11-22T09:56:33.270974+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:33.795636+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:34.301617+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:34.813371+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:35.354402+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:35.868594+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:36.394543+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:36.905019+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:37.430462+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:37.944259+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:38.469104+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:38.999818+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:39.543926+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:40.090779+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:40.620046+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:41.129717+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:41.640518+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:42.151989+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:42.665462+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:43.209484+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:43.750734+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:44.271210+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:44.779863+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:45.293160+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:45.834144+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:46.349759+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:46.861720+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:47.375626+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:47.888803+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:48.430238+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:48.945654+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:49.473820+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:50.001223+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:50.511681+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:51.033545+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:51.551102+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:52.059073+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:52.567838+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:53.077767+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:53.583960+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:54.094294+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:54.620276+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:55.137081+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:55.649232+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:56.158471+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:56.671538+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:57.201889+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:57.717852+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:58.230385+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:58.762281+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:59.284845+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:56:59.797729+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:00.324973+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:00.848640+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:01.393144+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:01.906693+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:02.418761+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:02.942588+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:03.488452+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:04.012406+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:04.523386+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:05.036499+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:05.550360+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:06.089192+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:06.603040+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:07.143357+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:07.687313+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:08.200831+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:08.727215+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:09.238363+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:09.750652+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:10.257272+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:10.770043+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:11.280187+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:11.790514+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:12.305745+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:12.830634+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:13.356364+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:13.868668+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:14.408694+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:14.937165+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:15.477518+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:15.994609+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:16.531654+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:17.060820+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:17.583285+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:18.117498+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:18.642365+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:19.155538+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:19.697452+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:20.213754+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:20.736233+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:21.246414+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:21.772197+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:22.315372+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:22.826639+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:23.346939+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:23.873937+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:24.390393+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:24.928772+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:25.468780+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:25.995266+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:26.514493+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:27.041774+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:27.582648+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:28.123022+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:28.665393+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:29.210403+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:29.755205+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:30.283113+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:30.793530+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:31.317448+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:31.848911+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:32.360247+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:32.869378+00:00", "event": "http", "phase": "before", "status": 200}
{"time": "2026-11-22T09:57:33.843598+00:00", "event": "postgres_stopped"}
{"time": "2026-11-22T09:57:37.070162+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:57:40.788281+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:57:44.521000+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:57:48.224709+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:57:51.942256+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:57:55.676974+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:57:59.382812+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:03.105819+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:06.847744+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:10.583118+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:14.303395+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:18.023787+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:21.727896+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:25.446166+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:29.156768+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:32.874238+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:36.622406+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:40.359519+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:44.113442+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:47.837085+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:51.556802+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:55.274522+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:58:58.975024+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:02.720792+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:06.484825+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:10.246246+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:13.986952+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:17.719696+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:21.455356+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:25.164396+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:28.887347+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:32.606421+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:36.338439+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:40.110198+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:43.851972+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:47.590269+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:51.321506+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:55.030843+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T09:59:58.764822+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:02.503935+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:06.209679+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:09.908047+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:13.666490+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:17.426237+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:21.146249+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:24.873003+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:28.582195+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:32.298324+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:36.013016+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:39.736198+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:43.462726+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:47.223762+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:50.976093+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:54.710264+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:00:58.437987+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:02.176387+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:05.876324+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:09.600116+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:13.347676+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:17.110624+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:20.845350+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:24.568158+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:28.289715+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:32.005444+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:35.698545+00:00", "event": "http", "phase": "outage", "status": 503}
{"time": "2026-11-22T10:01:36.565433+00:00", "event": "postgres_started"}
{"time": "2026-11-22T10:01:36.571201+00:00", "event": "http", "phase": "after", "status": 503}
{"time": "2026-11-22T10:01:37.085012+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:37.639280+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:38.161483+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:38.673991+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:39.186181+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:39.718734+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:40.231997+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:40.770556+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:41.283243+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:41.793373+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:42.318262+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:42.855878+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:43.386398+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:43.900853+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:44.440792+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:44.968125+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:45.479867+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:46.008988+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:46.551984+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:47.094280+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:47.638579+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:48.164547+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:48.679683+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:49.207456+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:49.737239+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:50.279589+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:50.810533+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:51.353624+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:51.880060+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:52.392943+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:52.932353+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:53.454282+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:53.999327+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:54.541001+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:55.056998+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:55.569620+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:56.094978+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:56.622313+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:57.150597+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:57.682675+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:58.224377+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:58.736990+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:59.266044+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:01:59.791832+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:00.332875+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:00.847210+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:01.359358+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:01.869896+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:02.379237+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:02.921230+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:03.464235+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:03.976442+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:04.500280+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:05.027106+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:05.540365+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:06.049851+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:06.555442+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:07.085651+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:07.614441+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:08.120843+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:08.658225+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:09.173106+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:09.697845+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:10.211318+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:10.732603+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:11.244462+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:11.761704+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:12.274576+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:12.797484+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:13.327755+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:13.840252+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:14.345896+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:14.857637+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:15.382995+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:15.909632+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:16.419918+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:16.944576+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:17.478148+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:18.019026+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:18.546354+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:19.061390+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:19.573428+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:20.099677+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:20.614701+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:21.152994+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:21.665212+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:22.190800+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:22.717397+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:23.230998+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:23.743570+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:24.284348+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:24.810160+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:25.320773+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:25.854018+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:26.380006+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:26.921129+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:27.435248+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:27.960404+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:28.488496+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:29.013129+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:29.542410+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:30.071032+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:30.616207+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:31.148256+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:31.689734+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:32.221723+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:32.749406+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:33.286893+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:33.801822+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:34.341726+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:34.871121+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:35.388835+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:35.911666+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:36.440516+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:36.980956+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:37.521248+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:38.035397+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:38.566499+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:39.106198+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:39.649922+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:40.178909+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:40.691434+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:41.216854+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:41.760859+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:42.274098+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:42.818861+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:43.333163+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:43.842740+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:44.381579+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:44.911787+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:45.422408+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:45.949373+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:46.472787+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:46.983986+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:47.494635+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:48.023338+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:48.550348+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:49.087919+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:49.630749+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:50.158333+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:50.698055+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:51.243336+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:51.757113+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:52.283787+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:52.825338+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:53.370333+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:53.885413+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:54.397434+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:54.924502+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:55.439771+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:55.978689+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:56.521517+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:57.064929+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:57.592955+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:58.119420+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:58.665157+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:59.179132+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:02:59.707831+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:00.220341+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:00.732076+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:01.257125+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:01.800952+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:02.317214+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:02.828404+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:03.370944+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:03.887884+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:04.425941+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:04.940270+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:05.453197+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:05.981848+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:06.493819+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:07.018342+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:07.546416+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:08.061541+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:08.574099+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:09.116235+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:09.648226+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:10.157070+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:10.665379+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:11.203034+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:11.729185+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:12.258682+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:12.796813+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:13.337701+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:13.846901+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:14.356108+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:14.879929+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:15.417662+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:15.957614+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:16.485803+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:17.000387+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:17.515184+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:18.039679+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:18.585247+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:19.114241+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:19.640380+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:20.165770+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:20.693328+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:21.210974+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:21.738243+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:22.250226+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:22.776045+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:23.291249+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:23.808208+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:24.347651+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:24.873083+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:25.418489+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:25.963332+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:26.473786+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:26.984519+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:27.498920+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:28.040897+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:28.556498+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:29.083239+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:29.607968+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:30.148492+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:30.692699+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:31.235723+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:31.767703+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:32.292555+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:32.818508+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:33.343538+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:33.858552+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:34.407312+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:34.941130+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:35.453532+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:35.963927+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:36.505087+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:37.048823+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:37.589949+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:38.131697+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:38.646508+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:39.161467+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:39.673912+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:40.217347+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:40.729862+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:41.247040+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:41.774876+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:42.290559+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:42.833709+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:43.348013+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:43.860959+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:44.370648+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:44.884297+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:45.411924+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:45.924903+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:46.466991+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:46.981827+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:47.492689+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:48.022016+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:48.533149+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:49.043880+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:49.573328+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:50.100550+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:50.642161+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:51.155987+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:51.681051+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:52.208193+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:52.742391+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:53.282378+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:53.810333+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:54.339202+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:54.882219+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:55.412103+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:55.934104+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:56.475313+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:57.018380+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:57.547082+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:58.059272+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:58.572641+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:59.100607+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:03:59.628047+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:00.151930+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:00.678502+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:01.206870+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:01.719741+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:02.260888+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:02.776381+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:03.291056+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:03.815439+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:04.354910+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:04.871874+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:05.410692+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:05.954609+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:06.483759+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:07.014803+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:07.543809+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:08.082132+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:08.627812+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:09.168421+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:09.681508+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:10.192887+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:10.721232+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:11.265529+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:11.794672+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:12.334919+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:12.848992+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:13.376705+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:13.890165+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:14.401176+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:14.943258+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:15.475878+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:15.998785+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:16.541913+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:17.086247+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:17.612596+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:18.125500+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:18.655292+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:19.197004+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:19.742517+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:20.269333+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:20.779532+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:21.304097+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:21.829899+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:22.360091+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:22.887795+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:23.403189+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:23.928551+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:24.459443+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:24.968474+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:25.491015+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:26.005196+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:26.514075+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:27.040136+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:27.564522+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:28.093030+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:28.619404+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:29.133110+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:29.673045+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:30.213383+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:30.728614+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:31.236609+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:31.748955+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:32.286066+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:32.814184+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:33.356164+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:33.871126+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:34.393163+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:34.934835+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:35.474315+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:36.004700+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:36.545610+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:37.073145+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:37.590241+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:38.117666+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:38.647048+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:39.173966+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:39.716241+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:40.250262+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:40.776175+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:41.289276+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:41.830679+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:42.376892+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:42.904778+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:43.430679+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:43.959155+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:44.468421+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:44.993424+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:45.520683+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:46.066891+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:46.609288+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:47.153901+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:47.684871+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:48.225269+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:48.738549+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:49.269387+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:49.793481+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:50.338316+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:50.864062+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:51.392075+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:51.921259+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:52.466611+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:52.994440+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:53.538866+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:54.067539+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:54.597118+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:55.110372+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:55.638809+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:56.147584+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:56.672241+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:57.214876+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:57.746811+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:58.278990+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:58.789075+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:59.318064+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:04:59.859946+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:00.375716+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:00.888906+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:01.415846+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:01.941310+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:02.472981+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:03.013114+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:03.546305+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:04.058180+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:04.585066+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:05.098910+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:05.640417+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:06.154814+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:06.681004+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:07.224239+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:07.751560+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:08.297876+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:08.842017+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:09.358018+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:09.871634+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:10.397057+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:10.938680+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:11.466594+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:11.993155+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:12.529256+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:13.058976+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:13.582734+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:14.107601+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:14.634017+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:15.157246+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:15.669150+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:16.191350+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:16.701488+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:17.212345+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:17.721906+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:18.233261+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:18.759393+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:19.281710+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:19.808582+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:20.321564+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:20.830066+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:21.357087+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:21.900664+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:22.430899+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:22.973118+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:23.515371+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:24.029381+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:24.539625+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:25.052141+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:25.593968+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:26.137843+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:26.668657+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:27.181883+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:27.708209+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:28.251187+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:28.764663+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:29.290258+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:29.821861+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:30.329815+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:30.839151+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:31.366265+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:31.910442+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:32.440751+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:32.953148+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:33.466725+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:33.976151+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:34.499887+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:35.028637+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:35.557156+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:36.086750+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:36.610182+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:37.123395+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:37.666575+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:38.181202+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:38.691553+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:39.207941+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:39.747976+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:40.275422+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:40.800600+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:41.314951+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:41.857960+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:42.373039+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:42.896570+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:43.408880+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:43.921222+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:44.447348+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:44.959549+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:45.473832+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:45.998921+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:46.538085+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:47.065507+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:47.590251+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:48.114051+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:48.628334+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:49.171442+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:49.715124+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:50.241038+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:50.753069+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:51.295264+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:51.840188+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:52.353672+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:52.894038+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:53.422191+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:53.933989+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:54.472584+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:55.015580+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:55.529684+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:56.041992+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:56.553181+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:57.081498+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:57.607368+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:58.132390+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:58.644800+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:59.172318+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:05:59.682072+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:00.194567+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:00.722690+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:01.249924+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:01.761939+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:02.275204+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:02.803364+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:03.344109+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:03.870202+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:04.410065+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:04.936711+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:05.462461+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:05.990825+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:06.528505+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:07.047581+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:07.589449+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:08.115878+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:08.630190+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:09.172406+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:09.687718+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:10.214287+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:10.739423+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:11.267093+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:11.797163+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:12.310088+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:12.847421+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:13.392547+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:13.907199+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:14.418593+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:14.940797+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:15.480914+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:15.994879+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:16.516594+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:17.044659+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:17.570516+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:18.110331+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:18.617540+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:19.159217+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:19.689726+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:20.200690+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:20.714742+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:21.222854+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:21.733355+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:22.258768+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:22.787168+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:23.329772+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:23.856110+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:24.397369+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:24.942746+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:25.473565+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:25.990655+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:26.518511+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:27.062514+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:27.608304+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:28.150409+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:28.679806+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:29.218339+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:29.750115+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:30.292628+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:30.818911+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:31.360269+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:31.873415+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:32.415820+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:32.932729+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:33.458363+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:33.970869+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:34.499877+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:35.028239+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:35.566352+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:36.096051+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:36.621771+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:37.152551+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:37.668617+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:38.197373+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:38.720309+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:39.236793+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:39.748314+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:40.291895+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:40.836952+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:41.380193+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:41.907762+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:42.450440+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:42.990643+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:43.519298+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:44.034212+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:44.572183+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:45.110023+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:45.622646+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:46.133046+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:46.642437+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:47.153796+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:47.678002+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:48.205985+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:48.746875+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:49.274393+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:49.792551+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:50.301365+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:50.843049+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:51.369690+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:51.898569+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:52.424498+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:52.952694+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:53.495529+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:54.021495+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:54.558806+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:55.102793+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:55.633197+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:56.175417+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:56.703331+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:57.233069+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:57.760574+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:58.285828+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:58.815429+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:59.355277+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:06:59.870244+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:00.381561+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:00.908435+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:01.437877+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:01.964725+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:02.491684+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:03.015471+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:03.556285+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:04.071219+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:04.611482+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:05.157851+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:05.698350+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:06.214726+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:06.756167+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:07.286121+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:07.829473+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:08.372529+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:08.916116+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:09.456408+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:09.984267+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:10.512998+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:11.039734+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:11.555027+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:12.070309+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:12.594582+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:13.116208+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:13.660267+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:14.201747+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:14.713139+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:15.252564+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:15.794419+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:16.339885+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:16.880959+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:17.405840+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:17.932316+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:18.446497+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:18.957873+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:19.468424+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:19.976226+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:20.505456+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:21.031212+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:21.562056+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:22.075450+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:22.601159+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:23.127666+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:23.641015+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:24.150935+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:24.660123+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:25.186704+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:25.717933+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:26.247640+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:26.773837+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:27.287212+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:27.829445+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:28.371438+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:28.901809+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:29.443108+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:29.973006+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:30.486721+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:30.998573+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:31.540690+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:32.084520+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:32.598698+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:33.125408+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:33.636712+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:34.149090+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:34.675387+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:35.205293+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:35.729447+00:00", "event": "http", "phase": "after", "status": 200}
{"time": "2026-11-22T10:07:36.243337+00:00", "event": "http", "phase": "after", "status": 200}
@@ -0,0 +1,6 @@
{
"firing_samples": 20,
"final_rule_state": [
"inactive"
]
}
@@ -0,0 +1,17 @@
{
"lab": 6,
"workload": "closed-loop POST messages; no automatic retries",
"requested_duration_seconds": 60.0,
"elapsed_seconds": 60.047,
"concurrency": 4,
"successful_requests": 19422,
"failed_requests": 4,
"error_ratio": 0.000206,
"successful_rps": 323.447,
"successful_latency_ms": {
"p50": 15.0,
"p95": 31.0,
"p99": 32.0
},
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
}
@@ -0,0 +1 @@
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
@@ -0,0 +1,13 @@
{"utc": "2026-11-20T18:04:03.570778+00:00", "event": "http", "phase": "before", "trace_id": "5376103be6d6cdea5f750e2475b7c7ec", "status": 202, "request_id": "99ff9a6f-9001-47bd-81c3-4796df20c18f", "elapsed_ms": 31}
{"utc": "2026-11-20T18:04:04.228214+00:00", "event": "ready", "phase": "before", "trace_id": "5376103be6d6cdea5f750e2475b7c7ec"}
{"utc": "2026-11-20T18:04:04.605656+00:00", "event": "stopped", "service": "minio"}
{"utc": "2026-11-20T18:04:12.610506+00:00", "event": "client_error", "phase": "during", "trace_id": "6b276120ed6d5e741b59edd042419037", "error": "POST /api/v1/chats/7c6f5ea5-07a8-4185-8012-0af6d78196d6/attachments: connection/TLS failure (TimeoutError)"}
{"utc": "2026-11-20T18:04:25.635325+00:00", "event": "client_error", "phase": "during", "trace_id": "2c1e8b36c1df12dbd1803b340a35cfa6", "error": "POST /api/v1/chats/7c6f5ea5-07a8-4185-8012-0af6d78196d6/attachments: connection/TLS failure (TimeoutError)"}
{"utc": "2026-11-20T18:04:38.660335+00:00", "event": "client_error", "phase": "during", "trace_id": "62de62fab701f3c29e0415a822af55ec", "error": "POST /api/v1/chats/7c6f5ea5-07a8-4185-8012-0af6d78196d6/attachments: connection/TLS failure (TimeoutError)"}
{"utc": "2026-11-20T18:04:51.703896+00:00", "event": "client_error", "phase": "during", "trace_id": "517da25293492337ab9cfc25c97eaf3e", "error": "POST /api/v1/chats/7c6f5ea5-07a8-4185-8012-0af6d78196d6/attachments: connection/TLS failure (TimeoutError)"}
{"utc": "2026-11-20T18:05:04.744747+00:00", "event": "client_error", "phase": "during", "trace_id": "019bf52e92f791f7c56c5791b6a06244", "error": "POST /api/v1/chats/7c6f5ea5-07a8-4185-8012-0af6d78196d6/attachments: connection/TLS failure (TimeoutError)"}
{"utc": "2026-11-20T18:05:17.789848+00:00", "event": "client_error", "phase": "during", "trace_id": "24c3a9d8a31d7c474cfb76a98b00bb4c", "error": "POST /api/v1/chats/7c6f5ea5-07a8-4185-8012-0af6d78196d6/attachments: connection/TLS failure (TimeoutError)"}
{"utc": "2026-11-20T18:05:23.116283+00:00", "event": "started", "service": "minio"}
{"utc": "2026-11-20T18:05:28.168253+00:00", "event": "http", "phase": "after", "trace_id": "128a933e45668d7e2a5605ef63a115eb", "status": 202, "request_id": "3d0f17bf-3aa4-46fb-b277-fe6487ead58b", "elapsed_ms": 32}
{"utc": "2026-11-20T18:05:29.141398+00:00", "event": "ready", "phase": "after", "trace_id": "128a933e45668d7e2a5605ef63a115eb"}
{"utc": "2026-11-20T18:05:44.999419+00:00", "event": "matching_logs", "count": 10}
@@ -0,0 +1,10 @@
{"time": "2026-11-20T18:04:03.911468938Z", "level": "INFO", "event": "job.processed", "trace_id": "5376103be6d6cdea5f750e2475b7c7ec", "span_id": "fe71c2d8eae4e035", "outcome": "ready"}
{"time": "2026-11-20T18:05:28.948453068Z", "level": "INFO", "event": "job.processed", "trace_id": "128a933e45668d7e2a5605ef63a115eb", "span_id": "cc5b3c3757166bc9", "outcome": "ready"}
{"time": "2026-11-20T18:04:03.586560651Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "99ff9a6f-9001-47bd-81c3-4796df20c18f", "trace_id": "5376103be6d6cdea5f750e2475b7c7ec", "span_id": "12a71b61633b7f8a", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:04:12.619340634Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "434d87a4-4338-4b2b-a466-0c8ca4e7d6a6", "trace_id": "6b276120ed6d5e741b59edd042419037", "span_id": "a00bd3dc6484aa1f", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 503}
{"time": "2026-11-20T18:04:38.666482411Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "aac830a7-99ec-438a-883a-56d12c0c0398", "trace_id": "62de62fab701f3c29e0415a822af55ec", "span_id": "657d796b25e6fb00", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 503}
{"time": "2026-11-20T18:05:04.758215506Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "83072dec-d15c-48b1-bdd7-9ff682fab73e", "trace_id": "019bf52e92f791f7c56c5791b6a06244", "span_id": "616e39a74b741827", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 503}
{"time": "2026-11-20T18:05:28.176226241Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "3d0f17bf-3aa4-46fb-b277-fe6487ead58b", "trace_id": "128a933e45668d7e2a5605ef63a115eb", "span_id": "63e12ed732ecbbbc", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:04:25.639310991Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "a99ac12f-2939-4d82-b819-b5aca15839c1", "trace_id": "2c1e8b36c1df12dbd1803b340a35cfa6", "span_id": "c08efe17062fa224", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 503}
{"time": "2026-11-20T18:04:51.688297876Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "2fff9d2a-5789-45d4-8745-9fed9a5a0d16", "trace_id": "517da25293492337ab9cfc25c97eaf3e", "span_id": "c0b918ef9383859c", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 503}
{"time": "2026-11-20T18:05:17.785321655Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "6ae55250-ebb7-44b2-aeea-c356f31b5bb3", "trace_id": "24c3a9d8a31d7c474cfb76a98b00bb4c", "span_id": "e7325d372bf12fee", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 503}
@@ -0,0 +1,542 @@
[
{
"span_id": "4c9337edc83ff434",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 13428,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "cc5b3c3757166bc9"
}
],
"error": null,
"status": null
},
{
"span_id": "9872d0230d67b2c5",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 186,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "ee0c6348ddfd6b01",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 3089,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "cc5b3c3757166bc9"
}
],
"error": null,
"status": null
},
{
"span_id": "def6c4115ad8631c",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3413,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "aed86d454a1b2959"
}
],
"error": null,
"status": null
},
{
"span_id": "489718d1c461720d",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 8,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "048cc2b72a37e645",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 2730,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "6a1313642e5eb048",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 1166,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "ee0c6348ddfd6b01"
}
],
"error": null,
"status": null
},
{
"span_id": "aed86d454a1b2959",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 17262,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "cc5b3c3757166bc9"
}
],
"error": null,
"status": null
},
{
"span_id": "9f7a98ae8ea495ec",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 2847,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "cc5b3c3757166bc9"
}
],
"error": null,
"status": null
},
{
"span_id": "e02ba1f9f9e68213",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 312,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "dcf13635c853a8d1",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 254,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63a9beb8a3a889b9"
}
],
"error": null,
"status": null
},
{
"span_id": "ed5ea5cb171d2013",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 12,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "6a92da8621ac319c",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "9e31d666e9e15e9b",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 5,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "63a9beb8a3a889b9",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 1801,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "cc5b3c3757166bc9"
}
],
"error": null,
"status": null
},
{
"span_id": "ffb5904dcc6b8b42",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3629,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "aed86d454a1b2959"
}
],
"error": null,
"status": null
},
{
"span_id": "b15e464cfd4aa7ea",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 211,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "9f7a98ae8ea495ec"
}
],
"error": null,
"status": null
},
{
"span_id": "bdcc2ba2f2eff082",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 940,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "9f7a98ae8ea495ec"
}
],
"error": null,
"status": null
},
{
"span_id": "63e12ed732ecbbbc",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 8060,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "a01d0b2a4c29e88b"
}
],
"error": null,
"status": null
},
{
"span_id": "c416d104f79a1b81",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 199,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "4a3e5f671052159b",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 245,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "8ef1b325d4554502",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 593,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "cc5b3c3757166bc9",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 38811,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "048cc2b72a37e645"
}
],
"error": null,
"status": null
},
{
"span_id": "162e4ef9cf2355bb",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 360,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "9f7a98ae8ea495ec"
}
],
"error": null,
"status": null
},
{
"span_id": "938c8dcdb8c2a251",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 351,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "9f7a98ae8ea495ec"
}
],
"error": null,
"status": null
},
{
"span_id": "b14434728385b607",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 338,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "67c780de27c1790a",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 842,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "950c7bef6187654b",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 1521,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63a9beb8a3a889b9"
}
],
"error": null,
"status": null
},
{
"span_id": "c6995b6b6dfea7f5",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 1685,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "ee0c6348ddfd6b01"
}
],
"error": null,
"status": null
},
{
"span_id": "1ff23c68082802eb",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 5035,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "aed86d454a1b2959"
}
],
"error": null,
"status": null
},
{
"span_id": "d91de398e022c7af",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4429,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "aed86d454a1b2959"
}
],
"error": null,
"status": null
},
{
"span_id": "115542dbc3ff19a2",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "9f7a98ae8ea495ec"
}
],
"error": null,
"status": null
},
{
"span_id": "4cdf87a14a09b949",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 4362,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "f4b87eaa2f3104d1",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 268,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "63e12ed732ecbbbc"
}
],
"error": null,
"status": null
},
{
"span_id": "d1b4d1f45820b2d5",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 520,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "9f7a98ae8ea495ec"
}
],
"error": null,
"status": null
},
{
"span_id": "c7f726ebebbb575e",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 284,
"references": [
{
"refType": "CHILD_OF",
"traceID": "128a933e45668d7e2a5605ef63a115eb",
"spanID": "9f7a98ae8ea495ec"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,152 @@
[
{
"span_id": "f5d5e99e5b5d0a83",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 235,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": null,
"status": null
},
{
"span_id": "c15afe9b9438950b",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 11,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": null,
"status": null
},
{
"span_id": "600e1eabf78218a6",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 333,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": null,
"status": null
},
{
"span_id": "38f356230b06b4da",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 245,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": null,
"status": null
},
{
"span_id": "a5ad01d305ff20fc",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 255,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": null,
"status": null
},
{
"span_id": "8a1f438165eb825b",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 4036675,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": true,
"status": "ERROR"
},
{
"span_id": "b2f1d2a9c4e7a32b",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": null,
"status": null
},
{
"span_id": "10b8ec1995fca264",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 3,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": null,
"status": null
},
{
"span_id": "1148db444c5889d8",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 3792152,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "e7325d372bf12fee"
}
],
"error": true,
"status": "ERROR"
},
{
"span_id": "e7325d372bf12fee",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 7988763,
"references": [
{
"refType": "CHILD_OF",
"traceID": "24c3a9d8a31d7c474cfb76a98b00bb4c",
"spanID": "c89ab62e6c685fb0"
}
],
"error": true,
"status": "ERROR"
}
]
@@ -0,0 +1,542 @@
[
{
"span_id": "4b599c7b31adc726",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 2990,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "8c7b9d27c1d9cbe2",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 2668,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "fe71c2d8eae4e035"
}
],
"error": null,
"status": null
},
{
"span_id": "88c794b9dd179c52",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 1606,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "f1d8189b4542a7b4"
}
],
"error": null,
"status": null
},
{
"span_id": "d5dd791ce27351e3",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 442,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "f1d8189b4542a7b4"
}
],
"error": null,
"status": null
},
{
"span_id": "685b35fee13f738b",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "f1d8189b4542a7b4",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 4617,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "fe71c2d8eae4e035"
}
],
"error": null,
"status": null
},
{
"span_id": "3088679a1664aa92",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "f1d8189b4542a7b4"
}
],
"error": null,
"status": null
},
{
"span_id": "5ca27e5612a1b521",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 531,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "f1d8189b4542a7b4"
}
],
"error": null,
"status": null
},
{
"span_id": "a9c7a44a33691624",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 364,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "1fd440309c31dfc7",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 8,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "160d05de83f88f22",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 2175,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "0ed31d0ab0432862",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 1474,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "8c7b9d27c1d9cbe2"
}
],
"error": null,
"status": null
},
{
"span_id": "2c002fda817d9035",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 967,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "8c7b9d27c1d9cbe2"
}
],
"error": null,
"status": null
},
{
"span_id": "e14df75403ae6e49",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 218,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "f1d8189b4542a7b4"
}
],
"error": null,
"status": null
},
{
"span_id": "12a71b61633b7f8a",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 11283,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "c022943b3f9b48a9"
}
],
"error": null,
"status": null
},
{
"span_id": "e906117042e663a5",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "8df4aadea8e37530",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 1025,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "7e6fbc111b7cf800",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 15257,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "fe71c2d8eae4e035"
}
],
"error": null,
"status": null
},
{
"span_id": "522908ce103cbf15",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3277,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "7e6fbc111b7cf800"
}
],
"error": null,
"status": null
},
{
"span_id": "cba9895ae09f1e6e",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 747,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "f1d8189b4542a7b4"
}
],
"error": null,
"status": null
},
{
"span_id": "fe71c2d8eae4e035",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 48004,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "4b599c7b31adc726"
}
],
"error": null,
"status": null
},
{
"span_id": "7077ffd41fb958a3",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 11232,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "fe71c2d8eae4e035"
}
],
"error": null,
"status": null
},
{
"span_id": "3ce6a64733e2f584",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 5529,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "7077ffd41fb958a3"
}
],
"error": null,
"status": null
},
{
"span_id": "f168423a69faf99a",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3042,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "7e6fbc111b7cf800"
}
],
"error": null,
"status": null
},
{
"span_id": "bde0eb6c145c6805",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3943,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "7e6fbc111b7cf800"
}
],
"error": null,
"status": null
},
{
"span_id": "96fd2cf8ba459510",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 12,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "ff71aaf27fc78575",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 4830,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "96ad091372825d1a",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 5677,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "7077ffd41fb958a3"
}
],
"error": null,
"status": null
},
{
"span_id": "59c25a9251df572e",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4495,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "7e6fbc111b7cf800"
}
],
"error": null,
"status": null
},
{
"span_id": "8eefa8f4f13435b7",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 863,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "f1d8189b4542a7b4"
}
],
"error": null,
"status": null
},
{
"span_id": "ea955b0630a9523a",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 170,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "0dbb0b6dc3ce3fae",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 442,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "5a6488f446b241c7",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 264,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "6c197a6ffbedb183",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 174,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "a7ad137e3723b7c4",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 947,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "12a71b61633b7f8a"
}
],
"error": null,
"status": null
},
{
"span_id": "21f4b3108f3ce360",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 13912,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5376103be6d6cdea5f750e2475b7c7ec",
"spanID": "fe71c2d8eae4e035"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,43 @@
{"utc": "2026-11-20T18:06:07.677440+00:00", "event": "http", "phase": "before", "trace_id": "2839c5edb1841518ceaf129a8c7c97c4", "status": 202, "request_id": "4e0ec6ec-6ed1-49dd-89c1-493e0441d665", "elapsed_ms": 31}
{"utc": "2026-11-20T18:06:07.999284+00:00", "event": "ready", "phase": "before", "trace_id": "2839c5edb1841518ceaf129a8c7c97c4"}
{"utc": "2026-11-20T18:06:09.581807+00:00", "event": "stopped", "service": "opensearch"}
{"utc": "2026-11-20T18:06:09.630141+00:00", "event": "http", "phase": "during", "trace_id": "d7faa6011a3e2fb17db8c50dfd69c8d4", "status": 202, "request_id": "290814d6-67e0-46c2-8434-758e47161019", "elapsed_ms": 47}
{"utc": "2026-11-20T18:06:10.284856+00:00", "event": "ready", "phase": "during", "trace_id": "d7faa6011a3e2fb17db8c50dfd69c8d4"}
{"utc": "2026-11-20T18:06:11.344817+00:00", "event": "collector_stats", "cpu_memory": "2.03% 69.08MiB / 7.69GiB"}
{"utc": "2026-11-20T18:06:16.368637+00:00", "event": "http", "phase": "during", "trace_id": "013832af0669506ddc6a85a7b069b784", "status": 202, "request_id": "2aa08b89-7f4b-476f-9407-f91e55798c2d", "elapsed_ms": 16}
{"utc": "2026-11-20T18:06:16.997671+00:00", "event": "ready", "phase": "during", "trace_id": "013832af0669506ddc6a85a7b069b784"}
{"utc": "2026-11-20T18:06:18.712298+00:00", "event": "collector_stats", "cpu_memory": "0.26% 68.46MiB / 7.69GiB"}
{"utc": "2026-11-20T18:06:23.743253+00:00", "event": "http", "phase": "during", "trace_id": "5e24337ec487f446387ca17b4e53939d", "status": 202, "request_id": "e18affe1-7f9b-4bd1-9bf0-eec181faaffa", "elapsed_ms": 32}
{"utc": "2026-11-20T18:06:24.103548+00:00", "event": "ready", "phase": "during", "trace_id": "5e24337ec487f446387ca17b4e53939d"}
{"utc": "2026-11-20T18:06:25.163446+00:00", "event": "collector_stats", "cpu_memory": "0.45% 69.21MiB / 7.69GiB"}
{"utc": "2026-11-20T18:06:30.212444+00:00", "event": "http", "phase": "during", "trace_id": "226a9f7338f063075c2e45996609fc37", "status": 202, "request_id": "62d02e23-d676-4cc9-b941-1097a5b1c05f", "elapsed_ms": 46}
{"utc": "2026-11-20T18:06:31.209308+00:00", "event": "ready", "phase": "during", "trace_id": "226a9f7338f063075c2e45996609fc37"}
{"utc": "2026-11-20T18:06:32.277036+00:00", "event": "collector_stats", "cpu_memory": "0.48% 69.77MiB / 7.69GiB"}
{"utc": "2026-11-20T18:06:37.294173+00:00", "event": "http", "phase": "during", "trace_id": "5de38629800a1126e3925460bd6152dc", "status": 202, "request_id": "b10c514b-1b11-45b4-8ef5-a8102d803095", "elapsed_ms": 16}
{"utc": "2026-11-20T18:06:38.279141+00:00", "event": "client_error", "phase": "during", "trace_id": "5de38629800a1126e3925460bd6152dc", "error": "GET /api/v1/attachments/413fb0ef-6950-439f-affd-1d1cc0a72f2d: expected [200], received 503"}
{"utc": "2026-11-20T18:06:39.746128+00:00", "event": "collector_stats", "cpu_memory": "0.62% 69.27MiB / 7.69GiB"}
{"utc": "2026-11-20T18:06:44.786125+00:00", "event": "http", "phase": "during", "trace_id": "6439466786a603ce320fa41455ba534d", "status": 202, "request_id": "e5f762d4-1e4e-47e5-af25-660b301c2d99", "elapsed_ms": 32}
{"utc": "2026-11-20T18:06:45.104242+00:00", "event": "ready", "phase": "during", "trace_id": "6439466786a603ce320fa41455ba534d"}
{"utc": "2026-11-20T18:06:46.155558+00:00", "event": "collector_stats", "cpu_memory": "0.19% 69.15MiB / 7.69GiB"}
{"utc": "2026-11-20T18:06:51.182103+00:00", "event": "http", "phase": "during", "trace_id": "6199148a0a0ba24376815d39f47c6d34", "status": 202, "request_id": "2ddb77c8-630a-4cfb-acc8-8f7aebe5ce94", "elapsed_ms": 15}
{"utc": "2026-11-20T18:06:52.154406+00:00", "event": "ready", "phase": "during", "trace_id": "6199148a0a0ba24376815d39f47c6d34"}
{"utc": "2026-11-20T18:06:53.204759+00:00", "event": "collector_stats", "cpu_memory": "0.29% 70.3MiB / 7.69GiB"}
{"utc": "2026-11-20T18:06:58.217954+00:00", "event": "http", "phase": "during", "trace_id": "196c35dc6d803bca7ca878fd80bdffc4", "status": 202, "request_id": "2b3f443e-3b3a-41a1-a475-274481688227", "elapsed_ms": 0}
{"utc": "2026-11-20T18:06:59.202498+00:00", "event": "ready", "phase": "during", "trace_id": "196c35dc6d803bca7ca878fd80bdffc4"}
{"utc": "2026-11-20T18:07:00.750738+00:00", "event": "collector_stats", "cpu_memory": "0.09% 73.16MiB / 7.69GiB"}
{"utc": "2026-11-20T18:07:05.787915+00:00", "event": "http", "phase": "during", "trace_id": "155eda9922236e115d8a9b0830b085b9", "status": 202, "request_id": "5ec1b743-e6ec-43e6-963a-3297b2204f8c", "elapsed_ms": 32}
{"utc": "2026-11-20T18:07:06.104165+00:00", "event": "ready", "phase": "during", "trace_id": "155eda9922236e115d8a9b0830b085b9"}
{"utc": "2026-11-20T18:07:07.157339+00:00", "event": "collector_stats", "cpu_memory": "0.75% 73.24MiB / 7.69GiB"}
{"utc": "2026-11-20T18:07:12.203814+00:00", "event": "http", "phase": "during", "trace_id": "46af9223dff63e8a970dd19cba9e8715", "status": 202, "request_id": "e57db6c9-c12a-4d78-bf66-b03755f57d7a", "elapsed_ms": 31}
{"utc": "2026-11-20T18:07:13.205406+00:00", "event": "ready", "phase": "during", "trace_id": "46af9223dff63e8a970dd19cba9e8715"}
{"utc": "2026-11-20T18:07:14.259949+00:00", "event": "collector_stats", "cpu_memory": "0.28% 73.12MiB / 7.69GiB"}
{"utc": "2026-11-20T18:07:19.298297+00:00", "event": "http", "phase": "during", "trace_id": "f531e7dcb02863679293a7ba93300f9c", "status": 202, "request_id": "ede07f9f-45fd-486d-b8ab-0dbdaac8ea35", "elapsed_ms": 31}
{"utc": "2026-11-20T18:07:20.261182+00:00", "event": "ready", "phase": "during", "trace_id": "f531e7dcb02863679293a7ba93300f9c"}
{"utc": "2026-11-20T18:07:21.310651+00:00", "event": "collector_stats", "cpu_memory": "0.25% 73.12MiB / 7.69GiB"}
{"utc": "2026-11-20T18:07:26.338484+00:00", "event": "http", "phase": "during", "trace_id": "2238d6daf92e4e5efdccf3cad9700673", "status": 202, "request_id": "57fee016-d69a-4d99-b96d-200e05dde871", "elapsed_ms": 15}
{"utc": "2026-11-20T18:07:27.290225+00:00", "event": "ready", "phase": "during", "trace_id": "2238d6daf92e4e5efdccf3cad9700673"}
{"utc": "2026-11-20T18:07:28.768441+00:00", "event": "collector_stats", "cpu_memory": "1.24% 82.02MiB / 7.69GiB"}
{"utc": "2026-11-20T18:07:34.097705+00:00", "event": "started", "service": "opensearch"}
{"utc": "2026-11-20T18:07:34.137212+00:00", "event": "http", "phase": "after", "trace_id": "25ef891c2bbbf62ac4d8bab7a259b242", "status": 202, "request_id": "0cd74866-fb97-41db-aede-f0b515e6462b", "elapsed_ms": 15}
{"utc": "2026-11-20T18:07:34.451680+00:00", "event": "ready", "phase": "after", "trace_id": "25ef891c2bbbf62ac4d8bab7a259b242"}
{"utc": "2026-11-20T18:07:51.023534+00:00", "event": "matching_logs", "count": 28}
@@ -0,0 +1,28 @@
{"time": "2026-11-20T18:06:07.9657232Z", "level": "INFO", "event": "job.processed", "trace_id": "2839c5edb1841518ceaf129a8c7c97c4", "span_id": "453419e929879a63", "outcome": "ready"}
{"time": "2026-11-20T18:06:09.974219629Z", "level": "INFO", "event": "job.processed", "trace_id": "d7faa6011a3e2fb17db8c50dfd69c8d4", "span_id": "4117e8c4e6c0cdfb", "outcome": "ready"}
{"time": "2026-11-20T18:06:16.959255015Z", "level": "INFO", "event": "job.processed", "trace_id": "013832af0669506ddc6a85a7b069b784", "span_id": "f0e65e0f3f1127bd", "outcome": "ready"}
{"time": "2026-11-20T18:06:23.979959926Z", "level": "INFO", "event": "job.processed", "trace_id": "5e24337ec487f446387ca17b4e53939d", "span_id": "550d31d020c0e453", "outcome": "ready"}
{"time": "2026-11-20T18:06:30.977050731Z", "level": "INFO", "event": "job.processed", "trace_id": "226a9f7338f063075c2e45996609fc37", "span_id": "be7faf9186a8ed1b", "outcome": "ready"}
{"time": "2026-11-20T18:06:37.980193485Z", "level": "INFO", "event": "job.processed", "trace_id": "5de38629800a1126e3925460bd6152dc", "span_id": "1f6c6c391bfe8064", "outcome": "ready"}
{"time": "2026-11-20T18:06:44.977797334Z", "level": "INFO", "event": "job.processed", "trace_id": "6439466786a603ce320fa41455ba534d", "span_id": "67918bd0bf246141", "outcome": "ready"}
{"time": "2026-11-20T18:06:51.982569116Z", "level": "INFO", "event": "job.processed", "trace_id": "6199148a0a0ba24376815d39f47c6d34", "span_id": "081aa5702f48e643", "outcome": "ready"}
{"time": "2026-11-20T18:06:59.105986904Z", "level": "INFO", "event": "job.processed", "trace_id": "196c35dc6d803bca7ca878fd80bdffc4", "span_id": "91368c9025be6e89", "outcome": "ready"}
{"time": "2026-11-20T18:07:06.104465285Z", "level": "INFO", "event": "job.processed", "trace_id": "155eda9922236e115d8a9b0830b085b9", "span_id": "655b951262e956f5", "outcome": "ready"}
{"time": "2026-11-20T18:07:13.104226954Z", "level": "INFO", "event": "job.processed", "trace_id": "46af9223dff63e8a970dd19cba9e8715", "span_id": "641865531a16c046", "outcome": "ready"}
{"time": "2026-11-20T18:07:20.107647602Z", "level": "INFO", "event": "job.processed", "trace_id": "f531e7dcb02863679293a7ba93300f9c", "span_id": "3d3e32862b32ffda", "outcome": "ready"}
{"time": "2026-11-20T18:07:27.109463155Z", "level": "INFO", "event": "job.processed", "trace_id": "2238d6daf92e4e5efdccf3cad9700673", "span_id": "758457104accbc52", "outcome": "ready"}
{"time": "2026-11-20T18:07:34.209019866Z", "level": "INFO", "event": "job.processed", "trace_id": "25ef891c2bbbf62ac4d8bab7a259b242", "span_id": "fcea224dcd8c6050", "outcome": "ready"}
{"time": "2026-11-20T18:06:07.684714489Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "4e0ec6ec-6ed1-49dd-89c1-493e0441d665", "trace_id": "2839c5edb1841518ceaf129a8c7c97c4", "span_id": "b8a6b0b2ad57cf07", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:30.158046253Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "62d02e23-d676-4cc9-b941-1097a5b1c05f", "trace_id": "226a9f7338f063075c2e45996609fc37", "span_id": "f2fe7f7ed31644aa", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:44.676829814Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "e5f762d4-1e4e-47e5-af25-660b301c2d99", "trace_id": "6439466786a603ce320fa41455ba534d", "span_id": "86b0c9c579f789f0", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:58.233045747Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "2b3f443e-3b3a-41a1-a475-274481688227", "trace_id": "196c35dc6d803bca7ca878fd80bdffc4", "span_id": "f232488162b3471d", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:07:12.219362747Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "e57db6c9-c12a-4d78-bf66-b03755f57d7a", "trace_id": "46af9223dff63e8a970dd19cba9e8715", "span_id": "08828757ca4ea3ba", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:07:26.343975574Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "57fee016-d69a-4d99-b96d-200e05dde871", "trace_id": "2238d6daf92e4e5efdccf3cad9700673", "span_id": "3a24509984ff6340", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:07:34.149095008Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "0cd74866-fb97-41db-aede-f0b515e6462b", "trace_id": "25ef891c2bbbf62ac4d8bab7a259b242", "span_id": "ec8b1d19fe349874", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:09.634853669Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "290814d6-67e0-46c2-8434-758e47161019", "trace_id": "d7faa6011a3e2fb17db8c50dfd69c8d4", "span_id": "ea0fa90a82bfa46f", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:16.363476238Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "2aa08b89-7f4b-476f-9407-f91e55798c2d", "trace_id": "013832af0669506ddc6a85a7b069b784", "span_id": "77d55047a87b3b3f", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:23.741501821Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "e18affe1-7f9b-4bd1-9bf0-eec181faaffa", "trace_id": "5e24337ec487f446387ca17b4e53939d", "span_id": "437a7074059f094b", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:37.20671676Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "b10c514b-1b11-45b4-8ef5-a8102d803095", "trace_id": "5de38629800a1126e3925460bd6152dc", "span_id": "b26e77711b95eef8", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:06:51.058781038Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "2ddb77c8-630a-4cfb-acc8-8f7aebe5ce94", "trace_id": "6199148a0a0ba24376815d39f47c6d34", "span_id": "774eedf664e70e74", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:07:05.809716434Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "5ec1b743-e6ec-43e6-963a-3297b2204f8c", "trace_id": "155eda9922236e115d8a9b0830b085b9", "span_id": "52b9a340e0e4e620", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-20T18:07:19.303032967Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "ede07f9f-45fd-486d-b8ab-0dbdaac8ea35", "trace_id": "f531e7dcb02863679293a7ba93300f9c", "span_id": "0b6598a5d9a4ddbd", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
@@ -0,0 +1,542 @@
[
{
"span_id": "6427806e9de405b8",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 307,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "310446801da4a81d"
}
],
"error": null,
"status": null
},
{
"span_id": "758457104accbc52",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 35891,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "2926e3c197d4cafa"
}
],
"error": null,
"status": null
},
{
"span_id": "374a71a1f292b366",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4378,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "4314eefd5e9bb717"
}
],
"error": null,
"status": null
},
{
"span_id": "27141e63d3cdc72a",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 248,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "310446801da4a81d"
}
],
"error": null,
"status": null
},
{
"span_id": "15888fb4b1407e75",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "752142bd7276c111",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 170,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "af054f6a77fa1419",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 350,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "7a3b7ad6a2c27b98",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "4314eefd5e9bb717",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 16857,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "758457104accbc52"
}
],
"error": null,
"status": null
},
{
"span_id": "310446801da4a81d",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 2533,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "758457104accbc52"
}
],
"error": null,
"status": null
},
{
"span_id": "c7926472cdaf6de2",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 234,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "ec801ed76ca154b9",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 12740,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "758457104accbc52"
}
],
"error": null,
"status": null
},
{
"span_id": "e9a6ac8eab9aaaa6",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3252,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "4314eefd5e9bb717"
}
],
"error": null,
"status": null
},
{
"span_id": "d887fd305fe99df2",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 245,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "310446801da4a81d"
}
],
"error": null,
"status": null
},
{
"span_id": "209c6947e40cebde",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 910,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "310446801da4a81d"
}
],
"error": null,
"status": null
},
{
"span_id": "aaeafa0c422546d5",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 686,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "7150cee4a9a035bc",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4644,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "4314eefd5e9bb717"
}
],
"error": null,
"status": null
},
{
"span_id": "7dda9ed073d926f7",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3797,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "4314eefd5e9bb717"
}
],
"error": null,
"status": null
},
{
"span_id": "f7c4752cd3050b1c",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 11,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "310446801da4a81d"
}
],
"error": null,
"status": null
},
{
"span_id": "f42d5c60e1e8af2a",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 200,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "364bc942bdc9849f",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 13,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "d9fc987dc549361e",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 5,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "8f0fa6511904ac3b",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 187,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "67ba03c389c2bcb3",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 1319,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "758457104accbc52"
}
],
"error": null,
"status": null
},
{
"span_id": "97f19781a1ef45be",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 244,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "67ba03c389c2bcb3"
}
],
"error": null,
"status": null
},
{
"span_id": "a8ca4c3a1aff8e9b",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 2126,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "758457104accbc52"
}
],
"error": null,
"status": null
},
{
"span_id": "fa764275ef7db6fd",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 852,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "a8ca4c3a1aff8e9b"
}
],
"error": null,
"status": null
},
{
"span_id": "3a24509984ff6340",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 8157,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "52eb131da6c2abfa"
}
],
"error": null,
"status": null
},
{
"span_id": "8d2f819cc53f7b11",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 4980,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "d8da74bf8a7071bd",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 1058,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "67ba03c389c2bcb3"
}
],
"error": null,
"status": null
},
{
"span_id": "eb1e947e20e15259",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 232,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "310446801da4a81d"
}
],
"error": null,
"status": null
},
{
"span_id": "0ce2c705c0196777",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 275,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "ea5f5d684def3f58",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 462,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "2926e3c197d4cafa",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 2848,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "3a24509984ff6340"
}
],
"error": null,
"status": null
},
{
"span_id": "2be165ad475437db",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 1061,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "a8ca4c3a1aff8e9b"
}
],
"error": null,
"status": null
},
{
"span_id": "7b474dad8391d350",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 408,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2238d6daf92e4e5efdccf3cad9700673",
"spanID": "310446801da4a81d"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,542 @@
[
{
"span_id": "e5ab15532177349a",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 983,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "5228961987ee6783"
}
],
"error": null,
"status": null
},
{
"span_id": "3cf79d053a1584e3",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 5,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "967cff6ebf5a9892",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 469,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "f67fb8edea150e2d",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 216,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "20cd35447b83b091",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 20348,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "fcea224dcd8c6050"
}
],
"error": null,
"status": null
},
{
"span_id": "e6d9793bc2d1f0fd",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 296,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "5228961987ee6783"
}
],
"error": null,
"status": null
},
{
"span_id": "ec8b1d19fe349874",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 8197,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "217a82ac771e8f65"
}
],
"error": null,
"status": null
},
{
"span_id": "7d3092ddce8307f7",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 14,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "98470c06f177502d",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 194,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "efca25fa40d9a96e",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 8,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "48d51aed34331bf2",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 350,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "5228961987ee6783"
}
],
"error": null,
"status": null
},
{
"span_id": "8a21638d687d225d",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 204,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "e10dc359a99b346c",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4598,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "20cd35447b83b091"
}
],
"error": null,
"status": null
},
{
"span_id": "ad78825eeace9315",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 335,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "5228961987ee6783"
}
],
"error": null,
"status": null
},
{
"span_id": "d3f7558a24660d44",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 3535,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "2a840a28300517c1",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 2397,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "fcea224dcd8c6050"
}
],
"error": null,
"status": null
},
{
"span_id": "8821610c495f14e3",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 5125,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "20cd35447b83b091"
}
],
"error": null,
"status": null
},
{
"span_id": "99835db71d841c17",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4966,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "20cd35447b83b091"
}
],
"error": null,
"status": null
},
{
"span_id": "5228961987ee6783",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 2920,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "fcea224dcd8c6050"
}
],
"error": null,
"status": null
},
{
"span_id": "b9953dd178c2b0cb",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "5228961987ee6783"
}
],
"error": null,
"status": null
},
{
"span_id": "ebb96cd5a2e9e0d4",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 206,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "e8cff80a2d9da2f3",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 331,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "19b4105104b1b30c",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 1711,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "fcea224dcd8c6050"
}
],
"error": null,
"status": null
},
{
"span_id": "bbe04177fab53802",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 1023,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "2a840a28300517c1"
}
],
"error": null,
"status": null
},
{
"span_id": "2b7ac3f9c577f864",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 226,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "5228961987ee6783"
}
],
"error": null,
"status": null
},
{
"span_id": "8c03836e72ec0715",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 4768,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "1cfa69b61ea4bd56",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 797,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "bae0bbc898845c3c",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 1328,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "19b4105104b1b30c"
}
],
"error": null,
"status": null
},
{
"span_id": "afe8cb1cf2f900f1",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4667,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "20cd35447b83b091"
}
],
"error": null,
"status": null
},
{
"span_id": "ce8f2082a49e4630",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 302,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "a362c343a4df576e",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 1118,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "2a840a28300517c1"
}
],
"error": null,
"status": null
},
{
"span_id": "64a3b2ddbcab9367",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 469,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "5228961987ee6783"
}
],
"error": null,
"status": null
},
{
"span_id": "d5c23430e2ca2387",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 4,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "ec8b1d19fe349874"
}
],
"error": null,
"status": null
},
{
"span_id": "fcea224dcd8c6050",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 42667,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "d3f7558a24660d44"
}
],
"error": null,
"status": null
},
{
"span_id": "b735ccb787eb62da",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 352,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "19b4105104b1b30c"
}
],
"error": null,
"status": null
},
{
"span_id": "2fd2f2286bfbd95d",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 14849,
"references": [
{
"refType": "CHILD_OF",
"traceID": "25ef891c2bbbf62ac4d8bab7a259b242",
"spanID": "fcea224dcd8c6050"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,542 @@
[
{
"span_id": "453419e929879a63",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 37444,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "1d12247be309303a"
}
],
"error": null,
"status": null
},
{
"span_id": "c65354e9f396b652",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 2892,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "2c20f50f12bd6b24"
}
],
"error": null,
"status": null
},
{
"span_id": "0d1502caa2c2a74f",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 12,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "aff120f81b84a9be",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 3,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "8dffc680e5cbab85",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3626,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "2c20f50f12bd6b24"
}
],
"error": null,
"status": null
},
{
"span_id": "23abf9890d81b1df",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 289,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "894c79372bf3e2b8",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 1766,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "453419e929879a63"
}
],
"error": null,
"status": null
},
{
"span_id": "972b23af99312351",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 252,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "894c79372bf3e2b8"
}
],
"error": null,
"status": null
},
{
"span_id": "dac90baf09063c88",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 1210,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "347ff18c13dbd18b"
}
],
"error": null,
"status": null
},
{
"span_id": "f55b32917b956f8d",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 465,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "d6cf66a7fbb65585"
}
],
"error": null,
"status": null
},
{
"span_id": "cac0243ef31c545e",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 272,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "d6cf66a7fbb65585"
}
],
"error": null,
"status": null
},
{
"span_id": "b8a6b0b2ad57cf07",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 7694,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "43bbbfc20bec69ae"
}
],
"error": null,
"status": null
},
{
"span_id": "0f7061e4b411687c",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 744,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "347ff18c13dbd18b",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 3036,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "453419e929879a63"
}
],
"error": null,
"status": null
},
{
"span_id": "9bdd9ee952c3a81e",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 177,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "d6cf66a7fbb65585"
}
],
"error": null,
"status": null
},
{
"span_id": "89b0c74d6efdcf0e",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 298,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "4eed649ded17b056",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 181,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "d6cf66a7fbb65585",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 2331,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "453419e929879a63"
}
],
"error": null,
"status": null
},
{
"span_id": "ffc9f039051b369d",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "d6cf66a7fbb65585"
}
],
"error": null,
"status": null
},
{
"span_id": "3163096fd513d2bd",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 256,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "d6cf66a7fbb65585"
}
],
"error": null,
"status": null
},
{
"span_id": "87403bc6b1c163b0",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 181,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "50e072400d3d560c",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 564,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "b1a0b1852ddc4599",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 274,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "2c20f50f12bd6b24",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 17069,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "453419e929879a63"
}
],
"error": null,
"status": null
},
{
"span_id": "632962ab2d25930a",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4377,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "2c20f50f12bd6b24"
}
],
"error": null,
"status": null
},
{
"span_id": "01433f07af660681",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 151,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "760317b256e9413d",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 1493,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "894c79372bf3e2b8"
}
],
"error": null,
"status": null
},
{
"span_id": "02fffb1e19ff085a",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 12921,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "453419e929879a63"
}
],
"error": null,
"status": null
},
{
"span_id": "e223ed564df6d000",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 5673,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "2c20f50f12bd6b24"
}
],
"error": null,
"status": null
},
{
"span_id": "402bcab0e901ef14",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 229,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "d6cf66a7fbb65585"
}
],
"error": null,
"status": null
},
{
"span_id": "2d0eb87103b23b25",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 1603,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "347ff18c13dbd18b"
}
],
"error": null,
"status": null
},
{
"span_id": "f578741afadff927",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 775,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "d6cf66a7fbb65585"
}
],
"error": null,
"status": null
},
{
"span_id": "9a032b5e6a661af7",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "2dd68434d0f30748",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 4286,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "fdd71ef1cc1b14d8",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 8,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
},
{
"span_id": "1d12247be309303a",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 3102,
"references": [
{
"refType": "CHILD_OF",
"traceID": "2839c5edb1841518ceaf129a8c7c97c4",
"spanID": "b8a6b0b2ad57cf07"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,542 @@
[
{
"span_id": "863f82417f261542",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 11,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "ee8d3c89779d99f2",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 13419,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "1f6c6c391bfe8064"
}
],
"error": null,
"status": null
},
{
"span_id": "12d2169d834ce125",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3456,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b17bbf2afd1b5614"
}
],
"error": null,
"status": null
},
{
"span_id": "e510bddf9e8b919d",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 566,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "2f3e3e290ccf5241",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 275,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "f3e7fee0faac27c5"
}
],
"error": null,
"status": null
},
{
"span_id": "e5efada73134b3f4",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 957,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "1f37a4008c17a6aa"
}
],
"error": null,
"status": null
},
{
"span_id": "df09615820fc9606",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 4616,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "3f8413a1e3f52a72",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 187,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "1f6c6c391bfe8064",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 34748,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "a0cb03ccf93a60c0"
}
],
"error": null,
"status": null
},
{
"span_id": "1c25a225a75a92b6",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 182,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "10a66f518255e758"
}
],
"error": null,
"status": null
},
{
"span_id": "b26e77711b95eef8",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 8421,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "823ec12e9427b98f"
}
],
"error": null,
"status": null
},
{
"span_id": "f3e7fee0faac27c5",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 1412,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "1f6c6c391bfe8064"
}
],
"error": null,
"status": null
},
{
"span_id": "5d6ffdc53ce72cff",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 1115,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "f3e7fee0faac27c5"
}
],
"error": null,
"status": null
},
{
"span_id": "a23f24cfebae10d4",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3275,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b17bbf2afd1b5614"
}
],
"error": null,
"status": null
},
{
"span_id": "0341651ba27ada73",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3145,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b17bbf2afd1b5614"
}
],
"error": null,
"status": null
},
{
"span_id": "fcb0db21602dbb05",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 326,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "10a66f518255e758"
}
],
"error": null,
"status": null
},
{
"span_id": "83b78a628990fe2a",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 969,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "10a66f518255e758"
}
],
"error": null,
"status": null
},
{
"span_id": "d3df02935ecae6df",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 1322,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "1f37a4008c17a6aa"
}
],
"error": null,
"status": null
},
{
"span_id": "07d0ac19a2b4a646",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 218,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "10a66f518255e758"
}
],
"error": null,
"status": null
},
{
"span_id": "6674f6ea518c0307",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 329,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "1b9a507c4e53bdf2",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 492,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "40716b7f0afd138d",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 794,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "a0cb03ccf93a60c0",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 2612,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "1f37a4008c17a6aa",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 2494,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "1f6c6c391bfe8064"
}
],
"error": null,
"status": null
},
{
"span_id": "a345438d2e036659",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 263,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "4708f322034293d1",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "a21f7ffb936286cc",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 270,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "b17bbf2afd1b5614",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 14606,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "1f6c6c391bfe8064"
}
],
"error": null,
"status": null
},
{
"span_id": "679d9975d292efc2",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4283,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b17bbf2afd1b5614"
}
],
"error": null,
"status": null
},
{
"span_id": "7bf91954b76726db",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 8,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "32d6007188a5face",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 259,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "6341a6a26a91dee0",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "b26e77711b95eef8"
}
],
"error": null,
"status": null
},
{
"span_id": "10a66f518255e758",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 2517,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "1f6c6c391bfe8064"
}
],
"error": null,
"status": null
},
{
"span_id": "0574f128ef691698",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "10a66f518255e758"
}
],
"error": null,
"status": null
},
{
"span_id": "84cdecb68c8a1bef",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 425,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "10a66f518255e758"
}
],
"error": null,
"status": null
},
{
"span_id": "26e60c07d6411d2b",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 239,
"references": [
{
"refType": "CHILD_OF",
"traceID": "5de38629800a1126e3925460bd6152dc",
"spanID": "10a66f518255e758"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,43 @@
{"utc": "2026-11-22T10:53:04.552624+00:00", "event": "http", "phase": "before", "trace_id": "3e9412426b94f14934f6f7953001d287", "status": 202, "request_id": "e239561c-d0e3-47d0-b9f0-73181e802d05", "elapsed_ms": 46}
{"utc": "2026-11-22T10:53:05.179626+00:00", "event": "ready", "phase": "before", "trace_id": "3e9412426b94f14934f6f7953001d287"}
{"utc": "2026-11-22T10:53:37.864392+00:00", "event": "stopped", "service": "opensearch"}
{"utc": "2026-11-22T10:53:37.900472+00:00", "event": "http", "phase": "during", "trace_id": "01455b5fa89f42e127d160a1762a4fd9", "status": 202, "request_id": "7662127f-092b-4bdf-a11c-8a1ac4dfc44a", "elapsed_ms": 31}
{"utc": "2026-11-22T10:53:39.134266+00:00", "event": "ready", "phase": "during", "trace_id": "01455b5fa89f42e127d160a1762a4fd9"}
{"utc": "2026-11-22T10:53:40.914401+00:00", "event": "collector_stats", "cpu_memory": "0.13% 70.62MiB / 7.69GiB"}
{"utc": "2026-11-22T10:53:45.937813+00:00", "event": "http", "phase": "during", "trace_id": "406f3cdcf2aea77732de620bf8b5ccdb", "status": 202, "request_id": "fd023f37-4029-4156-8b82-8bc0b3e7a4d9", "elapsed_ms": 21}
{"utc": "2026-11-22T10:53:46.863627+00:00", "event": "ready", "phase": "during", "trace_id": "406f3cdcf2aea77732de620bf8b5ccdb"}
{"utc": "2026-11-22T10:53:47.985483+00:00", "event": "collector_stats", "cpu_memory": "0.30% 71.17MiB / 7.69GiB"}
{"utc": "2026-11-22T10:53:52.998650+00:00", "event": "http", "phase": "during", "trace_id": "c4f3b0f0684004b61d3f63223477b0ec", "status": 202, "request_id": "5c53607d-7c50-48f0-b052-e12088ee8bcd", "elapsed_ms": 10}
{"utc": "2026-11-22T10:53:55.868964+00:00", "event": "ready", "phase": "during", "trace_id": "c4f3b0f0684004b61d3f63223477b0ec"}
{"utc": "2026-11-22T10:53:56.897252+00:00", "event": "collector_stats", "cpu_memory": "0.51% 71.3MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:01.912774+00:00", "event": "http", "phase": "during", "trace_id": "6d4d0f020cddd405f90dcf54e6e2c73d", "status": 202, "request_id": "58806df7-0b0e-42df-a74b-5201e66a3a11", "elapsed_ms": 13}
{"utc": "2026-11-22T10:54:02.828855+00:00", "event": "ready", "phase": "during", "trace_id": "6d4d0f020cddd405f90dcf54e6e2c73d"}
{"utc": "2026-11-22T10:54:03.858642+00:00", "event": "collector_stats", "cpu_memory": "0.28% 71.32MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:08.872435+00:00", "event": "http", "phase": "during", "trace_id": "f1f87e142a1544bb23eacb2e3c39e366", "status": 202, "request_id": "9cf9b93b-73eb-4e20-bb53-1ec142c7ffed", "elapsed_ms": 9}
{"utc": "2026-11-22T10:54:09.790654+00:00", "event": "ready", "phase": "during", "trace_id": "f1f87e142a1544bb23eacb2e3c39e366"}
{"utc": "2026-11-22T10:54:10.825766+00:00", "event": "collector_stats", "cpu_memory": "1.19% 81.59MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:15.840154+00:00", "event": "http", "phase": "during", "trace_id": "ca6f48bb59b61e5372663d511a071433", "status": 202, "request_id": "adf5bcee-e00b-4e4b-b4e8-91b359fedfde", "elapsed_ms": 12}
{"utc": "2026-11-22T10:54:17.059387+00:00", "event": "ready", "phase": "during", "trace_id": "ca6f48bb59b61e5372663d511a071433"}
{"utc": "2026-11-22T10:54:19.001743+00:00", "event": "collector_stats", "cpu_memory": "0.27% 81.98MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:24.017289+00:00", "event": "http", "phase": "during", "trace_id": "7b7e19c748f6bf10be0d6e0a6aaf396f", "status": 202, "request_id": "0c5b89e1-79d9-4658-ad61-49633a57b37c", "elapsed_ms": 12}
{"utc": "2026-11-22T10:54:24.931800+00:00", "event": "ready", "phase": "during", "trace_id": "7b7e19c748f6bf10be0d6e0a6aaf396f"}
{"utc": "2026-11-22T10:54:28.032786+00:00", "event": "collector_stats", "cpu_memory": "1.33% 83.19MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:33.049566+00:00", "event": "http", "phase": "during", "trace_id": "bc790b8b7eba894a4f4b2a389bae8bb2", "status": 202, "request_id": "4fff71b9-9faf-4ba2-a601-04f8fda74d10", "elapsed_ms": 12}
{"utc": "2026-11-22T10:54:33.965048+00:00", "event": "ready", "phase": "during", "trace_id": "bc790b8b7eba894a4f4b2a389bae8bb2"}
{"utc": "2026-11-22T10:54:34.991896+00:00", "event": "collector_stats", "cpu_memory": "0.31% 83.69MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:40.011743+00:00", "event": "http", "phase": "during", "trace_id": "973eec06e900ab87c827b5cf0105459e", "status": 202, "request_id": "9bd46c45-3bd6-4fab-93a0-c68b8526b45d", "elapsed_ms": 17}
{"utc": "2026-11-22T10:54:40.927340+00:00", "event": "ready", "phase": "during", "trace_id": "973eec06e900ab87c827b5cf0105459e"}
{"utc": "2026-11-22T10:54:41.955604+00:00", "event": "collector_stats", "cpu_memory": "0.43% 83.15MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:46.968294+00:00", "event": "http", "phase": "during", "trace_id": "042d29bc53ed0259c1ef78579378b59d", "status": 202, "request_id": "6738003e-c8ff-4470-b69a-11304b45618c", "elapsed_ms": 10}
{"utc": "2026-11-22T10:54:47.884318+00:00", "event": "ready", "phase": "during", "trace_id": "042d29bc53ed0259c1ef78579378b59d"}
{"utc": "2026-11-22T10:54:49.166470+00:00", "event": "collector_stats", "cpu_memory": "0.22% 72.29MiB / 7.69GiB"}
{"utc": "2026-11-22T10:54:54.179162+00:00", "event": "http", "phase": "during", "trace_id": "4d3278a33e9a76043ef785a1c7c0924b", "status": 202, "request_id": "c208cc6c-ba82-4605-a27f-04c3bab29b76", "elapsed_ms": 11}
{"utc": "2026-11-22T10:54:55.094152+00:00", "event": "ready", "phase": "during", "trace_id": "4d3278a33e9a76043ef785a1c7c0924b"}
{"utc": "2026-11-22T10:54:56.131309+00:00", "event": "collector_stats", "cpu_memory": "0.45% 73.58MiB / 7.69GiB"}
{"utc": "2026-11-22T10:55:03.242345+00:00", "event": "http", "phase": "during", "trace_id": "70bb22f9d779fc8a2bf7aa27b935c5dd", "status": 202, "request_id": "5f4c745d-e5ca-4016-bab2-03d51e341d98", "elapsed_ms": 12}
{"utc": "2026-11-22T10:55:04.157395+00:00", "event": "ready", "phase": "during", "trace_id": "70bb22f9d779fc8a2bf7aa27b935c5dd"}
{"utc": "2026-11-22T10:55:05.188035+00:00", "event": "collector_stats", "cpu_memory": "0.20% 73.31MiB / 7.69GiB"}
{"utc": "2026-11-22T10:55:10.495867+00:00", "event": "started", "service": "opensearch"}
{"utc": "2026-11-22T10:55:25.511229+00:00", "event": "http", "phase": "after", "trace_id": "3d4f5824fc18ef0ba25e3449e8b85174", "status": 202, "request_id": "2a0a0f12-fd37-48b6-b8ab-79d71355b35a", "elapsed_ms": 9}
{"utc": "2026-11-22T10:55:26.124004+00:00", "event": "ready", "phase": "after", "trace_id": "3d4f5824fc18ef0ba25e3449e8b85174"}
{"utc": "2026-11-22T10:55:43.916655+00:00", "event": "matching_logs", "count": 28}
@@ -0,0 +1,68 @@
{
"source": "http.request.completed",
"phases": {
"before": {
"stdout": 1,
"missing_at_deadline": 0
},
"during": {
"stdout": 12,
"missing_at_deadline": 12
},
"after": {
"stdout": 1,
"missing_at_deadline": 0
}
},
"missing": [
[
"01455b5fa89f42e127d160a1762a4fd9",
"8220da8ff49d7576"
],
[
"042d29bc53ed0259c1ef78579378b59d",
"75dc49fcf6bac736"
],
[
"406f3cdcf2aea77732de620bf8b5ccdb",
"5bf05a76d7ba5424"
],
[
"4d3278a33e9a76043ef785a1c7c0924b",
"15164f6ab1670a3f"
],
[
"6d4d0f020cddd405f90dcf54e6e2c73d",
"7c61a19c5791fe28"
],
[
"70bb22f9d779fc8a2bf7aa27b935c5dd",
"4e89052b7f1553f2"
],
[
"7b7e19c748f6bf10be0d6e0a6aaf396f",
"993b3461e6843646"
],
[
"973eec06e900ab87c827b5cf0105459e",
"2e0a04430c107b35"
],
[
"bc790b8b7eba894a4f4b2a389bae8bb2",
"444025b775f79449"
],
[
"c4f3b0f0684004b61d3f63223477b0ec",
"e1b65d3ece4ac12a"
],
[
"ca6f48bb59b61e5372663d511a071433",
"68623b8f7c792b12"
],
[
"f1f87e142a1544bb23eacb2e3c39e366",
"39e6703b2020be5e"
]
],
"checked_at": "2026-11-22T10:58:45.177159+00:00"
}
@@ -0,0 +1,28 @@
{"time": "2026-11-22T10:53:04.935011926Z", "level": "INFO", "event": "job.processed", "trace_id": "3e9412426b94f14934f6f7953001d287", "span_id": "cc1e160c7f5747a7", "outcome": "ready"}
{"time": "2026-11-22T10:53:38.854756572Z", "level": "INFO", "event": "job.processed", "trace_id": "01455b5fa89f42e127d160a1762a4fd9", "span_id": "08b2630b83ab9b34", "outcome": "ready"}
{"time": "2026-11-22T10:53:46.830382179Z", "level": "INFO", "event": "job.processed", "trace_id": "406f3cdcf2aea77732de620bf8b5ccdb", "span_id": "229febb4aaeb4f3e", "outcome": "ready"}
{"time": "2026-11-22T10:53:55.77970575Z", "level": "INFO", "event": "job.processed", "trace_id": "c4f3b0f0684004b61d3f63223477b0ec", "span_id": "5c52349205bb39c8", "outcome": "ready"}
{"time": "2026-11-22T10:54:02.776670428Z", "level": "INFO", "event": "job.processed", "trace_id": "6d4d0f020cddd405f90dcf54e6e2c73d", "span_id": "e016218921e77880", "outcome": "ready"}
{"time": "2026-11-22T10:54:09.787754951Z", "level": "INFO", "event": "job.processed", "trace_id": "f1f87e142a1544bb23eacb2e3c39e366", "span_id": "bf467b938a06b4f4", "outcome": "ready"}
{"time": "2026-11-22T10:54:16.780471607Z", "level": "INFO", "event": "job.processed", "trace_id": "ca6f48bb59b61e5372663d511a071433", "span_id": "791f891111496b2f", "outcome": "ready"}
{"time": "2026-11-22T10:54:24.780819837Z", "level": "INFO", "event": "job.processed", "trace_id": "7b7e19c748f6bf10be0d6e0a6aaf396f", "span_id": "519f858e7058b245", "outcome": "ready"}
{"time": "2026-11-22T10:54:33.866735787Z", "level": "INFO", "event": "job.processed", "trace_id": "bc790b8b7eba894a4f4b2a389bae8bb2", "span_id": "feac4579a785921f", "outcome": "ready"}
{"time": "2026-11-22T10:54:40.859543864Z", "level": "INFO", "event": "job.processed", "trace_id": "973eec06e900ab87c827b5cf0105459e", "span_id": "2457d730702bfb7f", "outcome": "ready"}
{"time": "2026-11-22T10:54:47.851794177Z", "level": "INFO", "event": "job.processed", "trace_id": "042d29bc53ed0259c1ef78579378b59d", "span_id": "13fe6a509673bad7", "outcome": "ready"}
{"time": "2026-11-22T10:54:54.849575498Z", "level": "INFO", "event": "job.processed", "trace_id": "4d3278a33e9a76043ef785a1c7c0924b", "span_id": "e1f405356d948f57", "outcome": "ready"}
{"time": "2026-11-22T10:55:03.946514742Z", "level": "INFO", "event": "job.processed", "trace_id": "70bb22f9d779fc8a2bf7aa27b935c5dd", "span_id": "c35478da1f219248", "outcome": "ready"}
{"time": "2026-11-22T10:55:25.962100357Z", "level": "INFO", "event": "job.processed", "trace_id": "3d4f5824fc18ef0ba25e3449e8b85174", "span_id": "68bfd4aeff5d705b", "outcome": "ready"}
{"time": "2026-11-22T10:53:52.998082782Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "5c53607d-7c50-48f0-b052-e12088ee8bcd", "trace_id": "c4f3b0f0684004b61d3f63223477b0ec", "span_id": "e1b65d3ece4ac12a", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:08.871881137Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "9cf9b93b-73eb-4e20-bb53-1ec142c7ffed", "trace_id": "f1f87e142a1544bb23eacb2e3c39e366", "span_id": "39e6703b2020be5e", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:33.049031841Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "4fff71b9-9faf-4ba2-a601-04f8fda74d10", "trace_id": "bc790b8b7eba894a4f4b2a389bae8bb2", "span_id": "444025b775f79449", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:46.967735793Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "6738003e-c8ff-4470-b69a-11304b45618c", "trace_id": "042d29bc53ed0259c1ef78579378b59d", "span_id": "75dc49fcf6bac736", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:55:03.241702759Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "5f4c745d-e5ca-4016-bab2-03d51e341d98", "trace_id": "70bb22f9d779fc8a2bf7aa27b935c5dd", "span_id": "4e89052b7f1553f2", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:55:25.51066111Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "2a0a0f12-fd37-48b6-b8ab-79d71355b35a", "trace_id": "3d4f5824fc18ef0ba25e3449e8b85174", "span_id": "6aae2975254b4281", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:53:04.552012403Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "e239561c-d0e3-47d0-b9f0-73181e802d05", "trace_id": "3e9412426b94f14934f6f7953001d287", "span_id": "d4eada4bef6a896b", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:53:37.899383878Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "7662127f-092b-4bdf-a11c-8a1ac4dfc44a", "trace_id": "01455b5fa89f42e127d160a1762a4fd9", "span_id": "8220da8ff49d7576", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:53:45.937190817Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "fd023f37-4029-4156-8b82-8bc0b3e7a4d9", "trace_id": "406f3cdcf2aea77732de620bf8b5ccdb", "span_id": "5bf05a76d7ba5424", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:01.912163314Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "58806df7-0b0e-42df-a74b-5201e66a3a11", "trace_id": "6d4d0f020cddd405f90dcf54e6e2c73d", "span_id": "7c61a19c5791fe28", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:15.839494085Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "adf5bcee-e00b-4e4b-b4e8-91b359fedfde", "trace_id": "ca6f48bb59b61e5372663d511a071433", "span_id": "68623b8f7c792b12", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:24.016515647Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "0c5b89e1-79d9-4658-ad61-49633a57b37c", "trace_id": "7b7e19c748f6bf10be0d6e0a6aaf396f", "span_id": "993b3461e6843646", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:40.011172854Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "9bd46c45-3bd6-4fab-93a0-c68b8526b45d", "trace_id": "973eec06e900ab87c827b5cf0105459e", "span_id": "2e0a04430c107b35", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
{"time": "2026-11-22T10:54:54.178582308Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "c208cc6c-ba82-4605-a27f-04c3bab29b76", "trace_id": "4d3278a33e9a76043ef785a1c7c0924b", "span_id": "15164f6ab1670a3f", "http.route": "/api/v1/chats/:chat_id/attachments", "http.response.status_code": 202}
@@ -0,0 +1,542 @@
[
{
"span_id": "6aae2975254b4281",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 6725,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "682c38201731f738"
}
],
"error": null,
"status": null
},
{
"span_id": "bfd3cefc79ae071b",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 211,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "573ff32e9b05a000",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 5,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "44e5c56e448bf90a",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 1620,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "68bfd4aeff5d705b"
}
],
"error": null,
"status": null
},
{
"span_id": "f8d6e6bc667f0891",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 1351,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "44e5c56e448bf90a"
}
],
"error": null,
"status": null
},
{
"span_id": "a8458dccc82fa300",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 214,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "a8695280ada77643"
}
],
"error": null,
"status": null
},
{
"span_id": "a041fbce638b8752",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 4,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "a3d4ec18c3d4be7c",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 278,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "68bfd4aeff5d705b",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 46595,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "52857f61a6457a71"
}
],
"error": null,
"status": null
},
{
"span_id": "edea942c93aac1d1",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 322,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "a8695280ada77643"
}
],
"error": null,
"status": null
},
{
"span_id": "5057905d6b7b1a30",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 285,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "a8695280ada77643"
}
],
"error": null,
"status": null
},
{
"span_id": "336b2b6835b28b48",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "98a34caca47beb8c",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 169,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "dd69507295068d72",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 243,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "44e5c56e448bf90a"
}
],
"error": null,
"status": null
},
{
"span_id": "c5bdccc4f7c04e74",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 1037,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "ab95d7c3de0ea775"
}
],
"error": null,
"status": null
},
{
"span_id": "e37eaab6e7eb88f0",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3071,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "64485b02f4539418"
}
],
"error": null,
"status": null
},
{
"span_id": "3d5aa24f180e517f",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 303,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "a8695280ada77643"
}
],
"error": null,
"status": null
},
{
"span_id": "a19ff2e192c139a7",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 1119,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "a8695280ada77643"
}
],
"error": null,
"status": null
},
{
"span_id": "8ee78438dea01a2b",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 437,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "0f7a0d5a96e7f0d8",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 6724,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "64485b02f4539418"
}
],
"error": null,
"status": null
},
{
"span_id": "9f80b7562e1f63cb",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 481,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "a8695280ada77643"
}
],
"error": null,
"status": null
},
{
"span_id": "b7f6e2a87aeada34",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 3854,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "35222073e922b139",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 213,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "ba41d7ff2ec6f4e2",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4143,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "64485b02f4539418"
}
],
"error": null,
"status": null
},
{
"span_id": "a8695280ada77643",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 2938,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "68bfd4aeff5d705b"
}
],
"error": null,
"status": null
},
{
"span_id": "b9e68e973531f89d",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 10,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "a8695280ada77643"
}
],
"error": null,
"status": null
},
{
"span_id": "07b8715db4b301bc",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 11,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "77294e1d424eee72",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 186,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "7e11dc29b2c36037",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 676,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "30c0c1183b53ce27",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 21342,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "68bfd4aeff5d705b"
}
],
"error": null,
"status": null
},
{
"span_id": "a6d5a73ffb6c8619",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3266,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "64485b02f4539418"
}
],
"error": null,
"status": null
},
{
"span_id": "52857f61a6457a71",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 3674,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
},
{
"span_id": "ab95d7c3de0ea775",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 2454,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "68bfd4aeff5d705b"
}
],
"error": null,
"status": null
},
{
"span_id": "ff6889d58e51515f",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 1185,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "ab95d7c3de0ea775"
}
],
"error": null,
"status": null
},
{
"span_id": "64485b02f4539418",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 17773,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "68bfd4aeff5d705b"
}
],
"error": null,
"status": null
},
{
"span_id": "07bbd5ea3a80b7ba",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 163,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3d4f5824fc18ef0ba25e3449e8b85174",
"spanID": "6aae2975254b4281"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,542 @@
[
{
"span_id": "293e1cccd5639787",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "329086c988298899",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 1174,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "d67131f315c00982",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 186,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "2419b07bb6bae02e",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 183,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3c7654ccd295c2e3"
}
],
"error": null,
"status": null
},
{
"span_id": "429e4b662d2965b2",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 5,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "1030857a2ba84cf6",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 17655,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "22c31ea72552dbe4",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 20523,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "78cac2c78f01f1b9",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 6000,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "58b86702932bded2"
}
],
"error": null,
"status": null
},
{
"span_id": "751681f8f1fa88be",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4239,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "58b86702932bded2"
}
],
"error": null,
"status": null
},
{
"span_id": "3c7654ccd295c2e3",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 6000,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "cc1e160c7f5747a7"
}
],
"error": null,
"status": null
},
{
"span_id": "4de0a319809f3ea9",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 796,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "5b1fe24b4e77e7ce",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 12,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "f4b098482edc0ad0",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 533,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "cc1e160c7f5747a7",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 129814,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "22c31ea72552dbe4"
}
],
"error": null,
"status": null
},
{
"span_id": "55913336806813fe",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 4909,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d034dc0a5fa75669"
}
],
"error": null,
"status": null
},
{
"span_id": "18dd97550074512c",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 5,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3c7654ccd295c2e3"
}
],
"error": null,
"status": null
},
{
"span_id": "d4eada4bef6a896b",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 43163,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "b1ec466e0f14af8e"
}
],
"error": null,
"status": null
},
{
"span_id": "05d2db72e2e30bf6",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 20139,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3abaec56ce2a2294"
}
],
"error": null,
"status": null
},
{
"span_id": "0a5a83d83466f197",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 26235,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "cc1e160c7f5747a7"
}
],
"error": null,
"status": null
},
{
"span_id": "f93bfb443cfca3d5",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 8512,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "58b86702932bded2"
}
],
"error": null,
"status": null
},
{
"span_id": "5498201d1ed43e30",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 3013,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3c7654ccd295c2e3"
}
],
"error": null,
"status": null
},
{
"span_id": "9c9d89777a75967c",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 10,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "d034dc0a5fa75669",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 17278,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "cc1e160c7f5747a7"
}
],
"error": null,
"status": null
},
{
"span_id": "e803e932deb45226",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 5026,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "58b86702932bded2"
}
],
"error": null,
"status": null
},
{
"span_id": "ada55d1da10cf1f2",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 301,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3c7654ccd295c2e3"
}
],
"error": null,
"status": null
},
{
"span_id": "92c7fbe2ef064651",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 28683,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3abaec56ce2a2294"
}
],
"error": null,
"status": null
},
{
"span_id": "e5044385a528fc4d",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 274,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3c7654ccd295c2e3"
}
],
"error": null,
"status": null
},
{
"span_id": "352fd85c93f91be1",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 4783,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "3abaec56ce2a2294",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 49348,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "cc1e160c7f5747a7"
}
],
"error": null,
"status": null
},
{
"span_id": "285d4fbf2d7f5585",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 6973,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d034dc0a5fa75669"
}
],
"error": null,
"status": null
},
{
"span_id": "58b86702932bded2",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 25573,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "cc1e160c7f5747a7"
}
],
"error": null,
"status": null
},
{
"span_id": "9b39d70c9de6f085",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 760,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3c7654ccd295c2e3"
}
],
"error": null,
"status": null
},
{
"span_id": "412b2c73362a7b40",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 1166,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "e4948aad14999893",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 715,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "3c7654ccd295c2e3"
}
],
"error": null,
"status": null
},
{
"span_id": "3928a30a9d6b0554",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 10573,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
},
{
"span_id": "b335720818002500",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 189,
"references": [
{
"refType": "CHILD_OF",
"traceID": "3e9412426b94f14934f6f7953001d287",
"spanID": "d4eada4bef6a896b"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,542 @@
[
{
"span_id": "c29524ccdec6011f",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 357,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "f5a83511e1f31e2e"
}
],
"error": null,
"status": null
},
{
"span_id": "7829f3f6b8a500a6",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 298,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "6c24bacddc019f33",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 1337,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "54bd4ec317fc2234"
}
],
"error": null,
"status": null
},
{
"span_id": "b02dad2138ecf357",
"operation": "postgresql.BEGIN",
"service": "messenger-worker",
"duration_us": 203,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "f5a83511e1f31e2e"
}
],
"error": null,
"status": null
},
{
"span_id": "335a2f95a3039ece",
"operation": "job.s3.put",
"service": "messenger-worker",
"duration_us": 13139,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "c35478da1f219248"
}
],
"error": null,
"status": null
},
{
"span_id": "0ffe693983c09fcf",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 3598,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "335a2f95a3039ece"
}
],
"error": null,
"status": null
},
{
"span_id": "7f2788aacd5a1bd0",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 212,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "388d28d235fdf70a",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 381,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "6c93875a84870b99",
"operation": "s3.PUT",
"service": "messenger-api",
"duration_us": 5969,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "6e364b0b66eefdfc",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 390,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "786d02e54b27a745",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 4022,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "335a2f95a3039ece"
}
],
"error": null,
"status": null
},
{
"span_id": "2afc1ecd6b5d9399",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 11,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "a31ba296e6759d06",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 349,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "1b9e5b1f46e1909c",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "54bd4ec317fc2234",
"operation": "job.claim",
"service": "messenger-worker",
"duration_us": 1626,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "c35478da1f219248"
}
],
"error": null,
"status": null
},
{
"span_id": "c7e5c994c3a9c716",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 9,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "f5a83511e1f31e2e"
}
],
"error": null,
"status": null
},
{
"span_id": "73fd9114866c11d0",
"operation": "postgresql.UPDATE",
"service": "messenger-worker",
"duration_us": 465,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "f5a83511e1f31e2e"
}
],
"error": null,
"status": null
},
{
"span_id": "a84860289dbc2d81",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 19,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "4dc6b853402028f8",
"operation": "job.s3.get",
"service": "messenger-worker",
"duration_us": 2123,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "c35478da1f219248"
}
],
"error": null,
"status": null
},
{
"span_id": "04427bf7cb33bc6d",
"operation": "job.image.process",
"service": "messenger-worker",
"duration_us": 11701,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "c35478da1f219248"
}
],
"error": null,
"status": null
},
{
"span_id": "75e6fe5f0c31fb4d",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 2664,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "335a2f95a3039ece"
}
],
"error": null,
"status": null
},
{
"span_id": "c35478da1f219248",
"operation": "attachments.process process",
"service": "messenger-worker",
"duration_us": 31590,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "ca89b68b3a406d35"
}
],
"error": null,
"status": null
},
{
"span_id": "f712c2395398b627",
"operation": "postgresql.acquire",
"service": "messenger-worker",
"duration_us": 266,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "54bd4ec317fc2234"
}
],
"error": null,
"status": null
},
{
"span_id": "f5a83511e1f31e2e",
"operation": "job.db.complete",
"service": "messenger-worker",
"duration_us": 2694,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "c35478da1f219248"
}
],
"error": null,
"status": null
},
{
"span_id": "39a9972ed6729cda",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 311,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "f5a83511e1f31e2e"
}
],
"error": null,
"status": null
},
{
"span_id": "9664e47157bb10b2",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 10,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "ca89b68b3a406d35",
"operation": "attachments publish",
"service": "messenger-api",
"duration_us": 2047,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "899b30cf47d04611",
"operation": "s3.HEAD",
"service": "messenger-worker",
"duration_us": 788,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4dc6b853402028f8"
}
],
"error": null,
"status": null
},
{
"span_id": "cc6e139ffb57a8e7",
"operation": "s3.GET",
"service": "messenger-worker",
"duration_us": 1141,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4dc6b853402028f8"
}
],
"error": null,
"status": null
},
{
"span_id": "f8422c9fd46bbe8d",
"operation": "postgresql.COMMIT",
"service": "messenger-worker",
"duration_us": 841,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "f5a83511e1f31e2e"
}
],
"error": null,
"status": null
},
{
"span_id": "4e89052b7f1553f2",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"service": "messenger-api",
"duration_us": 9987,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "5166c1d7bdc65340"
}
],
"error": null,
"status": null
},
{
"span_id": "4f95c6ffe42e6113",
"operation": "postgresql.BEGIN",
"service": "messenger-api",
"duration_us": 238,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "eef65f6d2dfe7ccc",
"operation": "postgresql.INSERT",
"service": "messenger-api",
"duration_us": 642,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "730f95b1c9fedf80",
"operation": "postgresql.COMMIT",
"service": "messenger-api",
"duration_us": 784,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "4e89052b7f1553f2"
}
],
"error": null,
"status": null
},
{
"span_id": "442619279651594b",
"operation": "s3.PUT",
"service": "messenger-worker",
"duration_us": 2340,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "335a2f95a3039ece"
}
],
"error": null,
"status": null
},
{
"span_id": "9766512c7fd7ac1a",
"operation": "postgresql.INSERT",
"service": "messenger-worker",
"duration_us": 317,
"references": [
{
"refType": "CHILD_OF",
"traceID": "70bb22f9d779fc8a2bf7aa27b935c5dd",
"spanID": "f5a83511e1f31e2e"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,11 @@
{"utc": "2026-11-20T18:02:26.729215+00:00", "event": "http", "phase": "before", "trace_id": "f7e33d65f30d4058fefc860119af1e2d", "status": 200, "request_id": "def75dac-3aac-436e-ba81-6c8bea8d8add", "elapsed_ms": 31}
{"utc": "2026-11-20T18:02:27.282787+00:00", "event": "stopped", "service": "postgres"}
{"utc": "2026-11-20T18:02:27.291356+00:00", "event": "http", "phase": "during", "trace_id": "0dee180dbe0f34ce6e51c7f8b3310235", "status": 503, "request_id": "0e3c1f38-36b9-41bc-b5fa-25a86ddd76ce", "elapsed_ms": 0}
{"utc": "2026-11-20T18:02:35.319170+00:00", "event": "http", "phase": "during", "trace_id": "0a315d8f5150e9d872d6111651d0896f", "status": 503, "request_id": "cff7c83a-fc8e-4b56-aed6-0176eeadf7ab", "elapsed_ms": 3016}
{"utc": "2026-11-20T18:02:43.365049+00:00", "event": "http", "phase": "during", "trace_id": "8d92a2a9cdf3b6465e06fc8a792dd14f", "status": 503, "request_id": "217830bb-9956-4526-9a9c-8ff2220c9912", "elapsed_ms": 3047}
{"utc": "2026-11-20T18:02:51.388485+00:00", "event": "http", "phase": "during", "trace_id": "75abb95d00e3dcb465bae9e029b762d2", "status": 503, "request_id": "d14aacf0-b99e-4b68-9e8e-555ee5416df1", "elapsed_ms": 3015}
{"utc": "2026-11-20T18:02:59.411423+00:00", "event": "http", "phase": "during", "trace_id": "674750910a17bee44090d06b1d3e961b", "status": 503, "request_id": "124f8e63-d648-4e6a-abd0-ec5208750cc9", "elapsed_ms": 3016}
{"utc": "2026-11-20T18:03:07.447681+00:00", "event": "http", "phase": "during", "trace_id": "ae890f79b569dbc98394a702f448e4c4", "status": 503, "request_id": "f2803274-54c5-4f50-b12c-ff5f08e24942", "elapsed_ms": 3016}
{"utc": "2026-11-20T18:03:12.839141+00:00", "event": "started", "service": "postgres"}
{"utc": "2026-11-20T18:03:15.885708+00:00", "event": "http", "phase": "after", "trace_id": "6cad9a1db566c60024bcaa5deeb5c50e", "status": 200, "request_id": "8a059db0-1b77-4518-b35f-071629b620d0", "elapsed_ms": 0}
{"utc": "2026-11-20T18:03:31.855222+00:00", "event": "matching_logs", "count": 8}
@@ -0,0 +1,8 @@
{"time": "2026-11-20T18:02:27.298064924Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "0e3c1f38-36b9-41bc-b5fa-25a86ddd76ce", "trace_id": "0dee180dbe0f34ce6e51c7f8b3310235", "span_id": "39b762a73839d60b", "http.route": "/api/v1/chats", "http.response.status_code": 503}
{"time": "2026-11-20T18:02:26.735414778Z", "level": "INFO", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "def75dac-3aac-436e-ba81-6c8bea8d8add", "trace_id": "f7e33d65f30d4058fefc860119af1e2d", "span_id": "8836dd5161c38508", "http.route": "/api/v1/chats", "http.response.status_code": 200}
{"time": "2026-11-20T18:02:35.329175808Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "cff7c83a-fc8e-4b56-aed6-0176eeadf7ab", "trace_id": "0a315d8f5150e9d872d6111651d0896f", "span_id": "ce84c5dd4b20f6af", "http.route": "/api/v1/chats", "http.response.status_code": 503}
{"time": "2026-11-20T18:02:43.365934647Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "217830bb-9956-4526-9a9c-8ff2220c9912", "trace_id": "8d92a2a9cdf3b6465e06fc8a792dd14f", "span_id": "73fb0a1de1568fbc", "http.route": "/api/v1/chats", "http.response.status_code": 503}
{"time": "2026-11-20T18:02:59.420675676Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "124f8e63-d648-4e6a-abd0-ec5208750cc9", "trace_id": "674750910a17bee44090d06b1d3e961b", "span_id": "bd9d40f76aa5f443", "http.route": "/api/v1/chats", "http.response.status_code": 503}
{"time": "2026-11-20T18:02:51.376702937Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "d14aacf0-b99e-4b68-9e8e-555ee5416df1", "trace_id": "75abb95d00e3dcb465bae9e029b762d2", "span_id": "c25f10e2d048f5a7", "http.route": "/api/v1/chats", "http.response.status_code": 503}
{"time": "2026-11-20T18:03:15.882830401Z", "level": "INFO", "event": "http.request.completed", "instance_id": "a1089d4af8b3", "request_id": "8a059db0-1b77-4518-b35f-071629b620d0", "trace_id": "6cad9a1db566c60024bcaa5deeb5c50e", "span_id": "020cdb1ad4314813", "http.route": "/api/v1/chats", "http.response.status_code": 200}
{"time": "2026-11-20T18:03:07.45592155Z", "level": "ERROR", "event": "http.request.completed", "instance_id": "695ac6511b92", "request_id": "f2803274-54c5-4f50-b12c-ff5f08e24942", "trace_id": "ae890f79b569dbc98394a702f448e4c4", "span_id": "c9663521fd5064d8", "http.route": "/api/v1/chats", "http.response.status_code": 503}
@@ -0,0 +1,122 @@
[
{
"span_id": "020cdb1ad4314813",
"operation": "GET /api/v1/chats",
"service": "messenger-api",
"duration_us": 5408,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "dd076a633a205f11"
}
],
"error": null,
"status": null
},
{
"span_id": "bc004d7c62d9a4b2",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 165,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "020cdb1ad4314813"
}
],
"error": null,
"status": null
},
{
"span_id": "e526885dcff684d0",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 12,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "020cdb1ad4314813"
}
],
"error": null,
"status": null
},
{
"span_id": "95faad7e2ccce80a",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 2498,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "020cdb1ad4314813"
}
],
"error": null,
"status": null
},
{
"span_id": "9b90d09cb2f213a2",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 7,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "020cdb1ad4314813"
}
],
"error": null,
"status": null
},
{
"span_id": "fcd5cf7af5e7a4ac",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 1994,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "020cdb1ad4314813"
}
],
"error": null,
"status": null
},
{
"span_id": "c31000df003936cb",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 11,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "020cdb1ad4314813"
}
],
"error": null,
"status": null
},
{
"span_id": "b585684312148d6e",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 531,
"references": [
{
"refType": "CHILD_OF",
"traceID": "6cad9a1db566c60024bcaa5deeb5c50e",
"spanID": "020cdb1ad4314813"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,47 @@
[
{
"span_id": "c9663521fd5064d8",
"operation": "GET /api/v1/chats",
"service": "messenger-api",
"duration_us": 3000630,
"references": [
{
"refType": "CHILD_OF",
"traceID": "ae890f79b569dbc98394a702f448e4c4",
"spanID": "6903c1a8d26adb75"
}
],
"error": true,
"status": "ERROR"
},
{
"span_id": "d6caa45e152a9b3d",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 289,
"references": [
{
"refType": "CHILD_OF",
"traceID": "ae890f79b569dbc98394a702f448e4c4",
"spanID": "c9663521fd5064d8"
}
],
"error": null,
"status": null
},
{
"span_id": "f71155b88f39189a",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 3000046,
"references": [
{
"refType": "CHILD_OF",
"traceID": "ae890f79b569dbc98394a702f448e4c4",
"spanID": "c9663521fd5064d8"
}
],
"error": true,
"status": "ERROR"
}
]
@@ -0,0 +1,122 @@
[
{
"span_id": "8836dd5161c38508",
"operation": "GET /api/v1/chats",
"service": "messenger-api",
"duration_us": 1727,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "4ed9ae47156ec94e"
}
],
"error": null,
"status": null
},
{
"span_id": "ec8e292d6662f9d9",
"operation": "redis.get",
"service": "messenger-api",
"duration_us": 174,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "8836dd5161c38508"
}
],
"error": null,
"status": null
},
{
"span_id": "d75eb0478562e88c",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 12,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "8836dd5161c38508"
}
],
"error": null,
"status": null
},
{
"span_id": "2d11e891aeb72930",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 276,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "8836dd5161c38508"
}
],
"error": null,
"status": null
},
{
"span_id": "9a0631ae41b84e44",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 8,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "8836dd5161c38508"
}
],
"error": null,
"status": null
},
{
"span_id": "9509ae354caa6e8f",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 762,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "8836dd5161c38508"
}
],
"error": null,
"status": null
},
{
"span_id": "6ae94c5b259d8aa1",
"operation": "postgresql.acquire",
"service": "messenger-api",
"duration_us": 6,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "8836dd5161c38508"
}
],
"error": null,
"status": null
},
{
"span_id": "99f4a99190ff3ed8",
"operation": "postgresql.SELECT",
"service": "messenger-api",
"duration_us": 240,
"references": [
{
"refType": "CHILD_OF",
"traceID": "f7e33d65f30d4058fefc860119af1e2d",
"spanID": "8836dd5161c38508"
}
],
"error": null,
"status": null
}
]
@@ -0,0 +1,4 @@
{"time": "2026-11-22T09:23:03.387823+00:00", "event": "queued", "trace_id": "836f669086d68530b17f6311900f28fe", "attachment_id": "0db9e8c1-9390-44d1-af32-f03b1d8028cd"}
{"time": "2026-11-22T09:23:04.065874+00:00", "event": "minio_stopped"}
{"time": "2026-11-22T09:23:36.536489+00:00", "event": "retry_observed", "trace_id": "836f669086d68530b17f6311900f28fe"}
{"time": "2026-11-22T09:23:40.727834+00:00", "event": "ready", "trace_id": "836f669086d68530b17f6311900f28fe"}
@@ -0,0 +1,23 @@
[
{
"time": "2026-11-22T09:23:35.81500007Z",
"event": "job.processed",
"outcome": "retry",
"trace_id": "836f669086d68530b17f6311900f28fe",
"span_id": "af054bfb7c8d8a25"
},
{
"time": "2026-11-22T09:23:39.945404253Z",
"event": "job.processed",
"outcome": "ready",
"trace_id": "836f669086d68530b17f6311900f28fe",
"span_id": "b161eb2e0752d9b1"
},
{
"time": "2026-11-22T09:23:03.077910498Z",
"event": "http.request.completed",
"trace_id": "836f669086d68530b17f6311900f28fe",
"span_id": "95324fccacaedb99",
"http.route": "/api/v1/chats/:chat_id/attachments"
}
]
@@ -0,0 +1,602 @@
[
{
"span_id": "6204a140cbdbf49e",
"operation": "s3.PUT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "3d54e2af3cb4ca04"
}
],
"outcome": null
},
{
"span_id": "7d57663d0cfdf97f",
"operation": "s3.PUT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "3d54e2af3cb4ca04"
}
],
"outcome": null
},
{
"span_id": "f6ff72c3545f111b",
"operation": "s3.PUT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "a21533a2763843f9",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "f1c4a59a1e8b125f"
}
],
"outcome": null
},
{
"span_id": "b161eb2e0752d9b1",
"operation": "attachments.process process",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "7a1786f8db041551"
}
],
"outcome": "ready"
},
{
"span_id": "e37b03cd770e3283",
"operation": "job.s3.get",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "b161eb2e0752d9b1"
}
],
"outcome": null
},
{
"span_id": "b54e090ec262e1d6",
"operation": "s3.GET",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "e37b03cd770e3283"
}
],
"outcome": null
},
{
"span_id": "94239ecce370319a",
"operation": "postgresql.acquire",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "9ebf95009c3d95b3"
}
],
"outcome": null
},
{
"span_id": "37a455c167cf970d",
"operation": "postgresql.acquire",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "757652b22dc0f1ee"
}
],
"outcome": null
},
{
"span_id": "fdad78eeaf85fe7c",
"operation": "postgresql.UPDATE",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "757652b22dc0f1ee"
}
],
"outcome": null
},
{
"span_id": "795cdb199bcdb7c4",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "e37b03cd770e3283"
}
],
"outcome": null
},
{
"span_id": "68a976a972563a63",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "e37b03cd770e3283"
}
],
"outcome": null
},
{
"span_id": "c60ba18ceca129d8",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "e37b03cd770e3283"
}
],
"outcome": null
},
{
"span_id": "0f9e316ac94925d3",
"operation": "postgresql.acquire",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "c16a695529fc5baf"
}
],
"outcome": null
},
{
"span_id": "584bf26f92a84274",
"operation": "postgresql.UPDATE",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "c16a695529fc5baf"
}
],
"outcome": null
},
{
"span_id": "56e403b5f87bba0c",
"operation": "postgresql.acquire",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "cc117b1ab14800bb",
"operation": "postgresql.acquire",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "280eb43e0dfe8da9",
"operation": "postgresql.SELECT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "9ebf95009c3d95b3",
"operation": "job.claim",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "af054bfb7c8d8a25"
}
],
"outcome": null
},
{
"span_id": "0b7461b69e3e3226",
"operation": "postgresql.BEGIN",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "c16a695529fc5baf"
}
],
"outcome": null
},
{
"span_id": "05bc1ce33036d196",
"operation": "postgresql.INSERT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "c16a695529fc5baf"
}
],
"outcome": null
},
{
"span_id": "1cf646835ffa7ca2",
"operation": "postgresql.COMMIT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "c16a695529fc5baf"
}
],
"outcome": null
},
{
"span_id": "c28ca0cd6be25e0a",
"operation": "postgresql.acquire",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "552c9c6290bd7a7e",
"operation": "postgresql.BEGIN",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "3d54e2af3cb4ca04",
"operation": "job.s3.put",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "b161eb2e0752d9b1"
}
],
"outcome": null
},
{
"span_id": "eca99b1b66ce41d2",
"operation": "s3.PUT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "3d54e2af3cb4ca04"
}
],
"outcome": null
},
{
"span_id": "c16a695529fc5baf",
"operation": "job.db.complete",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "b161eb2e0752d9b1"
}
],
"outcome": null
},
{
"span_id": "a99b5452fb4b5d15",
"operation": "postgresql.INSERT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "c16a695529fc5baf"
}
],
"outcome": null
},
{
"span_id": "deefabd1976c803a",
"operation": "postgresql.SELECT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "238b4a20aecfd2c9",
"operation": "attachments publish",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "8b5265c5b498fd0b",
"operation": "postgresql.INSERT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "c16a695529fc5baf"
}
],
"outcome": null
},
{
"span_id": "28006f367d101d41",
"operation": "redis.get",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "8ad568d86a69df0e",
"operation": "postgresql.SELECT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "4677dc7f747169d8",
"operation": "postgresql.COMMIT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "af054bfb7c8d8a25",
"operation": "attachments.process process",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "238b4a20aecfd2c9"
}
],
"outcome": "retry"
},
{
"span_id": "078fdfdd8afae656",
"operation": "postgresql.UPDATE",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "9ebf95009c3d95b3"
}
],
"outcome": null
},
{
"span_id": "22b4dc10b21a5c10",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "f1c4a59a1e8b125f"
}
],
"outcome": null
},
{
"span_id": "25de7d3cac6af941",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "e37b03cd770e3283"
}
],
"outcome": null
},
{
"span_id": "358118b0e1e0f101",
"operation": "s3.PUT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "3d54e2af3cb4ca04"
}
],
"outcome": null
},
{
"span_id": "8228e6cdd06fc3f4",
"operation": "postgresql.INSERT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "f1c4a59a1e8b125f",
"operation": "job.s3.get",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "af054bfb7c8d8a25"
}
],
"outcome": null
},
{
"span_id": "865ba1fcf93d2bde",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "f1c4a59a1e8b125f"
}
],
"outcome": null
},
{
"span_id": "757652b22dc0f1ee",
"operation": "job.claim",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "b161eb2e0752d9b1"
}
],
"outcome": null
},
{
"span_id": "2f1e73164f8db7ac",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "e37b03cd770e3283"
}
],
"outcome": null
},
{
"span_id": "2fc4250b1d9a7df0",
"operation": "job.image.process",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "b161eb2e0752d9b1"
}
],
"outcome": null
},
{
"span_id": "95324fccacaedb99",
"operation": "POST /api/v1/chats/:chat_id/attachments",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "1ac9e4de242c1e2d"
}
],
"outcome": null
},
{
"span_id": "5926f68bcb5ec8af",
"operation": "postgresql.acquire",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "87ecb4d8cdc4930a",
"operation": "postgresql.INSERT",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "7a1786f8db041551",
"operation": "attachments publish",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "95324fccacaedb99"
}
],
"outcome": null
},
{
"span_id": "929a4fed4bcca809",
"operation": "s3.HEAD",
"references": [
{
"refType": "CHILD_OF",
"traceID": "836f669086d68530b17f6311900f28fe",
"spanID": "f1c4a59a1e8b125f"
}
],
"outcome": null
}
]
@@ -0,0 +1,5 @@
{
"trace_id": "836f669086d68530b17f6311900f28fe",
"consumer_spans": 2,
"verified": true
}
@@ -0,0 +1 @@
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"__name__":"ALERTS","alertname":"MessengerGrowingAttachmentQueue","alertstate":"firing","instance":"rabbitmq:15692","job":"rabbitmq","queue":"attachments.process","severity":"warning","vhost":"/"},"values":[[1795197546,"1"],[1795197561,"1"],[1795197576,"1"],[1795197591,"1"],[1795197606,"1"],[1795197621,"1"]]},{"metric":{"__name__":"ALERTS","alertname":"MessengerGrowingAttachmentQueue","alertstate":"pending","instance":"rabbitmq:15692","job":"rabbitmq","queue":"attachments.process","severity":"warning","vhost":"/"},"values":[[1795197426,"1"],[1795197441,"1"],[1795197456,"1"],[1795197471,"1"],[1795197486,"1"],[1795197501,"1"],[1795197516,"1"],[1795197531,"1"]]}]}}
@@ -0,0 +1 @@
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"__name__":"rabbitmq_detailed_queue_consumer_capacity","instance":"rabbitmq:15692","job":"rabbitmq","queue":"attachments.process","vhost":"/"},"values":[[1795197336,"1"],[1795197351,"0"],[1795197366,"0"],[1795197381,"0"],[1795197396,"0"],[1795197411,"0"],[1795197426,"0"],[1795197441,"0"],[1795197456,"0"],[1795197471,"0"],[1795197486,"0"],[1795197501,"0"],[1795197516,"0"],[1795197531,"0"],[1795197546,"0"],[1795197561,"0"],[1795197576,"0"],[1795197591,"0"],[1795197606,"0"],[1795197621,"0.8339184193789194"],[1795197636,"0.8339184193789194"],[1795197651,"0.8339184193789194"],[1795197666,"0.8339184193789194"],[1795197681,"0.8339184193789194"],[1795197696,"0.8339184193789194"]]}]}}
@@ -0,0 +1 @@
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"instance":"rabbitmq:15692","job":"rabbitmq","queue":"attachments.process","vhost":"/"},"values":[[1795197351,"8"],[1795197366,"23"],[1795197381,"38"],[1795197396,"53"],[1795197411,"68"],[1795197426,"83"],[1795197441,"98"],[1795197456,"113"],[1795197471,"128"],[1795197486,"143"],[1795197501,"158"],[1795197516,"173"],[1795197531,"188"],[1795197546,"203"],[1795197561,"218"],[1795197576,"233"],[1795197591,"248"],[1795197606,"263"]]}]}}
@@ -0,0 +1 @@
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"__name__":"rabbitmq_detailed_queue_messages_ready","instance":"rabbitmq:15692","job":"rabbitmq","queue":"attachments.process","vhost":"/"},"values":[[1795197336,"0"],[1795197351,"1"],[1795197366,"2"],[1795197381,"3"],[1795197396,"4"],[1795197411,"5"],[1795197426,"6"],[1795197441,"7"],[1795197456,"8"],[1795197471,"9"],[1795197486,"10"],[1795197501,"11"],[1795197516,"12"],[1795197531,"13"],[1795197546,"14"],[1795197561,"15"],[1795197576,"16"],[1795197591,"17"],[1795197606,"18"],[1795197621,"0"],[1795197636,"0"],[1795197651,"0"],[1795197666,"0"],[1795197681,"0"],[1795197696,"0"]]}]}}
@@ -0,0 +1,40 @@
Container golikovap-messenger-lab6-worker-1 Stopping
Container golikovap-messenger-lab6-worker-1 Stopped
1/18: defc8665-7ee4-4471-a91a-70b975e4ae01 — queued
2/18: c08541f6-ae08-4314-bfb9-3eeda62599c7 — queued
3/18: 8a1a2881-69ed-44f7-91db-a2ee0643fa93 — queued
4/18: 47b506b7-2761-4f77-abca-e658e26c77a3 — queued
5/18: 5abe9053-ccc8-4aa5-a3d7-bc7ba359070e — queued
6/18: 084d391e-9636-45d1-9823-faaf1e728a4e — queued
7/18: bb843fe0-7fba-4ab8-a346-f40f2f6e1449 — queued
8/18: 62d91745-a5c3-440f-a805-c458f5ccba87 — queued
9/18: 7ca863b5-e4e7-40b5-8a07-df55fbec0ac9 — queued
10/18: c6473d07-4564-4795-8f95-d8238da93e76 — queued
11/18: 19109e93-1434-4aa6-a140-cc94289030c5 — queued
12/18: 99df85a3-3e05-415e-9c5d-c1ec93f78403 — queued
13/18: 8aa13207-f39f-4cba-981a-597216730842 — queued
14/18: c5a9e9f8-a772-4ebf-9216-e6d1a0b2359e — queued
15/18: 4427b754-260b-4532-be07-ea7f5f0a0f6f — queued
16/18: 9a210a80-7961-491f-96bb-941391ea9db4 — queued
17/18: c22f8ebb-95e5-4604-add6-c1b635bdeb08 — queued
18/18: 4e2914d0-943e-4d87-9a07-ee0deb891f1f — queued
Container golikovap-messenger-lab6-minio-1 Waiting
Container golikovap-messenger-lab6-postgres-1 Waiting
Container golikovap-messenger-lab6-minio-1 Healthy
Container golikovap-messenger-lab6-postgres-1 Healthy
Container golikovap-messenger-lab6-mc-init-1 Starting
Container golikovap-messenger-lab6-migrate-1 Starting
Container golikovap-messenger-lab6-mc-init-1 Started
Container golikovap-messenger-lab6-migrate-1 Started
Container golikovap-messenger-lab6-migrate-1 Waiting
Container golikovap-messenger-lab6-minio-1 Waiting
Container golikovap-messenger-lab6-mc-init-1 Waiting
Container golikovap-messenger-lab6-rabbitmq-1 Waiting
Container golikovap-messenger-lab6-postgres-1 Waiting
Container golikovap-messenger-lab6-postgres-1 Healthy
Container golikovap-messenger-lab6-rabbitmq-1 Healthy
Container golikovap-messenger-lab6-migrate-1 Exited
Container golikovap-messenger-lab6-minio-1 Healthy
Container golikovap-messenger-lab6-mc-init-1 Exited
Container golikovap-messenger-lab6-worker-1 Starting
Container golikovap-messenger-lab6-worker-1 Started
+6
View File
@@ -0,0 +1,6 @@
Processing test file: infra/prometheus/tests/messenger.test.yml
SUCCESS
Processing test file: infra/prometheus/tests/slo.test.yml
SUCCESS
+74
View File
@@ -0,0 +1,74 @@
"""Пересчёт четырёх равномерно дискретизированных контрольных рядов из slo.test.yml."""
import json
from pathlib import Path
import yaml
ROOT = Path(__file__).resolve().parents[2]
STEP = 15
def rate(values, i, window):
# Фикстуры имеют равный шаг и не содержат сбросов. На левом краю
# экстраполяция ограничена нулём монотонного счётчика.
first = max(0, i - window // STEP + 1)
duration = (i - first) * STEP
delta = values[i] - values[first]
if not duration or not delta:
return 0.0
left = min(window - duration, duration * values[first] / delta)
if i * STEP < window:
left = min(left, STEP / 2)
return delta / duration * (duration + left) / window
def replay(case):
profile = case["name"].split()[0]
api = profile == "api"
budget, hold = (0.01, 60) if api else (0.05, 30)
a, b = [list(map(int, item["values"].split())) for item in case["input_series"]]
bad = b if api else [total - fast for total, fast in zip(a, b)]
changes = [i for i in range(1, len(bad)) if bad[i] > bad[i-1]]
onset = (changes[0] - 1) * STEP
recovery = changes[-1] * STEP
active = first_firing = first_clear = None
firing_points = set()
episodes = 0
for i in range(1, len(a)):
burns = []
for window in (60, 300):
x, y = rate(a, i, window), rate(b, i, window)
bad_rate, total = (y, x+y) if api else (max(0, x-y), x)
burns.append(bad_rate / total / budget if total else 0)
ts = i * STEP
if min(burns) > 6:
if active is None:
active = ts
if ts - active >= hold:
firing_points.add(ts)
if ts - STEP not in firing_points:
episodes += 1
if first_firing is None:
first_firing = ts
else:
if ts - STEP in firing_points and first_clear is None:
first_clear = ts
active = None
for test in case["alert_rule_test"]:
minutes, seconds = test["eval_time"].split("m")
ts = 60 * int(minutes) + int(seconds.rstrip("s") or 0)
if (ts in firing_points) != bool(test["exp_alerts"]):
raise ValueError(f"Расхождение в {case['name']} на {ts} с")
return dict(scenario=case["name"], signal_duration_seconds=recovery-onset,
firing_episodes=episodes,
detection_seconds=first_firing-onset if first_firing is not None else None,
recovery_seconds=first_clear-recovery if first_clear is not None else None)
if __name__ == "__main__":
fixture = ROOT / "infra/prometheus/tests/slo.test.yml"
cases = yaml.safe_load(fixture.read_text(encoding="utf-8"))["tests"]
results = [replay(case) for case in cases]
path = Path(__file__).with_name("synthetic-results.json")
path.write_text(json.dumps(results, ensure_ascii=False, indent=2)+"\n", encoding="utf-8")
print(path)
@@ -0,0 +1,68 @@
[
{
"metric": {
"__name__": "ALERTS",
"alertname": "MessengerAPIBudgetBurn",
"alertstate": "firing",
"severity": "warning",
"slo": "api"
},
"values": [
[
1795373930,
"1"
],
[
1795373945,
"1"
],
[
1795373960,
"1"
],
[
1795373975,
"1"
],
[
1795373990,
"1"
],
[
1795374005,
"1"
],
[
1795374020,
"1"
]
]
},
{
"metric": {
"__name__": "ALERTS",
"alertname": "MessengerAPIBudgetBurn",
"alertstate": "pending",
"severity": "warning",
"slo": "api"
},
"values": [
[
1795373870,
"1"
],
[
1795373885,
"1"
],
[
1795373900,
"1"
],
[
1795373915,
"1"
]
]
}
]
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,345 @@
[
{
"metric": {
"__name__": "messenger:slo_api_error_ratio:rate1m"
},
"values": [
[
1795373135,
"0"
],
[
1795373150,
"0"
],
[
1795373165,
"0"
],
[
1795373180,
"0"
],
[
1795373195,
"0"
],
[
1795373210,
"0"
],
[
1795373225,
"0"
],
[
1795373240,
"0"
],
[
1795373255,
"0"
],
[
1795373270,
"0"
],
[
1795373285,
"0"
],
[
1795373300,
"0"
],
[
1795373315,
"0"
],
[
1795373330,
"0"
],
[
1795373345,
"0"
],
[
1795373360,
"0"
],
[
1795373375,
"0"
],
[
1795373390,
"0"
],
[
1795373405,
"0"
],
[
1795373420,
"0"
],
[
1795373435,
"0.05555555555555555"
],
[
1795373450,
"0.12121212121212122"
],
[
1795373465,
"0.12121212121212122"
],
[
1795373480,
"0.07142857142857144"
],
[
1795373495,
"0"
],
[
1795373510,
"0"
],
[
1795373525,
"0"
],
[
1795373540,
"0"
],
[
1795373555,
"0"
],
[
1795373570,
"0"
],
[
1795373585,
"0"
],
[
1795373600,
"0"
],
[
1795373615,
"0"
],
[
1795373630,
"0"
],
[
1795373645,
"0"
],
[
1795373660,
"0"
],
[
1795373675,
"0"
],
[
1795373690,
"0"
],
[
1795373705,
"0"
],
[
1795373720,
"0"
],
[
1795373735,
"0"
],
[
1795373750,
"0"
],
[
1795373765,
"0"
],
[
1795373780,
"0"
],
[
1795373795,
"0"
],
[
1795373810,
"0.025"
],
[
1795373825,
"0.1724137931034483"
],
[
1795373840,
"0.5"
],
[
1795373855,
"1"
],
[
1795373870,
"1"
],
[
1795373885,
"1"
],
[
1795373900,
"1"
],
[
1795373915,
"1"
],
[
1795373930,
"1"
],
[
1795373945,
"1"
],
[
1795373960,
"1"
],
[
1795373975,
"1"
],
[
1795373990,
"0.625"
],
[
1795374005,
"0.23076923076923078"
],
[
1795374020,
"0.07894736842105263"
],
[
1795374035,
"0"
],
[
1795374050,
"0"
],
[
1795374065,
"0"
],
[
1795374080,
"0"
],
[
1795374095,
"0"
],
[
1795374110,
"0"
],
[
1795374125,
"0"
],
[
1795374140,
"0"
],
[
1795374155,
"0"
],
[
1795374170,
"0"
],
[
1795374185,
"0"
],
[
1795374200,
"0"
],
[
1795374215,
"0"
],
[
1795374230,
"0"
],
[
1795374245,
"0"
],
[
1795374260,
"0"
],
[
1795374275,
"0"
],
[
1795374290,
"0"
],
[
1795374305,
"0"
],
[
1795374320,
"0"
],
[
1795374335,
"0"
],
[
1795374350,
"0"
],
[
1795374365,
"0"
],
[
1795374380,
"0"
]
]
}
]
@@ -0,0 +1,345 @@
[
{
"metric": {
"__name__": "messenger:slo_api_error_ratio:rate5m"
},
"values": [
[
1795373135,
"0"
],
[
1795373150,
"0"
],
[
1795373165,
"0"
],
[
1795373180,
"0"
],
[
1795373195,
"0"
],
[
1795373210,
"0"
],
[
1795373225,
"0"
],
[
1795373240,
"0"
],
[
1795373255,
"0"
],
[
1795373270,
"0"
],
[
1795373285,
"0"
],
[
1795373300,
"0"
],
[
1795373315,
"0"
],
[
1795373330,
"0"
],
[
1795373345,
"0"
],
[
1795373360,
"0"
],
[
1795373375,
"0"
],
[
1795373390,
"0"
],
[
1795373405,
"0"
],
[
1795373420,
"0"
],
[
1795373435,
"0.007168458781362007"
],
[
1795373450,
"0.014492753623188406"
],
[
1795373465,
"0.014492753623188406"
],
[
1795373480,
"0.015267175572519083"
],
[
1795373495,
"0.01532567049808429"
],
[
1795373510,
"0.015325670498084292"
],
[
1795373525,
"0.01532567049808429"
],
[
1795373540,
"0.015325670498084292"
],
[
1795373555,
"0.015267175572519083"
],
[
1795373570,
"0.01532567049808429"
],
[
1795373585,
"0.015267175572519085"
],
[
1795373600,
"0.01532567049808429"
],
[
1795373615,
"0.01532567049808429"
],
[
1795373630,
"0.015267175572519083"
],
[
1795373645,
"0.015267175572519083"
],
[
1795373660,
"0.015267175572519083"
],
[
1795373675,
"0.01532567049808429"
],
[
1795373690,
"0.01532567049808429"
],
[
1795373705,
"0.01532567049808429"
],
[
1795373720,
"0.007407407407407408"
],
[
1795373735,
"0"
],
[
1795373750,
"0"
],
[
1795373765,
"0"
],
[
1795373780,
"0"
],
[
1795373795,
"0"
],
[
1795373810,
"0.0035587188612099642"
],
[
1795373825,
"0.018518518518518517"
],
[
1795373840,
"0.03488372093023255"
],
[
1795373855,
"0.048780487804878044"
],
[
1795373870,
"0.06808510638297872"
],
[
1795373885,
"0.0892857142857143"
],
[
1795373900,
"0.11267605633802816"
],
[
1795373915,
"0.135"
],
[
1795373930,
"0.164021164021164"
],
[
1795373945,
"0.19662921348314605"
],
[
1795373960,
"0.23353293413173648"
],
[
1795373975,
"0.2709677419354839"
],
[
1795373990,
"0.302013422818792"
],
[
1795374005,
"0.30405405405405406"
],
[
1795374020,
"0.30405405405405406"
],
[
1795374035,
"0.3040540540540541"
],
[
1795374050,
"0.30201342281879195"
],
[
1795374065,
"0.3020134228187919"
],
[
1795374080,
"0.304054054054054"
],
[
1795374095,
"0.28758169934640526"
],
[
1795374110,
"0.24390243902439024"
],
[
1795374125,
"0.20571428571428568"
],
[
1795374140,
"0.1774193548387097"
],
[
1795374155,
"0.14720812182741116"
],
[
1795374170,
"0.12019230769230771"
],
[
1795374185,
"0.0963302752293578"
],
[
1795374200,
"0.07826086956521738"
],
[
1795374215,
"0.05809128630705394"
],
[
1795374230,
"0.039840637450199196"
],
[
1795374245,
"0.022900763358778626"
],
[
1795374260,
"0.01094890510948905"
],
[
1795374275,
"0"
],
[
1795374290,
"0"
],
[
1795374305,
"0"
],
[
1795374320,
"0"
],
[
1795374335,
"0"
],
[
1795374350,
"0"
],
[
1795374365,
"0"
],
[
1795374380,
"0"
]
]
}
]
@@ -0,0 +1,11 @@
# Результат опыта: MessengerAPIBudgetBurn
| Показатель | Наблюдение |
| --- | --- |
| Длительность короткого / длительного отказа | 15.6 с / 180.4 с |
| Эпизоды firing до первого сбоя / при коротком сбое и после него | 0 / 0 |
| От начала длительного отказа до firing | 147.4 с |
| От запуска зависимости до исчезновения firing | 72.1 с |
Шаг наблюдения — 15 с. Полнота рядов записана в поле coverage.
[Сводка](summary.json) · [Хронология](timeline.json) · [Ряд алерта](alerts.json)
@@ -0,0 +1,355 @@
[
{
"metric": {
"__name__": "up",
"instance": "otel-collector:9464",
"job": "otel-collector"
},
"values": [
[
1795373105,
"1"
],
[
1795373120,
"1"
],
[
1795373135,
"1"
],
[
1795373150,
"1"
],
[
1795373165,
"1"
],
[
1795373180,
"1"
],
[
1795373195,
"1"
],
[
1795373210,
"1"
],
[
1795373225,
"1"
],
[
1795373240,
"1"
],
[
1795373255,
"1"
],
[
1795373270,
"1"
],
[
1795373285,
"1"
],
[
1795373300,
"1"
],
[
1795373315,
"1"
],
[
1795373330,
"1"
],
[
1795373345,
"1"
],
[
1795373360,
"1"
],
[
1795373375,
"1"
],
[
1795373390,
"1"
],
[
1795373405,
"1"
],
[
1795373420,
"1"
],
[
1795373435,
"1"
],
[
1795373450,
"1"
],
[
1795373465,
"1"
],
[
1795373480,
"1"
],
[
1795373495,
"1"
],
[
1795373510,
"1"
],
[
1795373525,
"1"
],
[
1795373540,
"1"
],
[
1795373555,
"1"
],
[
1795373570,
"1"
],
[
1795373585,
"1"
],
[
1795373600,
"1"
],
[
1795373615,
"1"
],
[
1795373630,
"1"
],
[
1795373645,
"1"
],
[
1795373660,
"1"
],
[
1795373675,
"1"
],
[
1795373690,
"1"
],
[
1795373705,
"1"
],
[
1795373720,
"1"
],
[
1795373735,
"1"
],
[
1795373750,
"1"
],
[
1795373765,
"1"
],
[
1795373780,
"1"
],
[
1795373795,
"1"
],
[
1795373810,
"1"
],
[
1795373825,
"1"
],
[
1795373840,
"1"
],
[
1795373855,
"1"
],
[
1795373870,
"1"
],
[
1795373885,
"1"
],
[
1795373900,
"1"
],
[
1795373915,
"1"
],
[
1795373930,
"1"
],
[
1795373945,
"1"
],
[
1795373960,
"1"
],
[
1795373975,
"1"
],
[
1795373990,
"1"
],
[
1795374005,
"1"
],
[
1795374020,
"1"
],
[
1795374035,
"1"
],
[
1795374050,
"1"
],
[
1795374065,
"1"
],
[
1795374080,
"1"
],
[
1795374095,
"1"
],
[
1795374110,
"1"
],
[
1795374125,
"1"
],
[
1795374140,
"1"
],
[
1795374155,
"1"
],
[
1795374170,
"1"
],
[
1795374185,
"1"
],
[
1795374200,
"1"
],
[
1795374215,
"1"
],
[
1795374230,
"1"
],
[
1795374245,
"1"
],
[
1795374260,
"1"
],
[
1795374275,
"1"
],
[
1795374290,
"1"
],
[
1795374305,
"1"
],
[
1795374320,
"1"
],
[
1795374335,
"1"
],
[
1795374350,
"1"
],
[
1795374365,
"1"
],
[
1795374380,
"1"
]
]
}
]
@@ -0,0 +1,48 @@
{
"profile": "api",
"alert": "MessengerAPIBudgetBurn",
"evaluation_step_seconds": 15,
"short_fault_seconds": 15.6,
"long_fault_seconds": 180.4,
"baseline_firing": false,
"short_fault_firing": false,
"baseline_firing_episodes": 0,
"short_fault_firing_episodes": 0,
"long_fault_firing": true,
"first_firing_seconds_after_long_fault": 147.4,
"first_clear_seconds_after_long_restart": 72.1,
"long_first_firing_at": 1795373930,
"long_last_firing_at": 1795374020,
"short_ratio_5m_has_data": true,
"coverage": {
"baseline": {
"steps": 12,
"scraped": 12,
"both_ratios": 12
},
"short": {
"steps": 25,
"scraped": 25,
"both_ratios": 25
},
"long": {
"steps": 40,
"scraped": 40,
"both_ratios": 40
}
},
"probe_statuses": {
"baseline": {
"200": 294
},
"short": {
"503": 4
},
"long": {
"503": 45
},
"recovery": {
"200": 408
}
}
}
@@ -0,0 +1,32 @@
[
{
"stage": "baseline",
"time": 1795373105.1556568,
"utc": "2026-11-22T18:45:05.155657+00:00"
},
{
"stage": "short_down",
"time": 1795373406.4926858,
"utc": "2026-11-22T18:50:06.492686+00:00"
},
{
"stage": "short_start",
"time": 1795373422.0690298,
"utc": "2026-11-22T18:50:22.069030+00:00"
},
{
"stage": "long_down",
"time": 1795373782.5523584,
"utc": "2026-11-22T18:56:22.552358+00:00"
},
{
"stage": "long_start",
"time": 1795373962.9075146,
"utc": "2026-11-22T18:59:22.907515+00:00"
},
{
"stage": "finished",
"time": 1795374382.9158204,
"utc": "2026-11-22T19:06:22.915820+00:00"
}
]
@@ -0,0 +1,36 @@
[
{
"metric": {
"__name__": "ALERTS",
"alertname": "MessengerReadyBudgetBurn",
"alertstate": "firing",
"severity": "warning",
"slo": "ready"
},
"values": [
[
1795377553,
"1"
]
]
},
{
"metric": {
"__name__": "ALERTS",
"alertname": "MessengerReadyBudgetBurn",
"alertstate": "pending",
"severity": "warning",
"slo": "ready"
},
"values": [
[
1795377523,
"1"
],
[
1795377538,
"1"
]
]
}
]
@@ -0,0 +1,255 @@
{"start": 1795376623.7753608, "end": 1795376623.794394, "status": "202"}
{"start": 1795376628.7993047, "end": 1795376628.819309, "status": "202"}
{"start": 1795376633.8336778, "end": 1795376633.8620028, "status": "202"}
{"start": 1795376638.864095, "end": 1795376638.905113, "status": "202"}
{"start": 1795376643.915679, "end": 1795376643.9567206, "status": "202"}
{"start": 1795376648.9605865, "end": 1795376648.9750915, "status": "202"}
{"start": 1795376653.9910517, "end": 1795376654.0174382, "status": "202"}
{"start": 1795376659.024006, "end": 1795376659.0366454, "status": "202"}
{"start": 1795376664.0454648, "end": 1795376664.0737767, "status": "202"}
{"start": 1795376669.08782, "end": 1795376669.121509, "status": "202"}
{"start": 1795376674.135243, "end": 1795376674.1487818, "status": "202"}
{"start": 1795376679.1504657, "end": 1795376679.1911469, "status": "202"}
{"start": 1795376684.201571, "end": 1795376684.2308521, "status": "202"}
{"start": 1795376689.2385852, "end": 1795376689.282017, "status": "202"}
{"start": 1795376694.2894392, "end": 1795376694.332013, "status": "202"}
{"start": 1795376699.34749, "end": 1795376699.3736873, "status": "202"}
{"start": 1795376704.376369, "end": 1795376704.4048827, "status": "202"}
{"start": 1795376709.4066236, "end": 1795376709.4266956, "status": "202"}
{"start": 1795376714.4308338, "end": 1795376714.4733875, "status": "202"}
{"start": 1795376719.4813504, "end": 1795376719.5093489, "status": "202"}
{"start": 1795376724.5155199, "end": 1795376724.5266612, "status": "202"}
{"start": 1795376729.5339801, "end": 1795376729.5617232, "status": "202"}
{"start": 1795376734.5705593, "end": 1795376734.599854, "status": "202"}
{"start": 1795376739.6139235, "end": 1795376739.6429343, "status": "202"}
{"start": 1795376744.6575353, "end": 1795376744.6867251, "status": "202"}
{"start": 1795376749.6887536, "end": 1795376749.7170994, "status": "202"}
{"start": 1795376754.7272923, "end": 1795376754.742277, "status": "202"}
{"start": 1795376759.7459426, "end": 1795376759.7877681, "status": "202"}
{"start": 1795376764.8002627, "end": 1795376764.8415406, "status": "202"}
{"start": 1795376769.8459432, "end": 1795376769.8905082, "status": "202"}
{"start": 1795376774.901675, "end": 1795376774.9446435, "status": "202"}
{"start": 1795376779.9523456, "end": 1795376779.9945955, "status": "202"}
{"start": 1795376784.9992626, "end": 1795376785.0123322, "status": "202"}
{"start": 1795376790.014075, "end": 1795376790.0584505, "status": "202"}
{"start": 1795376795.0604455, "end": 1795376795.0910792, "status": "202"}
{"start": 1795376800.0964944, "end": 1795376800.1389356, "status": "202"}
{"start": 1795376805.1527832, "end": 1795376805.1957872, "status": "202"}
{"start": 1795376810.1967616, "end": 1795376810.2258964, "status": "202"}
{"start": 1795376815.240939, "end": 1795376815.2858562, "status": "202"}
{"start": 1795376820.2928872, "end": 1795376820.3050127, "status": "202"}
{"start": 1795376825.314185, "end": 1795376825.3427024, "status": "202"}
{"start": 1795376830.3467882, "end": 1795376830.3738747, "status": "202"}
{"start": 1795376835.3857548, "end": 1795376835.4266515, "status": "202"}
{"start": 1795376840.4417763, "end": 1795376840.4705963, "status": "202"}
{"start": 1795376845.4842029, "end": 1795376845.5135162, "status": "202"}
{"start": 1795376850.5202935, "end": 1795376850.5476868, "status": "202"}
{"start": 1795376855.5525577, "end": 1795376855.5655575, "status": "202"}
{"start": 1795376860.5660608, "end": 1795376860.592801, "status": "202"}
{"start": 1795376865.5960524, "end": 1795376865.622933, "status": "202"}
{"start": 1795376870.6332037, "end": 1795376870.6779099, "status": "202"}
{"start": 1795376875.6907551, "end": 1795376875.7049422, "status": "202"}
{"start": 1795376880.7074335, "end": 1795376880.7348595, "status": "202"}
{"start": 1795376885.743868, "end": 1795376885.7861907, "status": "202"}
{"start": 1795376890.8008764, "end": 1795376890.8291283, "status": "202"}
{"start": 1795376895.8356843, "end": 1795376895.8636863, "status": "202"}
{"start": 1795376900.8766215, "end": 1795376900.8924446, "status": "202"}
{"start": 1795376905.8998902, "end": 1795376905.914411, "status": "202"}
{"start": 1795376910.9291363, "end": 1795376910.9627752, "status": "202"}
{"start": 1795376915.964981, "end": 1795376916.0070457, "status": "202"}
{"start": 1795376921.009292, "end": 1795376921.0366392, "status": "202"}
{"start": 1795376926.0431511, "end": 1795376926.059483, "status": "202"}
{"start": 1795376931.0647974, "end": 1795376931.094411, "status": "202"}
{"start": 1795376936.10086, "end": 1795376936.1277084, "status": "202"}
{"start": 1795376941.1291537, "end": 1795376941.150669, "status": "202"}
{"start": 1795376946.151548, "end": 1795376946.1802504, "status": "202"}
{"start": 1795376951.192869, "end": 1795376951.2224631, "status": "202"}
{"start": 1795376956.2340155, "end": 1795376956.2633142, "status": "202"}
{"start": 1795376961.2700083, "end": 1795376961.2896547, "status": "202"}
{"start": 1795376966.3011873, "end": 1795376966.3166957, "status": "202"}
{"start": 1795376971.3256102, "end": 1795376971.343861, "status": "202"}
{"start": 1795376976.3516517, "end": 1795376976.3651907, "status": "202"}
{"start": 1795376981.378928, "end": 1795376981.4070349, "status": "202"}
{"start": 1795376986.4133952, "end": 1795376986.4409497, "status": "202"}
{"start": 1795376991.4561255, "end": 1795376991.484598, "status": "202"}
{"start": 1795376996.4853966, "end": 1795376996.4978852, "status": "202"}
{"start": 1795377001.5009193, "end": 1795377001.516151, "status": "202"}
{"start": 1795377006.5255706, "end": 1795377006.551516, "status": "202"}
{"start": 1795377011.5618227, "end": 1795377011.5903704, "status": "202"}
{"start": 1795377016.600562, "end": 1795377016.6141074, "status": "202"}
{"start": 1795377021.6235523, "end": 1795377021.6515188, "status": "202"}
{"start": 1795377026.6615326, "end": 1795377026.6899164, "status": "202"}
{"start": 1795377031.7041438, "end": 1795377031.7201455, "status": "202"}
{"start": 1795377036.731479, "end": 1795377036.7613719, "status": "202"}
{"start": 1795377041.7742157, "end": 1795377041.8030388, "status": "202"}
{"start": 1795377046.8114634, "end": 1795377046.8243508, "status": "202"}
{"start": 1795377051.8338373, "end": 1795377051.8482463, "status": "202"}
{"start": 1795377056.8629613, "end": 1795377056.874961, "status": "202"}
{"start": 1795377061.8836522, "end": 1795377061.9234452, "status": "202"}
{"start": 1795377066.9389431, "end": 1795377066.9507108, "status": "202"}
{"start": 1795377071.9521902, "end": 1795377071.9951475, "status": "202"}
{"start": 1795377076.9968266, "end": 1795377077.0217123, "status": "202"}
{"start": 1795377082.0291576, "end": 1795377082.0441477, "status": "202"}
{"start": 1795377087.053008, "end": 1795377087.0651474, "status": "202"}
{"start": 1795377092.0782237, "end": 1795377092.1073415, "status": "202"}
{"start": 1795377097.1154554, "end": 1795377097.127915, "status": "202"}
{"start": 1795377102.1302738, "end": 1795377102.1721878, "status": "202"}
{"start": 1795377107.1740851, "end": 1795377107.201625, "status": "202"}
{"start": 1795377112.204489, "end": 1795377112.234577, "status": "202"}
{"start": 1795377117.2361429, "end": 1795377117.2634857, "status": "202"}
{"start": 1795377122.2679942, "end": 1795377122.2972014, "status": "202"}
{"start": 1795377127.3005888, "end": 1795377127.31377, "status": "202"}
{"start": 1795377132.3203828, "end": 1795377132.363892, "status": "202"}
{"start": 1795377137.370402, "end": 1795377137.3998976, "status": "202"}
{"start": 1795377142.408609, "end": 1795377142.4348075, "status": "202"}
{"start": 1795377147.4412374, "end": 1795377147.455113, "status": "202"}
{"start": 1795377152.4602888, "end": 1795377152.4808614, "status": "202"}
{"start": 1795377157.4950852, "end": 1795377157.5360405, "status": "202"}
{"start": 1795377162.538923, "end": 1795377162.579713, "status": "202"}
{"start": 1795377167.5831861, "end": 1795377167.6133156, "status": "202"}
{"start": 1795377172.6216972, "end": 1795377172.649634, "status": "202"}
{"start": 1795377177.6582627, "end": 1795377177.6700375, "status": "202"}
{"start": 1795377182.6825075, "end": 1795377182.7135115, "status": "202"}
{"start": 1795377187.725769, "end": 1795377187.7407947, "status": "202"}
{"start": 1795377192.7419434, "end": 1795377192.7567303, "status": "202"}
{"start": 1795377197.7593887, "end": 1795377197.8010962, "status": "202"}
{"start": 1795377202.8024037, "end": 1795377202.816166, "status": "202"}
{"start": 1795377207.8247366, "end": 1795377207.850896, "status": "202"}
{"start": 1795377212.8542132, "end": 1795377212.8845413, "status": "202"}
{"start": 1795377217.885201, "end": 1795377217.9159393, "status": "202"}
{"start": 1795377222.9170175, "end": 1795377222.9308448, "status": "202"}
{"start": 1795377227.9454725, "end": 1795377227.9877665, "status": "202"}
{"start": 1795377232.9964664, "end": 1795377233.039129, "status": "202"}
{"start": 1795377238.0495605, "end": 1795377238.0903673, "status": "202"}
{"start": 1795377243.1028693, "end": 1795377243.1325774, "status": "202"}
{"start": 1795377248.1389592, "end": 1795377248.1682122, "status": "202"}
{"start": 1795377253.1790276, "end": 1795377253.2059245, "status": "202"}
{"start": 1795377258.2066188, "end": 1795377258.2324219, "status": "202"}
{"start": 1795377263.2464552, "end": 1795377263.2872946, "status": "202"}
{"start": 1795377268.2993302, "end": 1795377268.3257637, "status": "202"}
{"start": 1795377273.327634, "end": 1795377273.3456285, "status": "202"}
{"start": 1795377278.3601031, "end": 1795377278.3742182, "status": "202"}
{"start": 1795377283.3825712, "end": 1795377283.3961504, "status": "202"}
{"start": 1795377288.3995674, "end": 1795377288.410562, "status": "202"}
{"start": 1795377293.411553, "end": 1795377293.4251091, "status": "202"}
{"start": 1795377298.428263, "end": 1795377298.4564383, "status": "202"}
{"start": 1795377303.460855, "end": 1795377303.4890707, "status": "202"}
{"start": 1795377308.4939582, "end": 1795377308.5207777, "status": "202"}
{"start": 1795377313.5334249, "end": 1795377313.5616863, "status": "202"}
{"start": 1795377318.5687323, "end": 1795377318.6093678, "status": "202"}
{"start": 1795377323.61783, "end": 1795377323.63183, "status": "202"}
{"start": 1795377328.6438596, "end": 1795377328.6846745, "status": "202"}
{"start": 1795377333.6983526, "end": 1795377333.7098818, "status": "202"}
{"start": 1795377338.710317, "end": 1795377338.735876, "status": "202"}
{"start": 1795377343.7404833, "end": 1795377343.7663686, "status": "202"}
{"start": 1795377348.7713208, "end": 1795377348.7813213, "status": "202"}
{"start": 1795377353.7881544, "end": 1795377353.8156562, "status": "202"}
{"start": 1795377358.8267086, "end": 1795377358.8537085, "status": "202"}
{"start": 1795377363.85534, "end": 1795377363.8993638, "status": "202"}
{"start": 1795377368.9089816, "end": 1795377368.937838, "status": "202"}
{"start": 1795377373.9401672, "end": 1795377373.9536817, "status": "202"}
{"start": 1795377378.965636, "end": 1795377378.991385, "status": "202"}
{"start": 1795377384.0016322, "end": 1795377384.0135972, "status": "202"}
{"start": 1795377389.0191066, "end": 1795377389.0438116, "status": "202"}
{"start": 1795377394.0586648, "end": 1795377394.0850658, "status": "202"}
{"start": 1795377399.0882666, "end": 1795377399.1139917, "status": "202"}
{"start": 1795377404.1199198, "end": 1795377404.1518357, "status": "202"}
{"start": 1795377409.159765, "end": 1795377409.1885233, "status": "202"}
{"start": 1795377414.2033741, "end": 1795377414.2277162, "status": "202"}
{"start": 1795377419.2287946, "end": 1795377419.255049, "status": "202"}
{"start": 1795377424.2655945, "end": 1795377424.2891848, "status": "202"}
{"start": 1795377429.3006198, "end": 1795377429.3156226, "status": "202"}
{"start": 1795377434.3293138, "end": 1795377434.3567977, "status": "202"}
{"start": 1795377439.3714142, "end": 1795377439.3841121, "status": "202"}
{"start": 1795377444.3937132, "end": 1795377444.4339085, "status": "202"}
{"start": 1795377449.4437342, "end": 1795377449.4592516, "status": "202"}
{"start": 1795377454.460538, "end": 1795377454.484641, "status": "202"}
{"start": 1795377459.484672, "end": 1795377459.5258875, "status": "202"}
{"start": 1795377464.5361388, "end": 1795377464.5506053, "status": "202"}
{"start": 1795377469.5623705, "end": 1795377469.5755763, "status": "202"}
{"start": 1795377474.5857158, "end": 1795377474.6256437, "status": "202"}
{"start": 1795377479.632569, "end": 1795377479.6436632, "status": "202"}
{"start": 1795377484.6482, "end": 1795377484.680783, "status": "202"}
{"start": 1795377489.6911883, "end": 1795377489.73382, "status": "202"}
{"start": 1795377494.7367418, "end": 1795377494.777939, "status": "202"}
{"start": 1795377499.7793899, "end": 1795377499.819901, "status": "202"}
{"start": 1795377504.8216166, "end": 1795377504.8352182, "status": "202"}
{"start": 1795377509.84398, "end": 1795377509.8745, "status": "202"}
{"start": 1795377514.8773203, "end": 1795377514.9221623, "status": "202"}
{"start": 1795377519.9246116, "end": 1795377519.9537597, "status": "202"}
{"start": 1795377524.9568603, "end": 1795377524.9825025, "status": "202"}
{"start": 1795377529.9897046, "end": 1795377530.0305233, "status": "202"}
{"start": 1795377535.0362566, "end": 1795377535.064405, "status": "202"}
{"start": 1795377540.0724978, "end": 1795377540.1017063, "status": "202"}
{"start": 1795377545.1035395, "end": 1795377545.1170301, "status": "202"}
{"start": 1795377550.1223662, "end": 1795377550.1477594, "status": "202"}
{"start": 1795377555.1611514, "end": 1795377555.191375, "status": "202"}
{"start": 1795377560.1916292, "end": 1795377560.2059593, "status": "202"}
{"start": 1795377565.2067266, "end": 1795377565.21874, "status": "202"}
{"start": 1795377570.2323754, "end": 1795377570.2435086, "status": "202"}
{"start": 1795377575.2486384, "end": 1795377575.2889001, "status": "202"}
{"start": 1795377580.3026235, "end": 1795377580.314161, "status": "202"}
{"start": 1795377585.315338, "end": 1795377585.3426178, "status": "202"}
{"start": 1795377590.3565955, "end": 1795377590.3817506, "status": "202"}
{"start": 1795377595.3847988, "end": 1795377595.4138134, "status": "202"}
{"start": 1795377600.4156997, "end": 1795377600.4318044, "status": "202"}
{"start": 1795377605.4385045, "end": 1795377605.450498, "status": "202"}
{"start": 1795377610.4623115, "end": 1795377610.4754775, "status": "202"}
{"start": 1795377615.4867864, "end": 1795377615.5281227, "status": "202"}
{"start": 1795377620.534786, "end": 1795377620.5760012, "status": "202"}
{"start": 1795377625.581675, "end": 1795377625.6079454, "status": "202"}
{"start": 1795377630.6092708, "end": 1795377630.6213312, "status": "202"}
{"start": 1795377635.6285212, "end": 1795377635.6561973, "status": "202"}
{"start": 1795377640.6577883, "end": 1795377640.6853416, "status": "202"}
{"start": 1795377645.698311, "end": 1795377645.7095845, "status": "202"}
{"start": 1795377650.7241538, "end": 1795377650.764452, "status": "202"}
{"start": 1795377655.7706656, "end": 1795377655.7956262, "status": "202"}
{"start": 1795377660.7975311, "end": 1795377660.8379614, "status": "202"}
{"start": 1795377665.8517435, "end": 1795377665.8733644, "status": "202"}
{"start": 1795377670.87787, "end": 1795377670.9020917, "status": "202"}
{"start": 1795377675.9029477, "end": 1795377675.9159517, "status": "202"}
{"start": 1795377680.9204278, "end": 1795377680.9445624, "status": "202"}
{"start": 1795377685.9587793, "end": 1795377685.998962, "status": "202"}
{"start": 1795377691.0077274, "end": 1795377691.0197294, "status": "202"}
{"start": 1795377696.0310621, "end": 1795377696.0420203, "status": "202"}
{"start": 1795377701.0470748, "end": 1795377701.0880063, "status": "202"}
{"start": 1795377706.0888226, "end": 1795377706.1284764, "status": "202"}
{"start": 1795377711.1330044, "end": 1795377711.1575253, "status": "202"}
{"start": 1795377716.1643867, "end": 1795377716.1748962, "status": "202"}
{"start": 1795377721.1887589, "end": 1795377721.2300096, "status": "202"}
{"start": 1795377726.2366686, "end": 1795377726.2486901, "status": "202"}
{"start": 1795377731.2604697, "end": 1795377731.3017907, "status": "202"}
{"start": 1795377736.3069658, "end": 1795377736.338534, "status": "202"}
{"start": 1795377741.350491, "end": 1795377741.3931756, "status": "202"}
{"start": 1795377746.394088, "end": 1795377746.4062297, "status": "202"}
{"start": 1795377751.4194982, "end": 1795377751.4335008, "status": "202"}
{"start": 1795377756.4372609, "end": 1795377756.4642217, "status": "202"}
{"start": 1795377761.4655006, "end": 1795377761.5063996, "status": "202"}
{"start": 1795377766.5212395, "end": 1795377766.5332403, "status": "202"}
{"start": 1795377771.5343556, "end": 1795377771.553668, "status": "202"}
{"start": 1795377776.5677407, "end": 1795377776.6079993, "status": "202"}
{"start": 1795377781.6130025, "end": 1795377781.624005, "status": "202"}
{"start": 1795377786.6299944, "end": 1795377786.6441374, "status": "202"}
{"start": 1795377791.6589737, "end": 1795377791.6846046, "status": "202"}
{"start": 1795377796.6987574, "end": 1795377796.7417698, "status": "202"}
{"start": 1795377801.745505, "end": 1795377801.7612276, "status": "202"}
{"start": 1795377806.7622986, "end": 1795377806.7879891, "status": "202"}
{"start": 1795377811.789499, "end": 1795377811.8034995, "status": "202"}
{"start": 1795377816.8184023, "end": 1795377816.8299994, "status": "202"}
{"start": 1795377821.8441358, "end": 1795377821.859412, "status": "202"}
{"start": 1795377826.8630388, "end": 1795377826.8770497, "status": "202"}
{"start": 1795377831.888244, "end": 1795377831.9166098, "status": "202"}
{"start": 1795377836.9276607, "end": 1795377836.939661, "status": "202"}
{"start": 1795377841.9444225, "end": 1795377841.9837215, "status": "202"}
{"start": 1795377846.9893591, "end": 1795377847.016605, "status": "202"}
{"start": 1795377852.024803, "end": 1795377852.0656762, "status": "202"}
{"start": 1795377857.0663419, "end": 1795377857.0807316, "status": "202"}
{"start": 1795377862.0901313, "end": 1795377862.130884, "status": "202"}
{"start": 1795377867.1342306, "end": 1795377867.1467698, "status": "202"}
{"start": 1795377872.15942, "end": 1795377872.1755352, "status": "202"}
{"start": 1795377877.1778352, "end": 1795377877.1902769, "status": "202"}
{"start": 1795377882.1931603, "end": 1795377882.2038314, "status": "202"}
{"start": 1795377887.2094984, "end": 1795377887.2531824, "status": "202"}
{"start": 1795377892.2667592, "end": 1795377892.2945373, "status": "202"}
{"start": 1795377897.2970126, "end": 1795377897.3120444, "status": "202"}
{"start": 1795377902.3142285, "end": 1795377902.3443182, "status": "202"}
@@ -0,0 +1,357 @@
[
{
"metric": {
"__name__": "rabbitmq_detailed_queue_messages_ready",
"instance": "rabbitmq:15692",
"job": "rabbitmq",
"queue": "attachments.process",
"vhost": "/"
},
"values": [
[
1795376623,
"0"
],
[
1795376638,
"0"
],
[
1795376653,
"0"
],
[
1795376668,
"0"
],
[
1795376683,
"0"
],
[
1795376698,
"0"
],
[
1795376713,
"0"
],
[
1795376728,
"0"
],
[
1795376743,
"0"
],
[
1795376758,
"0"
],
[
1795376773,
"0"
],
[
1795376788,
"0"
],
[
1795376803,
"0"
],
[
1795376818,
"0"
],
[
1795376833,
"0"
],
[
1795376848,
"0"
],
[
1795376863,
"0"
],
[
1795376878,
"0"
],
[
1795376893,
"0"
],
[
1795376908,
"0"
],
[
1795376923,
"0"
],
[
1795376938,
"0"
],
[
1795376953,
"3"
],
[
1795376968,
"0"
],
[
1795376983,
"0"
],
[
1795376998,
"0"
],
[
1795377013,
"0"
],
[
1795377028,
"0"
],
[
1795377043,
"0"
],
[
1795377058,
"0"
],
[
1795377073,
"0"
],
[
1795377088,
"0"
],
[
1795377103,
"0"
],
[
1795377118,
"0"
],
[
1795377133,
"0"
],
[
1795377148,
"0"
],
[
1795377163,
"0"
],
[
1795377178,
"0"
],
[
1795377193,
"0"
],
[
1795377208,
"0"
],
[
1795377223,
"0"
],
[
1795377238,
"0"
],
[
1795377253,
"0"
],
[
1795377268,
"0"
],
[
1795377283,
"0"
],
[
1795377298,
"0"
],
[
1795377313,
"0"
],
[
1795377328,
"3"
],
[
1795377343,
"6"
],
[
1795377358,
"10"
],
[
1795377373,
"12"
],
[
1795377388,
"16"
],
[
1795377403,
"19"
],
[
1795377418,
"23"
],
[
1795377433,
"23"
],
[
1795377448,
"26"
],
[
1795377463,
"28"
],
[
1795377478,
"32"
],
[
1795377493,
"35"
],
[
1795377508,
"0"
],
[
1795377523,
"0"
],
[
1795377538,
"0"
],
[
1795377553,
"0"
],
[
1795377568,
"0"
],
[
1795377583,
"0"
],
[
1795377598,
"0"
],
[
1795377613,
"0"
],
[
1795377628,
"0"
],
[
1795377643,
"0"
],
[
1795377658,
"0"
],
[
1795377673,
"0"
],
[
1795377688,
"0"
],
[
1795377703,
"0"
],
[
1795377718,
"0"
],
[
1795377733,
"0"
],
[
1795377748,
"0"
],
[
1795377763,
"0"
],
[
1795377778,
"0"
],
[
1795377793,
"0"
],
[
1795377808,
"0"
],
[
1795377823,
"0"
],
[
1795377838,
"0"
],
[
1795377853,
"0"
],
[
1795377868,
"0"
],
[
1795377883,
"0"
],
[
1795377898,
"0"
]
]
}
]
@@ -0,0 +1,357 @@
[
{
"metric": {
"__name__": "rabbitmq_detailed_queue_messages_unacked",
"instance": "rabbitmq:15692",
"job": "rabbitmq",
"queue": "attachments.process",
"vhost": "/"
},
"values": [
[
1795376623,
"0"
],
[
1795376638,
"0"
],
[
1795376653,
"0"
],
[
1795376668,
"0"
],
[
1795376683,
"0"
],
[
1795376698,
"0"
],
[
1795376713,
"0"
],
[
1795376728,
"0"
],
[
1795376743,
"1"
],
[
1795376758,
"0"
],
[
1795376773,
"0"
],
[
1795376788,
"0"
],
[
1795376803,
"0"
],
[
1795376818,
"1"
],
[
1795376833,
"0"
],
[
1795376848,
"0"
],
[
1795376863,
"0"
],
[
1795376878,
"0"
],
[
1795376893,
"0"
],
[
1795376908,
"0"
],
[
1795376923,
"1"
],
[
1795376938,
"1"
],
[
1795376953,
"0"
],
[
1795376968,
"0"
],
[
1795376983,
"0"
],
[
1795376998,
"0"
],
[
1795377013,
"0"
],
[
1795377028,
"0"
],
[
1795377043,
"0"
],
[
1795377058,
"0"
],
[
1795377073,
"0"
],
[
1795377088,
"0"
],
[
1795377103,
"0"
],
[
1795377118,
"0"
],
[
1795377133,
"0"
],
[
1795377148,
"0"
],
[
1795377163,
"0"
],
[
1795377178,
"0"
],
[
1795377193,
"1"
],
[
1795377208,
"0"
],
[
1795377223,
"0"
],
[
1795377238,
"0"
],
[
1795377253,
"0"
],
[
1795377268,
"0"
],
[
1795377283,
"0"
],
[
1795377298,
"1"
],
[
1795377313,
"0"
],
[
1795377328,
"0"
],
[
1795377343,
"0"
],
[
1795377358,
"0"
],
[
1795377373,
"0"
],
[
1795377388,
"0"
],
[
1795377403,
"0"
],
[
1795377418,
"0"
],
[
1795377433,
"0"
],
[
1795377448,
"0"
],
[
1795377463,
"0"
],
[
1795377478,
"0"
],
[
1795377493,
"0"
],
[
1795377508,
"0"
],
[
1795377523,
"0"
],
[
1795377538,
"1"
],
[
1795377553,
"0"
],
[
1795377568,
"0"
],
[
1795377583,
"0"
],
[
1795377598,
"0"
],
[
1795377613,
"0"
],
[
1795377628,
"1"
],
[
1795377643,
"0"
],
[
1795377658,
"1"
],
[
1795377673,
"0"
],
[
1795377688,
"0"
],
[
1795377703,
"0"
],
[
1795377718,
"0"
],
[
1795377733,
"0"
],
[
1795377748,
"0"
],
[
1795377763,
"0"
],
[
1795377778,
"0"
],
[
1795377793,
"0"
],
[
1795377808,
"0"
],
[
1795377823,
"0"
],
[
1795377838,
"0"
],
[
1795377853,
"0"
],
[
1795377868,
"0"
],
[
1795377883,
"0"
],
[
1795377898,
"0"
]
]
}
]
@@ -0,0 +1,305 @@
[
{
"metric": {
"__name__": "messenger:slo_ready_error_ratio:rate1m"
},
"values": [
[
1795376653,
"0"
],
[
1795376668,
"0"
],
[
1795376683,
"0"
],
[
1795376698,
"0"
],
[
1795376713,
"0"
],
[
1795376728,
"0"
],
[
1795376743,
"0"
],
[
1795376758,
"0"
],
[
1795376773,
"0"
],
[
1795376788,
"0"
],
[
1795376803,
"0"
],
[
1795376818,
"0"
],
[
1795376833,
"0"
],
[
1795376848,
"0"
],
[
1795376863,
"0"
],
[
1795376878,
"0"
],
[
1795376893,
"0"
],
[
1795376908,
"0"
],
[
1795376923,
"0"
],
[
1795376938,
"0"
],
[
1795376953,
"0"
],
[
1795376968,
"0"
],
[
1795376983,
"0"
],
[
1795376998,
"0"
],
[
1795377013,
"0"
],
[
1795377028,
"0"
],
[
1795377043,
"0"
],
[
1795377058,
"0"
],
[
1795377073,
"0"
],
[
1795377088,
"0"
],
[
1795377103,
"0"
],
[
1795377118,
"0"
],
[
1795377133,
"0"
],
[
1795377148,
"0"
],
[
1795377163,
"0"
],
[
1795377178,
"0"
],
[
1795377193,
"0"
],
[
1795377208,
"0"
],
[
1795377223,
"0"
],
[
1795377238,
"0"
],
[
1795377253,
"0"
],
[
1795377268,
"0"
],
[
1795377283,
"0"
],
[
1795377298,
"0"
],
[
1795377313,
"0"
],
[
1795377328,
"0"
],
[
1795377343,
"0"
],
[
1795377358,
"0"
],
[
1795377523,
"0.7749999999999999"
],
[
1795377538,
"0.7209302325581395"
],
[
1795377553,
"0.7209302325581395"
],
[
1795377568,
"0"
],
[
1795377583,
"0"
],
[
1795377598,
"0"
],
[
1795377613,
"0"
],
[
1795377628,
"0"
],
[
1795377643,
"0"
],
[
1795377658,
"0"
],
[
1795377673,
"0"
],
[
1795377688,
"0"
],
[
1795377703,
"0"
],
[
1795377718,
"0"
],
[
1795377733,
"0"
],
[
1795377748,
"0"
],
[
1795377763,
"0"
],
[
1795377778,
"0"
],
[
1795377793,
"0"
],
[
1795377808,
"0"
],
[
1795377823,
"0"
],
[
1795377838,
"0"
],
[
1795377853,
"0"
],
[
1795377868,
"0"
],
[
1795377883,
"0"
],
[
1795377898,
"0"
]
]
}
]
@@ -0,0 +1,345 @@
[
{
"metric": {
"__name__": "messenger:slo_ready_error_ratio:rate5m"
},
"values": [
[
1795376653,
"0"
],
[
1795376668,
"0"
],
[
1795376683,
"0"
],
[
1795376698,
"0"
],
[
1795376713,
"0"
],
[
1795376728,
"0"
],
[
1795376743,
"0"
],
[
1795376758,
"0"
],
[
1795376773,
"0"
],
[
1795376788,
"0"
],
[
1795376803,
"0"
],
[
1795376818,
"0"
],
[
1795376833,
"0"
],
[
1795376848,
"0"
],
[
1795376863,
"0"
],
[
1795376878,
"0"
],
[
1795376893,
"0"
],
[
1795376908,
"0"
],
[
1795376923,
"0"
],
[
1795376938,
"0"
],
[
1795376953,
"0"
],
[
1795376968,
"0"
],
[
1795376983,
"0"
],
[
1795376998,
"0"
],
[
1795377013,
"0"
],
[
1795377028,
"0"
],
[
1795377043,
"0"
],
[
1795377058,
"0"
],
[
1795377073,
"0"
],
[
1795377088,
"0"
],
[
1795377103,
"0"
],
[
1795377118,
"0"
],
[
1795377133,
"0"
],
[
1795377148,
"0"
],
[
1795377163,
"0"
],
[
1795377178,
"0"
],
[
1795377193,
"0"
],
[
1795377208,
"0"
],
[
1795377223,
"0"
],
[
1795377238,
"0"
],
[
1795377253,
"0"
],
[
1795377268,
"0"
],
[
1795377283,
"0"
],
[
1795377298,
"0"
],
[
1795377313,
"0"
],
[
1795377328,
"0"
],
[
1795377343,
"0"
],
[
1795377358,
"0"
],
[
1795377373,
"0"
],
[
1795377388,
"0"
],
[
1795377403,
"0"
],
[
1795377418,
"0"
],
[
1795377433,
"0"
],
[
1795377448,
"0"
],
[
1795377463,
"0"
],
[
1795377478,
"0"
],
[
1795377493,
"0"
],
[
1795377508,
"0"
],
[
1795377523,
"0.5254237288135594"
],
[
1795377538,
"0.5254237288135594"
],
[
1795377553,
"0.5535714285714286"
],
[
1795377568,
"0.5636363636363636"
],
[
1795377583,
"0.5636363636363637"
],
[
1795377598,
"0.5535714285714286"
],
[
1795377613,
"0.5535714285714286"
],
[
1795377628,
"0.5254237288135594"
],
[
1795377643,
"0.4920634920634921"
],
[
1795377658,
"0.4696969696969697"
],
[
1795377673,
"0.4696969696969697"
],
[
1795377688,
"0.4305555555555556"
],
[
1795377703,
"0.4078947368421052"
],
[
1795377718,
"0.4078947368421052"
],
[
1795377733,
"0.3924050632911392"
],
[
1795377748,
"0.378048780487805"
],
[
1795377763,
"0.36046511627906974"
],
[
1795377778,
"0.348314606741573"
],
[
1795377793,
"0.3369565217391305"
],
[
1795377808,
"0"
],
[
1795377823,
"0"
],
[
1795377838,
"0"
],
[
1795377853,
"0"
],
[
1795377868,
"0"
],
[
1795377883,
"0"
],
[
1795377898,
"0"
]
]
}
]
@@ -0,0 +1,11 @@
# Результат опыта: MessengerReadyBudgetBurn
| Показатель | Наблюдение |
| --- | --- |
| Длительность короткого / длительного отказа | 17.0 с / 181.7 с |
| Эпизоды firing до первого сбоя / при коротком сбое и после него | 0 / 0 |
| От начала длительного отказа до firing | 251.0 с |
| От запуска зависимости до исчезновения firing | 84.3 с |
Шаг наблюдения — 15 с. Полнота рядов записана в поле coverage.
[Сводка](summary.json) · [Хронология](timeline.json) · [Ряд алерта](alerts.json)
@@ -0,0 +1,355 @@
[
{
"metric": {
"__name__": "up",
"instance": "otel-collector:9464",
"job": "otel-collector"
},
"values": [
[
1795376623,
"1"
],
[
1795376638,
"1"
],
[
1795376653,
"1"
],
[
1795376668,
"1"
],
[
1795376683,
"1"
],
[
1795376698,
"1"
],
[
1795376713,
"1"
],
[
1795376728,
"1"
],
[
1795376743,
"1"
],
[
1795376758,
"1"
],
[
1795376773,
"1"
],
[
1795376788,
"1"
],
[
1795376803,
"1"
],
[
1795376818,
"1"
],
[
1795376833,
"1"
],
[
1795376848,
"1"
],
[
1795376863,
"1"
],
[
1795376878,
"1"
],
[
1795376893,
"1"
],
[
1795376908,
"1"
],
[
1795376923,
"1"
],
[
1795376938,
"1"
],
[
1795376953,
"1"
],
[
1795376968,
"1"
],
[
1795376983,
"1"
],
[
1795376998,
"1"
],
[
1795377013,
"1"
],
[
1795377028,
"1"
],
[
1795377043,
"1"
],
[
1795377058,
"1"
],
[
1795377073,
"1"
],
[
1795377088,
"1"
],
[
1795377103,
"1"
],
[
1795377118,
"1"
],
[
1795377133,
"1"
],
[
1795377148,
"1"
],
[
1795377163,
"1"
],
[
1795377178,
"1"
],
[
1795377193,
"1"
],
[
1795377208,
"1"
],
[
1795377223,
"1"
],
[
1795377238,
"1"
],
[
1795377253,
"1"
],
[
1795377268,
"1"
],
[
1795377283,
"1"
],
[
1795377298,
"1"
],
[
1795377313,
"1"
],
[
1795377328,
"1"
],
[
1795377343,
"1"
],
[
1795377358,
"1"
],
[
1795377373,
"1"
],
[
1795377388,
"1"
],
[
1795377403,
"1"
],
[
1795377418,
"1"
],
[
1795377433,
"1"
],
[
1795377448,
"1"
],
[
1795377463,
"1"
],
[
1795377478,
"1"
],
[
1795377493,
"1"
],
[
1795377508,
"1"
],
[
1795377523,
"1"
],
[
1795377538,
"1"
],
[
1795377553,
"1"
],
[
1795377568,
"1"
],
[
1795377583,
"1"
],
[
1795377598,
"1"
],
[
1795377613,
"1"
],
[
1795377628,
"1"
],
[
1795377643,
"1"
],
[
1795377658,
"1"
],
[
1795377673,
"1"
],
[
1795377688,
"1"
],
[
1795377703,
"1"
],
[
1795377718,
"1"
],
[
1795377733,
"1"
],
[
1795377748,
"1"
],
[
1795377763,
"1"
],
[
1795377778,
"1"
],
[
1795377793,
"1"
],
[
1795377808,
"1"
],
[
1795377823,
"1"
],
[
1795377838,
"1"
],
[
1795377853,
"1"
],
[
1795377868,
"1"
],
[
1795377883,
"1"
],
[
1795377898,
"1"
]
]
}
]
@@ -0,0 +1,48 @@
{
"profile": "ready",
"alert": "MessengerReadyBudgetBurn",
"evaluation_step_seconds": 15,
"short_fault_seconds": 17.0,
"long_fault_seconds": 181.7,
"baseline_firing": false,
"short_fault_firing": false,
"baseline_firing_episodes": 0,
"short_fault_firing_episodes": 0,
"long_fault_firing": true,
"first_firing_seconds_after_long_fault": 251.0,
"first_clear_seconds_after_long_restart": 84.3,
"long_first_firing_at": 1795377553,
"long_last_firing_at": 1795377553,
"short_ratio_5m_has_data": true,
"coverage": {
"baseline": {
"steps": 12,
"scraped": 12,
"both_ratios": 12
},
"short": {
"steps": 25,
"scraped": 25,
"both_ratios": 25
},
"long": {
"steps": 40,
"scraped": 40,
"both_ratios": 30
}
},
"probe_statuses": {
"baseline": {
"202": 60
},
"short": {
"202": 4
},
"long": {
"202": 36
},
"recovery": {
"202": 84
}
}
}
@@ -0,0 +1,32 @@
[
{
"stage": "baseline",
"time": 1795376623.7753608,
"utc": "2026-11-22T19:43:43.775361+00:00"
},
{
"stage": "short_down",
"time": 1795376924.655271,
"utc": "2026-11-22T19:48:44.655271+00:00"
},
{
"stage": "short_start",
"time": 1795376941.7031593,
"utc": "2026-11-22T19:49:01.703159+00:00"
},
{
"stage": "long_down",
"time": 1795377302.045916,
"utc": "2026-11-22T19:55:02.045916+00:00"
},
{
"stage": "long_start",
"time": 1795377483.7466056,
"utc": "2026-11-22T19:58:03.746606+00:00"
},
{
"stage": "finished",
"time": 1795377903.7566028,
"utc": "2026-11-22T20:05:03.756603+00:00"
}
]
+30
View File
@@ -0,0 +1,30 @@
[
{
"scenario": "api — короткий всплеск",
"signal_duration_seconds": 15,
"firing_episodes": 0,
"detection_seconds": null,
"recovery_seconds": null
},
{
"scenario": "api — деградация и восстановление",
"signal_duration_seconds": 240,
"firing_episodes": 1,
"detection_seconds": 90,
"recovery_seconds": 45
},
{
"scenario": "ready — короткий всплеск",
"signal_duration_seconds": 15,
"firing_episodes": 0,
"detection_seconds": null,
"recovery_seconds": null
},
{
"scenario": "ready — деградация и восстановление",
"signal_duration_seconds": 240,
"firing_episodes": 1,
"detection_seconds": 120,
"recovery_seconds": 45
}
]
+911
View File
@@ -0,0 +1,911 @@
{
"uid": "messenger",
"title": "Мессенджер - наблюдаемость",
"schemaVersion": 39,
"version": 2,
"refresh": "30s",
"timezone": "browser",
"time": {
"from": "now-30m",
"to": "now"
},
"panels": [
{
"id": 1,
"type": "timeseries",
"title": "RPS к API",
"description": "Суммарная частота запросов к бизнес-маршрутам всех реплик.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 0,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "reqps",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(rate(http_requests_total{service_name=\"messenger-api\",http_route=~\"/api/.*\"}[$__rate_interval]))",
"legendFormat": "Запросы",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 2,
"type": "timeseries",
"title": "Доля ошибок 5xx API",
"description": "Ответы 5xx среди запросов к бизнес-маршрутам. При отсутствии трафика доля не определена.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 0,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "percent",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
},
"max": 100
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "100 * (sum(rate(http_requests_total{service_name=\"messenger-api\",http_route=~\"/api/.*\",http_response_status_class=\"5xx\"}[$__rate_interval])) or (0 * sum(rate(http_requests_total{service_name=\"messenger-api\",http_route=~\"/api/.*\"}[$__rate_interval])))) / (sum(rate(http_requests_total{service_name=\"messenger-api\",http_route=~\"/api/.*\"}[$__rate_interval])) > 0)",
"legendFormat": "Ошибки 5xx",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 3,
"type": "timeseries",
"title": "Задержка API - p50, p95, p99",
"description": "Перцентили длительности запросов по объединённым бакетам всех реплик.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 8,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "s",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.5, sum by (le) (rate(http_request_duration_seconds_bucket{service_name=\"messenger-api\",http_route=~\"/api/.*\"}[$__rate_interval])))",
"legendFormat": "p50",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "B",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.95, sum by (le) (rate(http_request_duration_seconds_bucket{service_name=\"messenger-api\",http_route=~\"/api/.*\"}[$__rate_interval])))",
"legendFormat": "p95",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "C",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.99, sum by (le) (rate(http_request_duration_seconds_bucket{service_name=\"messenger-api\",http_route=~\"/api/.*\"}[$__rate_interval])))",
"legendFormat": "p99",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 4,
"type": "timeseries",
"title": "Глубина очереди RabbitMQ",
"description": "Ожидающие доставки и доставленные без подтверждения задания RabbitMQ.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 8,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "short",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "rabbitmq_detailed_queue_messages{job=\"rabbitmq\",vhost=\"/\",queue=\"attachments.process\"}",
"legendFormat": "Всего",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "B",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "rabbitmq_detailed_queue_messages_ready{job=\"rabbitmq\",vhost=\"/\",queue=\"attachments.process\"}",
"legendFormat": "Ожидают",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "C",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "rabbitmq_detailed_queue_messages_unacked{job=\"rabbitmq\",vhost=\"/\",queue=\"attachments.process\"}",
"legendFormat": "Без подтверждения",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 5,
"type": "timeseries",
"title": "Возраст первого задания в очереди",
"description": "Время с отправки первого ожидающего сообщения. У сообщений, отправленных до добавления timestamp, возраст отсутствует.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 16,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "s",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "clamp_min(time() - (rabbitmq_detailed_queue_head_message_timestamp{job=\"rabbitmq\",vhost=\"/\",queue=\"attachments.process\"} > 0), 0)",
"legendFormat": "Возраст",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 6,
"type": "timeseries",
"title": "Доступность потребителей RabbitMQ",
"description": "Доля времени, когда RabbitMQ мог сразу передать сообщение потребителю.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 16,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "percent",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
},
"max": 100
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "100 * rabbitmq_detailed_queue_consumer_capacity{job=\"rabbitmq\",vhost=\"/\",queue=\"attachments.process\"}",
"legendFormat": "Доступность",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 7,
"type": "timeseries",
"title": "Пулы PostgreSQL - занято, свободно, лимит",
"description": "Занятые и свободные соединения и лимит каждого пула.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 24,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "short",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "db_pool_connections{state=\"used\"}",
"legendFormat": "Занято · {{service_name}} / {{service_instance_id}}",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "B",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "db_pool_connections{state=\"idle\"}",
"legendFormat": "Свободно · {{service_name}} / {{service_instance_id}}",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "C",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "db_pool_connections{state=\"max\"}",
"legendFormat": "Лимит · {{service_name}} / {{service_instance_id}}",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 8,
"type": "timeseries",
"title": "Ожидание соединений PostgreSQL",
"description": "Количество незавершённых попыток получить соединение по экземплярам.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 24,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "short",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "db_pool_waiting",
"legendFormat": "{{service_name}} / {{service_instance_id}}",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 9,
"type": "timeseries",
"title": "Исходы попыток обработки",
"description": "Частота завершённых попыток по исходам.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 32,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "ops",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(rate(jobs_processed_total{outcome=\"ready\"}[$__rate_interval]))",
"legendFormat": "Готово",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "B",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(rate(jobs_processed_total{outcome=\"failed\"}[$__rate_interval]))",
"legendFormat": "Окончательный отказ",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "C",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(rate(jobs_processed_total{outcome=\"retry\"}[$__rate_interval]))",
"legendFormat": "Повтор",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "D",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(rate(jobs_processed_total{outcome=\"error\"}[$__rate_interval]))",
"legendFormat": "Ошибка",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "E",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(rate(jobs_processed_total{outcome=\"skipped\"}[$__rate_interval]))",
"legendFormat": "Пропущено",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 10,
"type": "timeseries",
"title": "Длительность обработки - p50, p95, p99",
"description": "Перцентили длительности попыток обработки вложений.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 12,
"y": 32,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "s",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.5, sum by (le) (rate(job_processing_duration_seconds_bucket[$__rate_interval])))",
"legendFormat": "p50",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "B",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.95, sum by (le) (rate(job_processing_duration_seconds_bucket[$__rate_interval])))",
"legendFormat": "p95",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "C",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.99, sum by (le) (rate(job_processing_duration_seconds_bucket[$__rate_interval])))",
"legendFormat": "p99",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 11,
"type": "timeseries",
"title": "Время до готовности - p50, p95, p99",
"description": "Перцентили времени от приёма вложения до фиксации статуса готовности.",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 40,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"unit": "s",
"min": 0,
"color": {
"mode": "palette-classic"
},
"custom": {
"fillOpacity": 12,
"lineWidth": 2,
"showPoints": "never"
}
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
},
"targets": [
{
"refId": "A",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.5, sum by (le) (rate(end_to_end_ready_seconds_bucket[$__rate_interval])))",
"legendFormat": "p50",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "B",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.95, sum by (le) (rate(end_to_end_ready_seconds_bucket[$__rate_interval])))",
"legendFormat": "p95",
"range": true,
"instant": false,
"editorMode": "code"
},
{
"refId": "C",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"expr": "histogram_quantile(0.99, sum by (le) (rate(end_to_end_ready_seconds_bucket[$__rate_interval])))",
"legendFormat": "p99",
"range": true,
"instant": false,
"editorMode": "code"
}
]
},
{
"id": 12,
"title": "Сбор метрик Prometheus",
"type": "stat",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "Текущее состояние опроса Collector и RabbitMQ. При доступном Collector данные API и worker зависят от отправки OTLP приложением.",
"gridPos": {
"x": 12,
"y": 40,
"h": 8,
"w": 12
},
"targets": [
{
"refId": "A",
"expr": "up{job=\"otel-collector\"}",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"legendFormat": "OTel Collector",
"instant": true,
"range": false,
"editorMode": "code"
},
{
"refId": "B",
"expr": "up{job=\"rabbitmq\"}",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"legendFormat": "RabbitMQ",
"instant": true,
"range": false,
"editorMode": "code"
}
],
"fieldConfig": {
"defaults": {
"mappings": [
{
"type": "value",
"options": {
"0": {
"text": "Ошибка сбора",
"color": "red",
"index": 0
},
"1": {
"text": "Доступен",
"color": "green",
"index": 1
}
}
}
]
},
"overrides": []
},
"options": {
"graphMode": "none",
"colorMode": "value",
"textMode": "value_and_name",
"reduceOptions": {
"calcs": [
"lastNotNull"
]
}
}
},
{
"type": "timeseries",
"title": "Слоты worker — занято и всего",
"id": 13,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 48
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"unit": "short",
"min": 0
},
"overrides": []
},
"targets": [
{
"refId": "A",
"expr": "worker_busy_slots",
"legendFormat": "Занято · {{service_instance_id}}"
},
{
"refId": "B",
"expr": "worker_capacity_slots",
"legendFormat": "Всего · {{service_instance_id}}"
}
]
},
{
"type": "timeseries",
"title": "CPU процессов",
"id": 14,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 48
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"unit": "cores",
"min": 0
},
"overrides": []
},
"targets": [
{
"refId": "A",
"expr": "rate(process_cpu_seconds_total[$__rate_interval])",
"legendFormat": "{{service_name}} / {{service_instance_id}}"
}
]
},
{
"type": "timeseries",
"title": "Резидентная память процессов",
"id": 15,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 56
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"unit": "bytes",
"min": 0
},
"overrides": []
},
"targets": [
{
"refId": "A",
"expr": "process_resident_memory_bytes",
"legendFormat": "{{service_name}} / {{service_instance_id}}"
}
]
}
]
}
@@ -0,0 +1,8 @@
apiVersion: 1
providers:
- name: messenger
type: file
allowUiUpdates: false
options:
path: /var/lib/grafana/dashboards
@@ -0,0 +1,33 @@
apiVersion: 1
datasources:
- name: Prometheus
uid: prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
editable: false
jsonData:
timeInterval: 15s
- name: OpenSearch
uid: opensearch
type: grafana-opensearch-datasource
access: proxy
url: http://opensearch:9200
editable: false
jsonData:
flavor: opensearch
version: "2.19.4"
database: messenger-logs*
timeField: "@timestamp"
logMessageField: body
logLevelField: severityText
- name: Jaeger
uid: jaeger
type: jaeger
access: proxy
url: http://jaeger:16686
editable: false
+55
View File
@@ -0,0 +1,55 @@
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
memory_limiter:
check_interval: 1s
limit_mib: 256
spike_limit_mib: 64
batch:
timeout: 1s
send_batch_size: 256
send_batch_max_size: 512
exporters:
prometheus:
endpoint: 0.0.0.0:9464
add_metric_suffixes: false
resource_to_telemetry_conversion:
enabled: true
opensearch:
http:
endpoint: http://opensearch:9200
logs_index: messenger-logs
sending_queue:
enabled: true
queue_size: 64
num_consumers: 2
otlp/jaeger:
endpoint: jaeger:4317
tls:
insecure: true
sending_queue:
enabled: true
queue_size: 64
num_consumers: 2
service:
pipelines:
metrics:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [prometheus]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [opensearch]
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlp/jaeger]
+19
View File
@@ -0,0 +1,19 @@
global:
scrape_interval: 15s
rule_files:
- /etc/prometheus/rules/messenger.yml
- /etc/prometheus/rules/slo.yml
scrape_configs:
- job_name: otel-collector
static_configs:
- targets: ["otel-collector:9464"]
- job_name: rabbitmq
metrics_path: /metrics/detailed
params:
vhost: ["/"]
family: [queue_coarse_metrics, queue_metrics]
static_configs:
- targets: ["rabbitmq:15692"]

Some files were not shown because too many files have changed in this diff Show More