Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c2f609698 | ||
|
|
25904d2aac | ||
|
|
3d38735a22 | ||
|
|
d5416a6cc2 |
@@ -18,3 +18,5 @@ __pycache__
|
|||||||
node_modules
|
node_modules
|
||||||
evidence
|
evidence
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
infra/rabbitmq/rabbitmq.conf
|
||||||
|
|||||||
@@ -28,3 +28,8 @@ OTEL_SERVICE_NAME=messenger-api
|
|||||||
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
|
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
|
||||||
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
|
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
|
||||||
OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=lab
|
OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=lab
|
||||||
|
|
||||||
|
TELEMETRY_ENABLED=1
|
||||||
|
TELEMETRY_TRACE_SAMPLE_RATIO=1.0
|
||||||
|
TELEMETRY_BENCHMARK_ENABLED=0
|
||||||
|
TELEMETRY_COLLECTOR_CONFIG=config.yaml
|
||||||
|
|||||||
@@ -30,3 +30,5 @@ coverage/
|
|||||||
.vscode/
|
.vscode/
|
||||||
# Keep small, sanitized evidence summaries in evidence/ under version control.
|
# Keep small, sanitized evidence summaries in evidence/ under version control.
|
||||||
# Inspect git diff --cached: ignore rules are not a secret scanner.
|
# Inspect git diff --cached: ignore rules are not a secret scanner.
|
||||||
|
|
||||||
|
/infra/rabbitmq/rabbitmq.conf
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
FROM python:3.13.15-slim
|
||||||
|
|
||||||
|
ENV PYTHONDONTWRITEBYTECODE=1
|
||||||
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY requirements.txt .
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY alembic.ini .
|
||||||
|
COPY migrations ./migrations
|
||||||
|
COPY src ./src
|
||||||
|
COPY scripts ./scripts
|
||||||
|
COPY tests ./tests
|
||||||
|
|
||||||
|
RUN useradd --create-home --uid 10001 appuser
|
||||||
|
|
||||||
|
USER appuser
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=10s --timeout=3s --start-period=5s --retries=3 \
|
||||||
|
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health/ready', timeout=2)" || exit 1
|
||||||
|
|
||||||
|
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"]
|
||||||
@@ -1,37 +1,451 @@
|
|||||||
# Отчёт — лабораторная 6
|
# Отчёт — лабораторная 6
|
||||||
|
|
||||||
- Автор, группа: TODO
|
- **Автор, группа:** Травкин Станислав, БВТ2304.
|
||||||
- Целевая оценка; выбранный трек 5, если нужен: TODO
|
- **Целевая оценка:** 5. Трек 1 — «Цена наблюдаемости».
|
||||||
- Commit/PR: TODO после публикации
|
- **Ветка:** `solution/bvt2304-travkin`.
|
||||||
- Использованные источники, библиотеки и помощь ИИ: TODO
|
- **Commit/PR:** `d5416a6` — оценка 3; `3d38735` — оценка 4; `25904d2` — оценка 5. PR будет создан после публикации ветки.
|
||||||
|
- **Использованные источники, библиотеки и помощь ИИ:** README и контракты лабораторной, документация [OpenTelemetry](https://opentelemetry.io/docs/), [Prometheus](https://prometheus.io/docs/), [Grafana](https://grafana.com/docs/), [RabbitMQ](https://www.rabbitmq.com/docs/), [Docker Compose](https://docs.docker.com/compose/). Python, FastAPI, SQLAlchemy, asyncpg, Alembic, pika, boto3, Pillow, OpenTelemetry SDK, Matplotlib. ChatGPT использовался для проектирования, подготовки кода и команд, диагностики, анализа измерений и оформления отчёта. Команды выполнялись на локальном стенде, результаты получены экспериментально.
|
||||||
|
|
||||||
## Запуск из чистого clone
|
## Запуск из чистого clone
|
||||||
|
|
||||||
TODO: версии runtime/образов, prerequisites, команды создания локальных secrets/.env, build, миграций, запуска, ожидания готовности, тестов и остановки. Указать необходимые действия оператора. Не вставлять секреты. Отдельно указать безопасную остановку и команду намеренного удаления учебных данных.
|
### Требования и запуск
|
||||||
|
|
||||||
|
Использовались WSL2 Ubuntu 22.04, Python 3.13.15, Docker Engine 29.8.0, Compose 5.5.1, PyCharm. Необходимы Docker с Compose, Python с venv, Git, Make, Bash, curl, доступ к registry и PyPI, свободные порты 8080, 3000, 9090, 9001. Приложение собирается из `python:3.13.15-slim`; зависимости закреплены в `requirements.txt`.
|
||||||
|
|
||||||
|
После клонирования репозитория и перехода в каталог проекта:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git switch solution/bvt2304-travkin
|
||||||
|
python3 -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
python -m pip install -r requirements-dev.txt
|
||||||
|
bash scripts/bootstrap.sh
|
||||||
|
docker compose config --quiet
|
||||||
|
make check
|
||||||
|
make validate
|
||||||
|
docker compose up -d --build --wait --wait-timeout 180
|
||||||
|
docker compose ps -a
|
||||||
|
curl -fsS http://localhost:8080/health/ready
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
Bootstrap создаёт локальные `.env`, `secrets/`, конфигурацию RabbitMQ и пароль Grafana. Существующие секреты не следует заменять при повторном запуске. `migrate` выполняет `alembic upgrade head`, `s3-init` создаёт bucket и настраивает доступ, приложения объявляют топологию RabbitMQ. Одноразовые сервисы должны завершиться с кодом 0. Grafana автоматически получает datasource и dashboard через provisioning. Оператору необходимо дождаться readiness и войти в Grafana под `admin` с локальным `GRAFANA_ADMIN_PASSWORD` из `.env` (не публиковать его).
|
||||||
|
|
||||||
|
В рамках работы на оценку 3 проверялось развёртывание отдельного Compose-проекта `lab6verify` из копии файлов без локальных секретов и с новыми томами: сборка, инициализация и smoke прошли. Это не независимая проверка на другом компьютере; после изменений оценок 4–5 проверялись сборка, конфигурации и smoke существующего стенда.
|
||||||
|
|
||||||
|
Безопасная остановка с сохранением данных:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose down
|
||||||
|
```
|
||||||
|
|
||||||
|
Только для намеренного удаления всех учебных данных, включая историю наблюдаемости:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose down -v
|
||||||
|
```
|
||||||
|
|
||||||
|
### Сервисы и конфигурация
|
||||||
|
|
||||||
|
Все сервисы находятся в общей сети Compose; внутренние порты не требуют публикации на хосте. Версии и ограничения заданы в `compose.yaml`.
|
||||||
|
|
||||||
|
| Сервис | Версия/образ | Готовность | Том | Порт и credentials |
|
||||||
|
|---|---|---|---|---|
|
||||||
|
| api-1, api-2 | локальный Python 3.13.15 | `/health/ready` | — | 8080 внутри сети; Docker secrets |
|
||||||
|
| dispatcher, worker | тот же Dockerfile | процесс запущен, job-сценарий smoke | — | внутренний OTLP и подключения по secrets |
|
||||||
|
| migrate | локальный образ | exit 0 | — | database_url secret |
|
||||||
|
| nginx | 1.29-alpine | HTTP через 8080 | — | 8080 хоста, API session auth |
|
||||||
|
| postgres | 17.6 | pg_isready | postgres_data | 5432; password secret |
|
||||||
|
| redis | 8.2.2 | redis-cli ping | redis_data | 6379 внутри сети |
|
||||||
|
| rabbitmq | 4.1.4-management-alpine | rabbitmq-diagnostics | rabbitmq_data | 5672, management 15672 внутри сети; локальная конфигурация |
|
||||||
|
| s3, s3-init | dappros/minio:RELEASE.2025-09-07T16-13-09Z | mc ready / exit 0 | s3_data (s3) | 9000 внутри, 127.0.0.1:9001 console; secrets |
|
||||||
|
| otel-collector | contrib:0.120.0 (runtime сообщает 0.120.1) | запуск receivers, scrape | — | 4317/4318, 8888/8889 внутри сети |
|
||||||
|
| prometheus | v3.2.1 | /-/ready | prometheus_data | 127.0.0.1:9090 |
|
||||||
|
| loki | 3.4.2 | /ready | loki_data | 3100 внутри сети |
|
||||||
|
| tempo | 2.7.1 | /ready | tempo_data | 3200 query, 4317 ingest внутри сети |
|
||||||
|
| grafana | 11.5.2 | HTTP UI | grafana_data | 127.0.0.1:3000; пароль из .env |
|
||||||
|
|
||||||
|
`.env.example` документирует настройки, но не все унаследованные переменные автоматически передаются в контейнеры: фактические значения определяются `compose.yaml` и кодом. Например, фактическая ёмкость worker в измерении — 1, несмотря на унаследованный `WORKER_CONCURRENCY=2` в примере. `GRAFANA_ADMIN_PASSWORD` используется Compose, секреты БД/S3/RabbitMQ передаются файлами. Новые переменные `TELEMETRY_ENABLED`, `TELEMETRY_TRACE_SAMPLE_RATIO`, `TELEMETRY_BENCHMARK_ENABLED`, `TELEMETRY_COLLECTOR_CONFIG` реально управляют режимами. По умолчанию: `1`, `1.0`, `0`, `config.yaml`. Не публикуются `.env`, `secrets/`, сгенерированный RabbitMQ config, данные томов и venv.
|
||||||
|
|
||||||
## Архитектура и решения
|
## Архитектура и решения
|
||||||
|
|
||||||
TODO: схема процессов/хранилищ, источник истины, транзакционные границы, ограничения. Что перенесено из lab5, что изменено в этой работе. Соответствие переменных из .env.example реальной конфигурации.
|
```mermaid
|
||||||
|
flowchart LR
|
||||||
|
C[Клиент] --> N[Nginx]
|
||||||
|
N --> A[API 1 / API 2]
|
||||||
|
A --> P[(PostgreSQL)]
|
||||||
|
A --> R[(Redis)]
|
||||||
|
A --> S[(MinIO S3)]
|
||||||
|
P --> D[Dispatcher]
|
||||||
|
D --> Q[RabbitMQ]
|
||||||
|
Q --> W[Worker]
|
||||||
|
W --> P
|
||||||
|
W --> S
|
||||||
|
A --> O[OTel Collector]
|
||||||
|
D --> O
|
||||||
|
W --> O
|
||||||
|
O --> M[Prometheus]
|
||||||
|
O --> L[Loki]
|
||||||
|
O --> T[Tempo]
|
||||||
|
M --> G[Grafana]
|
||||||
|
L --> G
|
||||||
|
T --> G
|
||||||
|
```
|
||||||
|
|
||||||
## Доказательства критериев
|
Из lab5 перенесены API мессенджера, авторизация, чаты, сообщения, загрузка вложений, PostgreSQL, Redis, S3, две API-реплики, Nginx, dispatcher, RabbitMQ, worker, миграции и механизм повторов. В lab6 добавлены наблюдаемость, сквозной trace context, метрики ресурсов и очередей, SLO/alerts, контролируемые отказы и исследование sampling. Контракт API сохранён.
|
||||||
|
|
||||||
|
PostgreSQL — источник истины для сообщений, метаданных вложений и состояния jobs. S3 хранит байты файлов, Redis используется как вспомогательное хранилище, RabbitMQ — транспорт заданий, а не единственный источник их состояния. Запись состояния вложения и задания выполняется в транзакции БД; dispatcher публикует задания из БД с publisher confirms. Worker проверяет состояние, attempt/generation/execution_id, обрабатывает изображение, сохраняет варианты в S3 и фиксирует итог в БД до ACK. Доставка at-least-once, повторная обработка ограничена проверками идемпотентности; атомарной транзакции между PostgreSQL, RabbitMQ и S3 нет. При временной ошибке назначается retry с backoff/jitter, после исчерпания попыток — failed/DLQ. Очереди `attachment.process.v1` и `attachment.failed.v1` durable.
|
||||||
|
|
||||||
|
## Оценка 3 — работающий минимум
|
||||||
|
|
||||||
|
Collector принимает OTLP от API, dispatcher и worker. Prometheus хранит числовые временные ряды, Loki — структурированные логи, Tempo — распределённые трассы, Grafana объединяет источники и визуализирует их. Конфигурации находятся в `infra/otel`, `infra/prometheus`, `infra/loki`, `infra/tempo`, `infra/grafana`. История сохраняется в именованных томах; Prometheus ограничен 7 днями/1 ГБ. Dashboard `infra/grafana/dashboards/messenger.json` provisioned автоматически (на оценку 3 — 6 панелей, после оценки 4 — 16).
|
||||||
|
|
||||||
|
Метрики HTTP содержат method, шаблон route, status_code/status_class; метрики jobs — job_type и outcome. Используются resource attributes `service.name`, `service.version`, `service.instance.id`, `deployment.environment.name`. Идентификаторы trace/span находятся в логах, а не в labels метрик. SQL-параметры, тексты сообщений, пароли и токены не включаются в предусмотренные telemetry events. Логи содержат timestamp, severity, event и корреляцию с трассой. Loki derived field открывает Tempo по trace ID; Tempo поддерживает обратный переход к логам.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Доказательства критериев
|
||||||
|
|
||||||
| Критерий README | Команда/сценарий | Наблюдаемый результат | Файл доказательства |
|
| Критерий README | Команда/сценарий | Наблюдаемый результат | Файл доказательства |
|
||||||
| --- | --- | --- | --- |
|
|---|---|---|---|
|
||||||
| Публичный smoke | make test | TODO | TODO |
|
| Публичный smoke | `make test` | PASS при включённой телеметрии и во всех режимах | [grade5-checks](evidence/grade5-checks.txt) |
|
||||||
| Остальные пункты уровня 3 | TODO | TODO | TODO |
|
| 3: минимум lab5 и воспроизводимый стенд | bootstrap, отдельный Compose-проект, `docker compose ps`, smoke | сервисы готовы, миграции и S3 init завершены, smoke PASS | [grade3-checks](evidence/grade3-checks.txt), compose.yaml |
|
||||||
| Все пункты уровня 4, если заявлен | TODO | TODO | TODO |
|
| 3: OTLP API/worker, метрики | `make test`, Grafana dashboard | HTTP RPS/errors/duration и jobs success/error/duration | [dashboard](evidence/grade3-dashboard.png) |
|
||||||
| Выбранный трек 5, если заявлен | TODO | TODO | TODO |
|
| 3: dashboard в Git, низкая кардинальность | provisioning, проверка `src/telemetry.py` | dashboard JSON, шаблоны маршрутов, trace/span IDs в логах | `infra/grafana/dashboards/messenger.json`, [Loki](evidence/grade3-loki.png) |
|
||||||
|
| 3: связанные trace/log | Grafana Explore Loki → Tempo | совпадающие trace/span ID, worker consumer span | [Loki](evidence/grade3-loki.png), [Tempo](evidence/grade3-tempo.png) |
|
||||||
|
|
||||||
TODO: добавить отдельную строку для каждого заявленного критерия. PASS без команды и наблюдения не является доказательством. Проверка инфраструктурного hook требует подтверждения, какие реальные процессы/хранилища перезапущены.
|
## Оценка 4 — расширенная наблюдаемость и отказоустойчивость
|
||||||
|
|
||||||
## Эксперименты и отказы
|
W3C `traceparent`/`tracestate` сохраняются в строке job (миграция `d6a12026a006_trace_context.py`). Dispatcher восстанавливает контекст, создаёт producer span и передаёт заголовки RabbitMQ; worker восстанавливает контекст и создаёт consumer span. Retry использует исходный контекст, поэтому попытки относятся к одной цепочке. SQLAlchemy event hooks формируют SQL spans без текста запроса и параметров; отдельный `postgresql.pool.acquire` показывает ожидание соединения. S3 операции инструментированы. Пример: трасса upload → dispatcher → worker → S3/DB содержит 34 spans и длится около 1,07 с.
|
||||||
|
|
||||||
TODO: гипотеза, hardware/лимиты, версии, объём данных, профиль нагрузки, concurrency/arrival rate, длительность/прогрев, повторы, успешные RPS, ошибки, p50/p95/p99, CPU/RAM. Сохранить raw summary без tokens и объяснить ограничения измерения.
|

|
||||||
|
|
||||||
|
Метрики добавлены в `src/runtime_metrics.py`, `src/telemetry.py`, dispatcher/worker/database. Очередь измеряется по durable jobs в PostgreSQL со статусом queued, а не только по ready messages RabbitMQ. Возраст — время от создания старейшей queued job. Worker busy/capacity отражают занятые слоты. DB pool показывает used/capacity/waiting. E2E histogram измеряет время от принятия вложения до ready.
|
||||||
|
|
||||||
|
Примеры PromQL (полные выражения — в dashboard и `infra/prometheus/rules.yaml`):
|
||||||
|
|
||||||
|
| Показатель | Запрос | Единица |
|
||||||
|
|---|---|---|
|
||||||
|
| RPS | `sum(rate(messenger_http_requests_total[1m]))` | запрос/с |
|
||||||
|
| p50 | `histogram_quantile(0.50,sum by(le)(rate(messenger_http_request_duration_seconds_bucket[1m])))` | с |
|
||||||
|
| p95 | `histogram_quantile(0.95,sum by(le)(rate(messenger_http_request_duration_seconds_bucket[1m])))` | с |
|
||||||
|
| p99 | `histogram_quantile(0.99,sum by(le)(rate(messenger_http_request_duration_seconds_bucket[1m])))` | с |
|
||||||
|
| Доля 5xx | `messenger:sli_http_error_ratio:1m` | доля |
|
||||||
|
| Queue depth | `max by(queue_name)(messenger_queue_depth)` | jobs |
|
||||||
|
| Queue age | `max by(queue_name)(messenger_queue_oldest_age_seconds)` | с |
|
||||||
|
| DB pool | `messenger_db_pool_used`, `messenger_db_pool_capacity`, `messenger_db_pool_waiting` | соединения/ожидающие |
|
||||||
|
| Worker saturation | `messenger_worker_busy / messenger_worker_capacity` | доля |
|
||||||
|
| E2E p95 | `histogram_quantile(0.95,sum by(le)(rate(messenger_attachment_ready_duration_seconds_bucket[5m])))` | с |
|
||||||
|
|
||||||
|
Percentile рассчитывается по histogram buckets, а не по средним задержкам. Dashboard также показывает CPU/RAM процессов и длительность jobs.
|
||||||
|
|
||||||
|
**SLI/SLO:** доля бизнес-запросов без 5xx ≥99% за 30 дней; доля бизнес-запросов длительностью ≤500 мс ≥95% за 30 дней. Health endpoints исключены; при отсутствии запросов показатель не оценивается. Для демонстрации применяются минутные recording rules. `MessengerHighHTTPErrorRate` срабатывает при доле 5xx >1% в течение 15 с, `MessengerQueueLag` — при возрасте старейшей job >30 с в течение 15 с. Это локальные демонстрационные alerts, не многоконные burn-rate alerts. Runbook: `infra/prometheus/RUNBOOK.md`.
|
||||||
|
|
||||||
|
Collector использует memory_limiter (192 МиБ, spike 48 МиБ, проверка 1 с), batch (2 с, 512/1024 элементов), ограниченные очереди экспорта Tempo/Loki по 128 batches, два consumers, timeout 5 с, retry 1–5 с с максимальным временем 30 с. Лимит контейнера 256 МиБ. Memory limiter не является жёстким ограничением RSS; при отказе backend возможны потери телеметрии, но бизнес-данные не зависят от её доставки.
|
||||||
|
|
||||||
|
### Доказательства критериев
|
||||||
|
|
||||||
|
| Критерий README | Команда/сценарий | Наблюдаемый результат | Файл доказательства |
|
||||||
|
|---|---|---|---|
|
||||||
|
| 4: W3C context, producer/consumer, S3/DB | smoke upload; retry marker + smoke | 34 spans в обычной цепочке; retry и success в одной трассе | [trace](evidence/grade4-trace.png), [retry](evidence/grade4-retry-trace.png) |
|
||||||
|
| 4: расширенный dashboard | PromQL, smoke, остановка worker | p50/p95/p99, error ratio, queue age/depth, DB pool, worker saturation | dashboard JSON, [queue](evidence/grade4-queue-incident.png), [retry metrics](evidence/grade4-retry-metrics.txt) |
|
||||||
|
| 4: SLI/SLO и alerts | остановка PostgreSQL и worker; Prometheus Alerts | оба alert переходят в firing, после восстановления inactive | [DB firing](evidence/grade4-db-firing.png), [DB resolved](evidence/grade4-http-restore.png), [queue firing](evidence/grade4-queue-firing.png), [queue resolved](evidence/grade4-queue-resolved.png) |
|
||||||
|
| 4: ограниченный Collector, диагностика | остановка Tempo/Loki, нагрузка, запуск backend | очереди ограничены 128 batches, после восстановления 0; smoke PASS | [outage](evidence/grade4-telemetry-outage.txt), [recovery](evidence/grade4-telemetry-recovery.txt), runbook |
|
||||||
|
|
||||||
|
### Эксперименты и отказы
|
||||||
|
|
||||||
| Воздействие | Что ожидаем | Что наблюдали | Время восстановления / потеря данных |
|
| Воздействие | Что ожидаем | Что наблюдали | Время восстановления / потеря данных |
|
||||||
| --- | --- | --- | --- |
|
|---|---|---|---|
|
||||||
| TODO | TODO | TODO | TODO |
|
| `docker compose stop worker` | Рост durable backlog, queue lag alert | depth 0→1, возраст до ~120 с, firing | После запуска worker depth/age 0, alert inactive; точный RTO не измерялся |
|
||||||
|
| `docker compose stop postgres` | Бизнес-запросы 503, error alert | 22 ответа 503 за ~120 с; доля ошибок 100%, запросы ~4–5 с | После запуска БД error ratio 0, alert inactive; точный RTO/RPO не измерялся |
|
||||||
|
| `docker compose stop tempo loki` | Рост ограниченных очередей, бизнес API работает | Tempo ~112 batches, Loki ~60, capacity 128; RSS Collector ~192–204 МиБ | После запуска backend очереди 0, smoke PASS; экспортные ошибки наблюдались, точный объём потерянных данных не установлен |
|
||||||
|
| `touch /tmp/lab6_retry_once` внутри worker | Временная ошибка и повтор | Первая попытка ~8,06 с, вторая success; общая трасса 11,62 с, 118 spans | Вторая попытка завершилась, job ready; повторное создание вложения не потребовалось |
|
||||||
|
|
||||||
|
**Инцидент 1: очередь.** Проверить queue age/depth и worker busy, состояние worker в Compose и RabbitMQ. При остановленном worker backlog остаётся в durable jobs. Запустить worker, дождаться ready вложения и исчезновения alert.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Инцидент 2: PostgreSQL.** Проверить error ratio, latency, логи и trace. В трассе POST `/api/v1/users` длительностью 4,66 с span `postgresql.pool.acquire` занял 4,07 с (~87%), status ERROR, `error.type=gaierror`. Это указывает на проблему подключения к БД, а не на длительный SQL-запрос. При недоступной БД метрики очереди могут стать No data — это не нулевой backlog. После запуска PostgreSQL проверить readiness, smoke и alert.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Инцидент 3: telemetry backend.** Проверить `otelcol_exporter_queue_size`, `otelcol_exporter_queue_capacity`, `otelcol_process_memory_rss`, `otelcol_exporter_send_failed_spans` и log records. После запуска Tempo/Loki очереди опустели. Накопленные counters нельзя интерпретировать как точное число потерь одного инцидента без учёта исходных значений, повторов и in-flight данных.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Retry:** контролируемый marker удаляется при первой обработке и вызывает временную ошибку после задержки 8 с. Повтор выполняется штатным механизмом. Метрики показали busy максимум 1 при capacity 1, после выполнения busy 0, очередь 0. Трасса включает обе попытки.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Оценка 5 — цена наблюдаемости
|
||||||
|
|
||||||
|
Реализованы четыре режима:
|
||||||
|
|
||||||
|
| Режим | SDK | Collector |
|
||||||
|
|---|---|---|
|
||||||
|
| Baseline | telemetry off | без sampling |
|
||||||
|
| Full | 100% | без sampling |
|
||||||
|
| Optimized | head sampling 10% | без sampling |
|
||||||
|
| Balanced | 100% | tail sampling |
|
||||||
|
|
||||||
|
Режим OFF отключает экспорт, SDK providers и основную instrumentation; часть вызовов no-op API остаётся. Все backend-сервисы продолжают работать во всех режимах. Balanced использует `infra/otel/config-balanced.yaml`: decision_wait 15 с, num_traces 5000, expected_new_traces_per_sec 100, два decision cache по 10000 записей. Политики объединяются по принципу OR: ERROR, длительность трассы ≥500 мс или probabilistic 10%. Логи и метрики не подвергаются trace sampling. Full остаётся режимом по умолчанию.
|
||||||
|
|
||||||
|
### Доказательства критериев
|
||||||
|
|
||||||
|
| Критерий README | Команда/сценарий | Наблюдаемый результат | Файл доказательства |
|
||||||
|
|---|---|---|---|
|
||||||
|
| 5: одинаковая нагрузка off/on и sampling | `scripts/run_telemetry_experiment.py` | 12 запусков, 14400/14400 успешных запросов | [summary](evidence/grade5-summary.txt), [balanced](evidence/grade5-balanced-summary.txt), JSON запусков |
|
||||||
|
| 5: latency, CPU/RAM, ingest, потери | `scripts/plot_telemetry_experiment.py` | измерены задержки, ресурсы, счётчики ingress/export/refused/failed | [latency](evidence/grade5-latency.png), [resources](evidence/grade5-resources.png), [ingest](evidence/grade5-ingest.png) |
|
||||||
|
| 5: ошибки и медленные трассы | `scripts/benchmark_trace_retention.py` | Head 10% сохранил 8/100 ошибок и 6/100 медленных трасс | [retention summary](evidence/grade5-retention-summary.txt) |
|
||||||
|
| 5: проверенная сбалансированная конфигурация | Balanced retention и 3 нагрузочных запуска | 100/100 ошибок, 100/100 медленных, 10/100 обычных; 3779 экспортированных spans | [balanced retention](evidence/grade5-retention-balanced.json), [balanced summary](evidence/grade5-balanced-summary.txt) |
|
||||||
|
|
||||||
|
### Эксперименты: гипотеза и методика
|
||||||
|
|
||||||
|
Гипотеза: полная телеметрия увеличивает задержки, CPU и объём ingest; head sampling уменьшает затраты, но теряет диагностически важные запросы. Tail sampling позволяет уменьшить экспорт в Tempo, сохраняя ошибки и медленные трассы, ценой буферизации и сохранения нагрузки SDK.
|
||||||
|
|
||||||
|
Стенд: WSL2, доступная память около 11 ГиБ и swap 4 ГиБ; Collector сообщал 20 логических CPU среды. Точная модель CPU в протоколе измерений не зафиксирована. Лимиты API/dispatcher/worker — 1 CPU и 512 МиБ на сервис; Collector — 0,5 CPU и 256 МиБ; Prometheus/Loki/Tempo — по 0,5 CPU и 512 МиБ; Grafana — 0,5 CPU и 384 МиБ. PostgreSQL — 1 CPU/768 МиБ, Redis — 0,5/256, RabbitMQ — 0,5/512, MinIO — 1/512, Nginx — 0,5/256. Лимиты не менялись между режимами.
|
||||||
|
|
||||||
|
Профиль: POST сообщений через Nginx, 1200 измеряемых запросов на запуск, 20 RPS open-loop, 16 клиентских потоков, 100 запросов прогрева, примерно 60 с измерения. Три повтора каждого режима. Для первых трёх режимов порядок циклически менялся; Balanced проверялся позднее отдельной серией. Данные синтетические; перед запуском создаются тестовые пользователи и чат, БД между повторами не очищается. Размер всей накопленной БД не измерялся. Pilot 600 запросов и предварительные 300-запросные запуски не включены в итоговые средние.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python3 scripts/run_telemetry_experiment.py --requests 1200 --rate 20 --workers 16 --warmup 100 --repeats 3
|
||||||
|
python3 scripts/run_telemetry_experiment.py --mode balanced --requests 1200 --rate 20 --workers 16 --warmup 100 --repeats 3
|
||||||
|
python3 -m pip install matplotlib==3.11.2
|
||||||
|
python3 scripts/plot_telemetry_experiment.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Скрипт переключает режимы, проверяет readiness/smoke, снимает counters Collector до и после нагрузки, собирает `docker stats`, сохраняет JSON и восстанавливает Full. После нагрузки ожидание экспорта 15 с, для Balanced 40 с. CPU/RAM — выборочные значения Docker stats в интервале измерения. Application total включает API1/2, dispatcher, worker; observability total — Collector, Prometheus, Loki, Tempo (без Grafana). CPU% суммируется по контейнерам, 100% соответствует одному CPU. Percentiles клиента вычислены методом nearest rank; итог — среднее трёх отдельных percentiles, не percentile объединённой выборки.
|
||||||
|
|
||||||
|
### Результаты нагрузочного эксперимента
|
||||||
|
|
||||||
|
| Метрика | Baseline | Full | Optimized | Balanced |
|
||||||
|
|---|---:|---:|---:|---:|
|
||||||
|
| Успешные запросы | 3600 | 3600 | 3600 | 3600 |
|
||||||
|
| Ошибки | 0 | 0 | 0 | 0 |
|
||||||
|
| RPS | 20,006 | 20,004 | 20,006 | 19,999 |
|
||||||
|
| p50, мс | 29,914 | 33,930 | 32,610 | 33,958 |
|
||||||
|
| p95, мс | 57,765 | 78,608 | 67,082 | 73,600 |
|
||||||
|
| p99, мс | 98,948 | 146,472 | 108,159 | 117,214 |
|
||||||
|
| Средняя задержка, мс | 35,161 | 41,751 | 38,290 | 40,411 |
|
||||||
|
| CPU приложения средний, % | 64,359 | 82,185 | 74,523 | 75,383 |
|
||||||
|
| CPU приложения пик, % | 155,403 | 202,300 | 187,660 | 130,507 |
|
||||||
|
| RAM приложения средняя, МиБ | 315,588 | 343,305 | 342,054 | 334,997 |
|
||||||
|
| RAM приложения пик, МиБ | 334,077 | 364,640 | 357,103 | 344,957 |
|
||||||
|
| CPU наблюдаемости средний, % | 3,087 | 8,590 | 6,765 | 7,288 |
|
||||||
|
| RAM наблюдаемости средняя, МиБ | 790,078 | 757,891 | 738,721 | 608,929 |
|
||||||
|
| CPU Collector средний, % | 0,418 | 3,274 | 2,683 | 3,634 |
|
||||||
|
| RAM Collector средняя, МиБ | 87,530 | 96,156 | 88,182 | 78,424 |
|
||||||
|
| Принято spans | 0 | 34274 | 3432 | 34878 |
|
||||||
|
| Экспортировано spans | 0 | 34256 | 3435 | 3779 |
|
||||||
|
| Принято metric points | 0 | 8243 | 8534 | 13033 |
|
||||||
|
| Refused spans / failed export spans | 0/0 | 0/0 | 0/0 | 0/0 |
|
||||||
|
|
||||||
|
Пиковые значения в таблице — средние пиков отдельных запусков. Разброс p95 по повторам: Baseline 52,772–61,926 мс; Full 72,110–85,385; Optimized 63,152–74,298; Balanced 72,451–74,590. Суммарно 14400 успешных запросов из 14400. Относительно Baseline Full увеличил p95 на 36,1%, p99 на 48,0%, средний CPU приложения на 27,7%. Optimized относительно Full снизил p95 на 14,7%, p99 на 26,2% и ingress spans примерно на 90%.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Ingest измерен числом spans/metric points/log records, а не сетевыми байтами или размером на диске. Разность ingress/export не является точным счётчиком транспортных потерь: интервалы включают фоновые сигналы, экспорт асинхронный, в Balanced действует намеренная фильтрация. Например, в Optimized sent немного больше accepted из-за границ окна. Нулевые refused/failed counters означают отсутствие зарегистрированных ошибок этих типов в измеренных интервалах, но не доказывают полноту каждой трассы.
|
||||||
|
|
||||||
|
### Сохранность ошибочных и медленных трасс
|
||||||
|
|
||||||
|
Диагностический endpoint включается только через `TELEMETRY_BENCHMARK_ENABLED=1`. Normal возвращает 200, Error — 503 с ERROR span, Slow — 200 после задержки 600 мс. Для каждого режима выполнено по 100 запросов каждого класса, 8 потоков, перемешанный порядок. Запросы идут напрямую к API-репликам внутри Docker-сети: первоначальный запуск через Nginx прерывался 502/no live upstreams при серии намеренных 503. Основной нагрузочный тест по-прежнему идёт через Nginx. После ожидания экспорта проверяется наличие каждого trace ID в Tempo; отсутствующие ID проверяются повторно. Выборка искусственно обогащена ошибками/медленными запросами, не моделирует их реальную частоту.
|
||||||
|
|
||||||
|
| Класс | Full: найдено из 100 | Optimized: найдено из 100 | Balanced: найдено из 100 |
|
||||||
|
|---|---:|---:|---:|
|
||||||
|
| Normal | 100 | 5 | 10 |
|
||||||
|
| Error | 100 | 8 | 100 |
|
||||||
|
| Slow | 100 | 6 | 100 |
|
||||||
|
| Всего | 300 | 19 | 210 |
|
||||||
|
|
||||||
|
Full и Optimized: все выбранные SDK трассы найдены в Tempo. В Optimized 281 трасса отброшена head sampling, включая 92 ошибочных и 94 медленных. Фактические 6,33% сохранённых трасс отличаются от заданных 10% из-за случайной выборки. В Balanced SDK выбрал все 300, Tempo содержит 210, отсутствуют 90 обычных; результат согласуется с политикой Collector, но сам факт отсутствия не доказывает причину каждой отдельной трассы. Наличие trace ID не доказывает наличие всех дочерних spans.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**Вывод:** Balanced рекомендуется для исследованного профиля, если важна диагностика ошибок. По сравнению с Full наблюдались снижение p95 на 6,4%, p99 на 20,0%, CPU приложения на 8,3%, CPU наблюдаемости на 15,2%. Экспорт spans уменьшился с 34256 до 3779 (~89%), при этом ingress остался близким к Full. Сохранены все 200 контролируемых ошибочных и медленных трасс. Это наблюдаемый результат конкретных запусков, не универсальная гарантия ускорения. Tail sampling требует буфера, CPU Collector в эксперименте выше Full, а RAM backend зависит от накопленной истории. Различия RAM нельзя однозначно приписать sampling.
|
||||||
|
|
||||||
## Ограничения и следующие шаги
|
## Ограничения и следующие шаги
|
||||||
|
|
||||||
TODO: какие отказы выдерживаются и какие нет; что не реализовано; где учебное упрощение; какое улучшение подтверждено, а какое пока гипотеза.
|
- Стенд учебный, один Docker-host, одна БД, один broker, один Collector; отказ всего хоста или диска не покрыт. Две API-реплики не означают HA всех зависимостей. Exactly-once не гарантируется.
|
||||||
|
- Отказы контролируемые; точный RTO/RPO и отсутствие всех потерь бизнес-данных не измерялись. Smoke проверяет контрактный сценарий, не все возможные ошибки. SLO за реальные 30 дней не проверялся.
|
||||||
|
- Наблюдаемость best effort: ограниченные очереди и retries допускают потери при долгом отказе. Collector memory limiter не ограничивает RSS жёстко. Не измерены байты ingest, стоимость хранения и нагрузка при заполнении tail buffer.
|
||||||
|
- Tail sampling принимает решение через 15 с; поздняя ошибка в длинной асинхронной цепочке может не повлиять на принятое решение. Не проверялись горизонтальное масштабирование Collector и маршрутизация всех spans одной трассы в один экземпляр.
|
||||||
|
- Три повтора, один профиль 20 RPS, накопление данных и отдельная серия Balanced ограничивают причинные выводы. Следующий шаг — больше повторов с перемешиванием четырёх режимов, нагрузка с вложениями, длительные traces, стресс-тест буфера и измерение байтов.
|
||||||
|
- Matplotlib устанавливается отдельно для отчёта; runtime приложения от него не зависит. Диагностический endpoint по умолчанию отключён. После экспериментов восстановлен Full; финальный smoke PASS, endpoint 404, обе API healthy. В текстовых логах могут оставаться пробелы в конце строк; это не влияет на результаты.
|
||||||
|
|
||||||
|
## Демонстрация на защите
|
||||||
|
|
||||||
|
### 1. Запуск и проверка (оценка 3)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~/mtuci/high_load_apps/mtusi2026lab6
|
||||||
|
source .venv/bin/activate
|
||||||
|
bash scripts/bootstrap.sh
|
||||||
|
docker compose up -d --build --wait --wait-timeout 180
|
||||||
|
docker compose ps
|
||||||
|
make check
|
||||||
|
make validate
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
Генерация нагрузки.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make test
|
||||||
|
make load
|
||||||
|
```
|
||||||
|
|
||||||
|
Grafana: http://localhost:3000 — Messenger; Prometheus: http://localhost:9090/targets.
|
||||||
|
|
||||||
|
Loki (LogQL):
|
||||||
|
|
||||||
|
```text
|
||||||
|
{service_name="messenger-worker"}
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. Проверка повторной обработки (оценка 4)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose exec -T worker touch /tmp/lab6_retry_once
|
||||||
|
make test
|
||||||
|
sleep 15
|
||||||
|
docker compose logs --since=2m worker
|
||||||
|
```
|
||||||
|
|
||||||
|
Поиск трасс повторной обработки в Tempo (TraceQL).
|
||||||
|
|
||||||
|
```text
|
||||||
|
{ span.job.outcome = "retry" }
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Проверка задержки очереди (оценка 4)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose stop worker
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
Проверка `MessengerQueueLag`: http://localhost:9090/alerts.
|
||||||
|
|
||||||
|
Восстановление worker.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose start worker
|
||||||
|
sleep 30
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
### 4. Проверка отказа PostgreSQL (оценка 4)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose stop postgres
|
||||||
|
python3 - <<'PY'
|
||||||
|
import json, time, uuid, urllib.request, urllib.error
|
||||||
|
end = time.monotonic() + 90
|
||||||
|
while time.monotonic() < end:
|
||||||
|
body = json.dumps({"username": "u_incident_" + uuid.uuid4().hex[:12], "display_name": "Incident test", "password": "T3st-" + uuid.uuid4().hex}).encode()
|
||||||
|
req = urllib.request.Request("http://localhost:8080/api/v1/users", data=body, headers={"Content-Type": "application/json"})
|
||||||
|
try:
|
||||||
|
with urllib.request.urlopen(req, timeout=10) as r:
|
||||||
|
print(r.status, flush=True)
|
||||||
|
except urllib.error.HTTPError as e:
|
||||||
|
print(e.code, flush=True)
|
||||||
|
except OSError as e:
|
||||||
|
print(type(e).__name__, flush=True)
|
||||||
|
time.sleep(1)
|
||||||
|
PY
|
||||||
|
```
|
||||||
|
|
||||||
|
Проверка `MessengerHighHTTPErrorRate`: http://localhost:9090/alerts.
|
||||||
|
|
||||||
|
Восстановление PostgreSQL.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose start postgres
|
||||||
|
sleep 30
|
||||||
|
curl -fsS http://localhost:8080/health/ready
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
### 5. Проверка отказа хранилищ телеметрии (оценка 4)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose stop tempo loki
|
||||||
|
make test
|
||||||
|
make load
|
||||||
|
```
|
||||||
|
|
||||||
|
Prometheus (PromQL):
|
||||||
|
|
||||||
|
```text
|
||||||
|
otelcol_exporter_queue_size
|
||||||
|
otelcol_exporter_queue_capacity
|
||||||
|
otelcol_process_memory_rss
|
||||||
|
otelcol_exporter_send_failed_spans
|
||||||
|
```
|
||||||
|
|
||||||
|
Восстановление Tempo и Loki.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose start tempo loki
|
||||||
|
sleep 30
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
### 6. Результаты исследования (оценка 5)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cat evidence/grade5-summary.txt
|
||||||
|
cat evidence/grade5-balanced-summary.txt
|
||||||
|
cat evidence/grade5-retention-summary.txt
|
||||||
|
ls -lh evidence/grade5-*.png
|
||||||
|
cat infra/otel/config-balanced.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
Проверка Balanced на 10 запросах каждого типа.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
TELEMETRY_COLLECTOR_CONFIG=config-balanced.yaml docker compose up -d --no-deps otel-collector
|
||||||
|
sleep 20
|
||||||
|
TELEMETRY_BENCHMARK_ENABLED=1 TELEMETRY_ENABLED=1 TELEMETRY_TRACE_SAMPLE_RATIO=1.0 docker compose up -d --no-deps api-1 api-2 dispatcher worker
|
||||||
|
sleep 30
|
||||||
|
make test
|
||||||
|
docker compose cp scripts/benchmark_trace_retention.py api-1:/tmp/benchmark_trace_retention.py
|
||||||
|
docker compose exec -T api-1 python /tmp/benchmark_trace_retention.py --mode balanced --count 10 --output /tmp/defense-retention.json
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7. Восстановление стандартной конфигурации
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose start postgres worker tempo loki
|
||||||
|
TELEMETRY_COLLECTOR_CONFIG=config.yaml docker compose up -d --no-deps otel-collector
|
||||||
|
TELEMETRY_BENCHMARK_ENABLED=0 TELEMETRY_ENABLED=1 TELEMETRY_TRACE_SAMPLE_RATIO=1.0 docker compose up -d --no-deps api-1 api-2 dispatcher worker
|
||||||
|
sleep 30
|
||||||
|
make test
|
||||||
|
docker compose ps
|
||||||
|
curl -s -o /dev/null -w 'Benchmark endpoint: HTTP %{http_code}\n' http://localhost:8080/api/v1/_benchmark/normal
|
||||||
|
git log --oneline -5
|
||||||
|
```
|
||||||
|
|
||||||
|
Остановка стенда с сохранением данных.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose down
|
||||||
|
```
|
||||||
|
|||||||
@@ -0,0 +1,149 @@
|
|||||||
|
# A generic, single database configuration.
|
||||||
|
|
||||||
|
[alembic]
|
||||||
|
# path to migration scripts.
|
||||||
|
# this is typically a path given in POSIX (e.g. forward slashes)
|
||||||
|
# format, relative to the token %(here)s which refers to the location of this
|
||||||
|
# ini file
|
||||||
|
script_location = %(here)s/migrations
|
||||||
|
|
||||||
|
# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
|
||||||
|
# Uncomment the line below if you want the files to be prepended with date and time
|
||||||
|
# see https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file
|
||||||
|
# for all available tokens
|
||||||
|
# file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
|
||||||
|
# Or organize into date-based subdirectories (requires recursive_version_locations = true)
|
||||||
|
# file_template = %%(year)d/%%(month).2d/%%(day).2d_%%(hour).2d%%(minute).2d_%%(second).2d_%%(rev)s_%%(slug)s
|
||||||
|
|
||||||
|
# sys.path path, will be prepended to sys.path if present.
|
||||||
|
# defaults to the current working directory. for multiple paths, the path separator
|
||||||
|
# is defined by "path_separator" below.
|
||||||
|
prepend_sys_path = .
|
||||||
|
|
||||||
|
# timezone to use when rendering the date within the migration file
|
||||||
|
# as well as the filename.
|
||||||
|
# If specified, requires the tzdata library which can be installed by adding
|
||||||
|
# `alembic[tz]` to the pip requirements.
|
||||||
|
# string value is passed to ZoneInfo()
|
||||||
|
# leave blank for localtime
|
||||||
|
# timezone =
|
||||||
|
|
||||||
|
# max length of characters to apply to the "slug" field
|
||||||
|
# truncate_slug_length = 40
|
||||||
|
|
||||||
|
# set to 'true' to run the environment during
|
||||||
|
# the 'revision' command, regardless of autogenerate
|
||||||
|
# revision_environment = false
|
||||||
|
|
||||||
|
# set to 'true' to allow .pyc and .pyo files without
|
||||||
|
# a source .py file to be detected as revisions in the
|
||||||
|
# versions/ directory
|
||||||
|
# sourceless = false
|
||||||
|
|
||||||
|
# version location specification; This defaults
|
||||||
|
# to <script_location>/versions. When using multiple version
|
||||||
|
# directories, initial revisions must be specified with --version-path.
|
||||||
|
# The path separator used here should be the separator specified by "path_separator"
|
||||||
|
# below.
|
||||||
|
# version_locations = %(here)s/bar:%(here)s/bat:%(here)s/alembic/versions
|
||||||
|
|
||||||
|
# path_separator; This indicates what character is used to split lists of file
|
||||||
|
# paths, including version_locations and prepend_sys_path within configparser
|
||||||
|
# files such as alembic.ini.
|
||||||
|
# The default rendered in new alembic.ini files is "os", which uses os.pathsep
|
||||||
|
# to provide os-dependent path splitting.
|
||||||
|
#
|
||||||
|
# Note that in order to support legacy alembic.ini files, this default does NOT
|
||||||
|
# take place if path_separator is not present in alembic.ini. If this
|
||||||
|
# option is omitted entirely, fallback logic is as follows:
|
||||||
|
#
|
||||||
|
# 1. Parsing of the version_locations option falls back to using the legacy
|
||||||
|
# "version_path_separator" key, which if absent then falls back to the legacy
|
||||||
|
# behavior of splitting on spaces and/or commas.
|
||||||
|
# 2. Parsing of the prepend_sys_path option falls back to the legacy
|
||||||
|
# behavior of splitting on spaces, commas, or colons.
|
||||||
|
#
|
||||||
|
# Valid values for path_separator are:
|
||||||
|
#
|
||||||
|
# path_separator = :
|
||||||
|
# path_separator = ;
|
||||||
|
# path_separator = space
|
||||||
|
# path_separator = newline
|
||||||
|
#
|
||||||
|
# Use os.pathsep. Default configuration used for new projects.
|
||||||
|
path_separator = os
|
||||||
|
|
||||||
|
|
||||||
|
# set to 'true' to search source files recursively
|
||||||
|
# in each "version_locations" directory
|
||||||
|
# new in Alembic version 1.10
|
||||||
|
# recursive_version_locations = false
|
||||||
|
|
||||||
|
# the output encoding used when revision files
|
||||||
|
# are written from script.py.mako
|
||||||
|
# output_encoding = utf-8
|
||||||
|
|
||||||
|
# database URL. This is consumed by the user-maintained env.py script only.
|
||||||
|
# other means of configuring database URLs may be customized within the env.py
|
||||||
|
# file.
|
||||||
|
sqlalchemy.url =
|
||||||
|
|
||||||
|
|
||||||
|
[post_write_hooks]
|
||||||
|
# post_write_hooks defines scripts or Python functions that are run
|
||||||
|
# on newly generated revision scripts. See the documentation for further
|
||||||
|
# detail and examples
|
||||||
|
|
||||||
|
# format using "black" - use the console_scripts runner, against the "black" entrypoint
|
||||||
|
# hooks = black
|
||||||
|
# black.type = console_scripts
|
||||||
|
# black.entrypoint = black
|
||||||
|
# black.options = -l 79 REVISION_SCRIPT_FILENAME
|
||||||
|
|
||||||
|
# lint with attempts to fix using "ruff" - use the module runner, against the "ruff" module
|
||||||
|
# hooks = ruff
|
||||||
|
# ruff.type = module
|
||||||
|
# ruff.module = ruff
|
||||||
|
# ruff.options = check --fix REVISION_SCRIPT_FILENAME
|
||||||
|
|
||||||
|
# Alternatively, use the exec runner to execute a binary found on your PATH
|
||||||
|
# hooks = ruff
|
||||||
|
# ruff.type = exec
|
||||||
|
# ruff.executable = ruff
|
||||||
|
# ruff.options = check --fix REVISION_SCRIPT_FILENAME
|
||||||
|
|
||||||
|
# Logging configuration. This is also consumed by the user-maintained
|
||||||
|
# env.py script only.
|
||||||
|
[loggers]
|
||||||
|
keys = root,sqlalchemy,alembic
|
||||||
|
|
||||||
|
[handlers]
|
||||||
|
keys = console
|
||||||
|
|
||||||
|
[formatters]
|
||||||
|
keys = generic
|
||||||
|
|
||||||
|
[logger_root]
|
||||||
|
level = WARNING
|
||||||
|
handlers = console
|
||||||
|
qualname =
|
||||||
|
|
||||||
|
[logger_sqlalchemy]
|
||||||
|
level = WARNING
|
||||||
|
handlers =
|
||||||
|
qualname = sqlalchemy.engine
|
||||||
|
|
||||||
|
[logger_alembic]
|
||||||
|
level = INFO
|
||||||
|
handlers =
|
||||||
|
qualname = alembic
|
||||||
|
|
||||||
|
[handler_console]
|
||||||
|
class = StreamHandler
|
||||||
|
args = (sys.stderr,)
|
||||||
|
level = NOTSET
|
||||||
|
formatter = generic
|
||||||
|
|
||||||
|
[formatter_generic]
|
||||||
|
format = %(levelname)-5.5s [%(name)s] %(message)s
|
||||||
|
datefmt = %H:%M:%S
|
||||||
@@ -0,0 +1,306 @@
|
|||||||
|
x-api: &api
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
environment: &api-environment
|
||||||
|
APP_ENV: lab
|
||||||
|
TELEMETRY_ENABLED: "${TELEMETRY_ENABLED:-1}"
|
||||||
|
TELEMETRY_TRACE_SAMPLE_RATIO: "${TELEMETRY_TRACE_SAMPLE_RATIO:-1.0}"
|
||||||
|
TELEMETRY_BENCHMARK_ENABLED: "${TELEMETRY_BENCHMARK_ENABLED:-0}"
|
||||||
|
SESSION_TTL_SECONDS: 3600
|
||||||
|
DATABASE_URL_FILE: /run/secrets/database_url
|
||||||
|
CACHE_URL_FILE: /run/secrets/cache_url
|
||||||
|
S3_ENDPOINT: http://s3:9000
|
||||||
|
S3_REGION: us-east-1
|
||||||
|
S3_BUCKET: messenger-attachments
|
||||||
|
S3_ACCESS_KEY_ID_FILE: /run/secrets/s3_access_key_id
|
||||||
|
S3_SECRET_ACCESS_KEY_FILE: /run/secrets/s3_secret_access_key
|
||||||
|
MAX_UPLOAD_BYTES: 10485760
|
||||||
|
MAX_IMAGE_PIXELS: 40000000
|
||||||
|
RABBITMQ_HOST: rabbitmq
|
||||||
|
RABBITMQ_PASSWORD_FILE: /run/secrets/rabbitmq_password
|
||||||
|
secrets:
|
||||||
|
- database_url
|
||||||
|
- cache_url
|
||||||
|
- s3_access_key_id
|
||||||
|
- s3_secret_access_key
|
||||||
|
- rabbitmq_password
|
||||||
|
depends_on:
|
||||||
|
migrate:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
redis:
|
||||||
|
condition: service_healthy
|
||||||
|
s3-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
expose:
|
||||||
|
- "8080"
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 15s
|
||||||
|
mem_limit: 512m
|
||||||
|
cpus: 1.0
|
||||||
|
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:17.6
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: messenger
|
||||||
|
POSTGRES_USER: lab2
|
||||||
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
||||||
|
secrets:
|
||||||
|
- postgres_password
|
||||||
|
volumes:
|
||||||
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U lab2 -d messenger"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 3s
|
||||||
|
retries: 10
|
||||||
|
restart: unless-stopped
|
||||||
|
cpus: 1.0
|
||||||
|
mem_limit: 768m
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:8.2.2
|
||||||
|
command:
|
||||||
|
- redis-server
|
||||||
|
- --appendonly
|
||||||
|
- "yes"
|
||||||
|
- --appendfsync
|
||||||
|
- everysec
|
||||||
|
volumes:
|
||||||
|
- redis_data:/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 3s
|
||||||
|
retries: 10
|
||||||
|
restart: unless-stopped
|
||||||
|
cpus: 0.5
|
||||||
|
mem_limit: 256m
|
||||||
|
|
||||||
|
s3:
|
||||||
|
image: dappros/minio:RELEASE.2025-09-07T16-13-09Z
|
||||||
|
command: server /data --console-address ":9001"
|
||||||
|
environment:
|
||||||
|
MINIO_ROOT_USER_FILE: /run/secrets/minio_root_user
|
||||||
|
MINIO_ROOT_PASSWORD_FILE: /run/secrets/minio_root_password
|
||||||
|
secrets:
|
||||||
|
- minio_root_user
|
||||||
|
- minio_root_password
|
||||||
|
- s3_access_key_id
|
||||||
|
- s3_secret_access_key
|
||||||
|
volumes:
|
||||||
|
- s3_data:/data
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:9001:9001"
|
||||||
|
healthcheck:
|
||||||
|
test: [ "CMD", "mc", "ready", "local" ]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 10
|
||||||
|
start_period: 15s
|
||||||
|
restart: unless-stopped
|
||||||
|
cpus: 1.0
|
||||||
|
mem_limit: 512m
|
||||||
|
|
||||||
|
s3-init:
|
||||||
|
image: dappros/minio:RELEASE.2025-09-07T16-13-09Z
|
||||||
|
entrypoint: [ "/bin/sh", "/config/init.sh" ]
|
||||||
|
volumes:
|
||||||
|
- ./infra/minio/init.sh:/config/init.sh:ro
|
||||||
|
- ./infra/minio/attachments-policy.json:/config/attachments-policy.json:ro
|
||||||
|
secrets:
|
||||||
|
- minio_root_user
|
||||||
|
- minio_root_password
|
||||||
|
- s3_access_key_id
|
||||||
|
- s3_secret_access_key
|
||||||
|
depends_on:
|
||||||
|
s3:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: "no"
|
||||||
|
cpus: 0.5
|
||||||
|
mem_limit: 256m
|
||||||
|
|
||||||
|
migrate:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
command: ["alembic", "upgrade", "head"]
|
||||||
|
secrets:
|
||||||
|
- database_url
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: "no"
|
||||||
|
cpus: 1.0
|
||||||
|
mem_limit: 512m
|
||||||
|
|
||||||
|
api-1:
|
||||||
|
<<: *api
|
||||||
|
environment:
|
||||||
|
<<: *api-environment
|
||||||
|
INSTANCE_ID: api-1
|
||||||
|
|
||||||
|
api-2:
|
||||||
|
<<: *api
|
||||||
|
environment:
|
||||||
|
<<: *api-environment
|
||||||
|
INSTANCE_ID: api-2
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
image: nginx:1.29-alpine
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./infra/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
|
depends_on:
|
||||||
|
- api-1
|
||||||
|
- api-2
|
||||||
|
restart: unless-stopped
|
||||||
|
cpus: 0.5
|
||||||
|
mem_limit: 256m
|
||||||
|
|
||||||
|
rabbitmq:
|
||||||
|
image: rabbitmq:4.1.4-management-alpine
|
||||||
|
hostname: rabbitmq
|
||||||
|
environment:
|
||||||
|
RABBITMQ_CONFIG_FILE: /etc/rabbitmq/rabbitmq
|
||||||
|
secrets:
|
||||||
|
- rabbitmq_password
|
||||||
|
volumes:
|
||||||
|
- rabbitmq_data:/var/lib/rabbitmq
|
||||||
|
- ./infra/rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "rabbitmq-diagnostics", "-q", "check_running"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 15s
|
||||||
|
retries: 10
|
||||||
|
start_period: 40s
|
||||||
|
restart: unless-stopped
|
||||||
|
mem_limit: 512m
|
||||||
|
cpus: 0.5
|
||||||
|
|
||||||
|
dispatcher:
|
||||||
|
<<: *api
|
||||||
|
command: [ "python", "-m", "src.dispatcher" ]
|
||||||
|
depends_on:
|
||||||
|
migrate:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
|
s3-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
healthcheck:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
worker:
|
||||||
|
<<: *api
|
||||||
|
command: [ "python", "-m", "src.worker" ]
|
||||||
|
depends_on:
|
||||||
|
migrate:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
|
s3-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
healthcheck:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
|
||||||
|
otel-collector:
|
||||||
|
image: otel/opentelemetry-collector-contrib:0.120.0
|
||||||
|
command: ["--config=/etc/otelcol/config.yaml"]
|
||||||
|
volumes:
|
||||||
|
- ./infra/otel/${TELEMETRY_COLLECTOR_CONFIG:-config.yaml}:/etc/otelcol/config.yaml:ro
|
||||||
|
depends_on:
|
||||||
|
- loki
|
||||||
|
- tempo
|
||||||
|
restart: unless-stopped
|
||||||
|
mem_limit: 256m
|
||||||
|
cpus: 0.5
|
||||||
|
|
||||||
|
prometheus:
|
||||||
|
image: prom/prometheus:v3.2.1
|
||||||
|
command:
|
||||||
|
- --config.file=/etc/prometheus/prometheus.yml
|
||||||
|
- --storage.tsdb.path=/prometheus
|
||||||
|
- --storage.tsdb.retention.time=7d
|
||||||
|
- --storage.tsdb.retention.size=1GB
|
||||||
|
volumes:
|
||||||
|
- ./infra/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml:ro
|
||||||
|
- ./infra/prometheus/rules.yaml:/etc/prometheus/rules.yml:ro
|
||||||
|
- prometheus_data:/prometheus
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:9090:9090"
|
||||||
|
restart: unless-stopped
|
||||||
|
mem_limit: 512m
|
||||||
|
cpus: 0.5
|
||||||
|
|
||||||
|
loki:
|
||||||
|
image: grafana/loki:3.4.2
|
||||||
|
command: ["-config.file=/etc/loki/config.yaml"]
|
||||||
|
volumes:
|
||||||
|
- ./infra/loki/loki.yaml:/etc/loki/config.yaml:ro
|
||||||
|
- loki_data:/loki
|
||||||
|
restart: unless-stopped
|
||||||
|
mem_limit: 512m
|
||||||
|
cpus: 0.5
|
||||||
|
|
||||||
|
tempo:
|
||||||
|
image: grafana/tempo:2.7.1
|
||||||
|
command: ["-config.file=/etc/tempo/config.yaml"]
|
||||||
|
volumes:
|
||||||
|
- ./infra/tempo/tempo.yaml:/etc/tempo/config.yaml:ro
|
||||||
|
- tempo_data:/var/tempo
|
||||||
|
restart: unless-stopped
|
||||||
|
mem_limit: 512m
|
||||||
|
cpus: 0.5
|
||||||
|
|
||||||
|
grafana:
|
||||||
|
image: grafana/grafana:11.5.2
|
||||||
|
environment:
|
||||||
|
GF_SECURITY_ADMIN_USER: admin
|
||||||
|
GF_SECURITY_ADMIN_PASSWORD: ${GRAFANA_ADMIN_PASSWORD:?Set GRAFANA_ADMIN_PASSWORD in .env}
|
||||||
|
GF_USERS_ALLOW_SIGN_UP: "false"
|
||||||
|
GF_ANALYTICS_REPORTING_ENABLED: "false"
|
||||||
|
volumes:
|
||||||
|
- grafana_data:/var/lib/grafana
|
||||||
|
- ./infra/grafana/provisioning:/etc/grafana/provisioning:ro
|
||||||
|
- ./infra/grafana/dashboards:/var/lib/grafana/dashboards:ro
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:3000:3000"
|
||||||
|
depends_on:
|
||||||
|
- prometheus
|
||||||
|
- loki
|
||||||
|
- tempo
|
||||||
|
restart: unless-stopped
|
||||||
|
mem_limit: 384m
|
||||||
|
cpus: 0.5
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
postgres_password:
|
||||||
|
file: ./secrets/postgres_password
|
||||||
|
database_url:
|
||||||
|
file: ./secrets/database_url
|
||||||
|
cache_url:
|
||||||
|
file: ./secrets/cache_url
|
||||||
|
minio_root_user:
|
||||||
|
file: ./secrets/minio_root_user
|
||||||
|
minio_root_password:
|
||||||
|
file: ./secrets/minio_root_password
|
||||||
|
s3_access_key_id:
|
||||||
|
file: ./secrets/s3_access_key_id
|
||||||
|
s3_secret_access_key:
|
||||||
|
file: ./secrets/s3_secret_access_key
|
||||||
|
rabbitmq_password:
|
||||||
|
file: ./secrets/rabbitmq_password
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
prometheus_data:
|
||||||
|
loki_data:
|
||||||
|
tempo_data:
|
||||||
|
grafana_data:
|
||||||
|
postgres_data:
|
||||||
|
redis_data:
|
||||||
|
s3_data:
|
||||||
|
rabbitmq_data:
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
=== Lab 6: Grade 3 verification ===
|
||||||
|
2026-11-23T21:13:37+03:00
|
||||||
|
|
||||||
|
=== Git branch and base commit ===
|
||||||
|
solution/bvt2304-travkin
|
||||||
|
470d9d6f1e4fe4f594e37c2ba59550ee5ca54fc1
|
||||||
|
|
||||||
|
=== Environment ===
|
||||||
|
Python 3.13.15
|
||||||
|
Docker version 29.8.0, build 88096ef
|
||||||
|
Docker Compose version v5.5.1
|
||||||
|
20
|
||||||
|
total used free shared buff/cache available
|
||||||
|
Mem: 11Gi 2.4Gi 7.0Gi 87Mi 2.4Gi 8.9Gi
|
||||||
|
Swap: 4.0Gi 0B 4.0Gi
|
||||||
|
|
||||||
|
=== Container resource limits ===
|
||||||
|
api-1 memory: 536870912 cpus: 1
|
||||||
|
api-2 memory: 536870912 cpus: 1
|
||||||
|
dispatcher memory: 536870912 cpus: 1
|
||||||
|
grafana memory: 402653184 cpus: 0.5
|
||||||
|
loki memory: 536870912 cpus: 0.5
|
||||||
|
migrate memory: 536870912 cpus: 1
|
||||||
|
nginx memory: 268435456 cpus: 0.5
|
||||||
|
otel-collector memory: 268435456 cpus: 0.5
|
||||||
|
postgres memory: 805306368 cpus: 1
|
||||||
|
prometheus memory: 536870912 cpus: 0.5
|
||||||
|
rabbitmq memory: 536870912 cpus: 0.5
|
||||||
|
redis memory: 268435456 cpus: 0.5
|
||||||
|
s3 memory: 536870912 cpus: 1
|
||||||
|
s3-init memory: 268435456 cpus: 0.5
|
||||||
|
tempo memory: 536870912 cpus: 0.5
|
||||||
|
worker memory: 536870912 cpus: 1
|
||||||
|
|
||||||
|
=== Contract check ===
|
||||||
|
python3 scripts/check_contract.py
|
||||||
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||||
|
|
||||||
|
=== OpenAPI validation ===
|
||||||
|
python3 scripts/validate_openapi.py
|
||||||
|
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||||
|
|
||||||
|
=== Compose validation ===
|
||||||
|
PASS
|
||||||
|
|
||||||
|
=== Containers ===
|
||||||
|
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||||
|
mtusi2026lab6-api-1-1 mtusi2026lab6-api-1 "uvicorn src.main:ap…" api-1 30 minutes ago Up 21 minutes (healthy) 8080/tcp
|
||||||
|
mtusi2026lab6-api-2-1 mtusi2026lab6-api-2 "uvicorn src.main:ap…" api-2 30 minutes ago Up 21 minutes (healthy) 8080/tcp
|
||||||
|
mtusi2026lab6-dispatcher-1 mtusi2026lab6-dispatcher "python -m src.dispa…" dispatcher 30 minutes ago Up 20 minutes 8080/tcp
|
||||||
|
mtusi2026lab6-grafana-1 grafana/grafana:11.5.2 "/run.sh" grafana 2 hours ago Up 21 minutes 127.0.0.1:3000->3000/tcp
|
||||||
|
mtusi2026lab6-loki-1 grafana/loki:3.4.2 "/usr/bin/loki -conf…" loki 2 hours ago Up 21 minutes 3100/tcp
|
||||||
|
mtusi2026lab6-nginx-1 nginx:1.29-alpine "/docker-entrypoint.…" nginx 3 days ago Up 21 minutes 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp
|
||||||
|
mtusi2026lab6-otel-collector-1 otel/opentelemetry-collector-contrib:0.120.0 "/otelcol-contrib --…" otel-collector 2 hours ago Up 21 minutes 4317-4318/tcp, 55678-55679/tcp
|
||||||
|
mtusi2026lab6-postgres-1 postgres:17.6 "docker-entrypoint.s…" postgres 3 days ago Up 21 minutes (healthy) 5432/tcp
|
||||||
|
mtusi2026lab6-prometheus-1 prom/prometheus:v3.2.1 "/bin/prometheus --c…" prometheus 2 hours ago Up 21 minutes 127.0.0.1:9090->9090/tcp
|
||||||
|
mtusi2026lab6-rabbitmq-1 rabbitmq:4.1.4-management-alpine "docker-entrypoint.s…" rabbitmq 3 days ago Up 21 minutes (healthy) 4369/tcp, 5671-5672/tcp, 15671-15672/tcp, 15691-15692/tcp, 25672/tcp
|
||||||
|
mtusi2026lab6-redis-1 redis:8.2.2 "docker-entrypoint.s…" redis 3 days ago Up 21 minutes (healthy) 6379/tcp
|
||||||
|
mtusi2026lab6-s3-1 dappros/minio:RELEASE.2025-09-07T16-13-09Z "/usr/bin/docker-ent…" s3 3 days ago Up 21 minutes (healthy) 127.0.0.1:9001->9001/tcp
|
||||||
|
mtusi2026lab6-tempo-1 grafana/tempo:2.7.1 "/tempo -config.file…" tempo 2 hours ago Up 21 minutes
|
||||||
|
mtusi2026lab6-worker-1 mtusi2026lab6-worker "python -m src.worker" worker 30 minutes ago Up 20 minutes 8080/tcp
|
||||||
|
|
||||||
|
=== Smoke test ===
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
After Width: | Height: | Size: 341 KiB |
|
After Width: | Height: | Size: 334 KiB |
|
After Width: | Height: | Size: 311 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 287 KiB |
|
After Width: | Height: | Size: 236 KiB |
|
After Width: | Height: | Size: 333 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 498 KiB |
@@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
=== sum by (outcome) (messenger_jobs_total) ===
|
||||||
|
{'outcome': 'success'} 2
|
||||||
|
{'outcome': 'retry'} 1
|
||||||
|
|
||||||
|
=== sum by (outcome) (increase(messenger_jobs_total[5m])) ===
|
||||||
|
{'outcome': 'success'} 1.0672198986211507
|
||||||
|
{'outcome': 'retry'} 0
|
||||||
|
|
||||||
|
=== max_over_time(messenger_worker_busy[5m]) ===
|
||||||
|
{'deployment_environment_name': 'lab', 'exported_instance': 'b6278c820248', 'exported_job': 'messenger-worker', 'instance': 'otel-collector:8889', 'job': 'otel-collector', 'service_instance_id': 'b6278c820248', 'service_name': 'messenger-worker', 'service_version': '6.0.0', 'telemetry_sdk_language': 'python', 'telemetry_sdk_name': 'opentelemetry', 'telemetry_sdk_version': '1.45.2'} 0
|
||||||
|
{'deployment_environment_name': 'lab', 'exported_instance': 'a60db76c87a5', 'exported_job': 'messenger-worker', 'instance': 'otel-collector:8889', 'job': 'otel-collector', 'service_instance_id': 'a60db76c87a5', 'service_name': 'messenger-worker', 'service_version': '6.0.0', 'telemetry_sdk_language': 'python', 'telemetry_sdk_name': 'opentelemetry', 'telemetry_sdk_version': '1.45.2'} 1
|
||||||
|
|
||||||
|
=== messenger_worker_capacity ===
|
||||||
|
{'__name__': 'messenger_worker_capacity', 'deployment_environment_name': 'lab', 'exported_instance': 'a60db76c87a5', 'exported_job': 'messenger-worker', 'instance': 'otel-collector:8889', 'job': 'otel-collector', 'service_instance_id': 'a60db76c87a5', 'service_name': 'messenger-worker', 'service_version': '6.0.0', 'telemetry_sdk_language': 'python', 'telemetry_sdk_name': 'opentelemetry', 'telemetry_sdk_version': '1.45.2'} 1
|
||||||
|
|
||||||
|
=== messenger_worker_busy ===
|
||||||
|
{'__name__': 'messenger_worker_busy', 'deployment_environment_name': 'lab', 'exported_instance': 'a60db76c87a5', 'exported_job': 'messenger-worker', 'instance': 'otel-collector:8889', 'job': 'otel-collector', 'service_instance_id': 'a60db76c87a5', 'service_name': 'messenger-worker', 'service_version': '6.0.0', 'telemetry_sdk_language': 'python', 'telemetry_sdk_name': 'opentelemetry', 'telemetry_sdk_version': '1.45.2'} 0
|
||||||
|
|
||||||
|
=== messenger_attachment_ready_duration_seconds_count ===
|
||||||
|
{'__name__': 'messenger_attachment_ready_duration_seconds_count', 'deployment_environment_name': 'lab', 'exported_instance': 'a60db76c87a5', 'exported_job': 'messenger-worker', 'instance': 'otel-collector:8889', 'job': 'otel-collector', 'job_type': 'attachment.process.v1', 'service_instance_id': 'a60db76c87a5', 'service_name': 'messenger-worker', 'service_version': '6.0.0', 'telemetry_sdk_language': 'python', 'telemetry_sdk_name': 'opentelemetry', 'telemetry_sdk_version': '1.45.2'} 2
|
||||||
|
|
||||||
|
=== messenger_queue_depth ===
|
||||||
|
{'__name__': 'messenger_queue_depth', 'deployment_environment_name': 'lab', 'exported_instance': 'efee40d00d01', 'exported_job': 'messenger-dispatcher', 'instance': 'otel-collector:8889', 'job': 'otel-collector', 'queue_name': 'attachment.process.v1', 'service_instance_id': 'efee40d00d01', 'service_name': 'messenger-dispatcher', 'service_version': '6.0.0', 'telemetry_sdk_language': 'python', 'telemetry_sdk_name': 'opentelemetry', 'telemetry_sdk_version': '1.45.2'} 0
|
||||||
|
|
||||||
|
=== messenger_queue_oldest_age_seconds ===
|
||||||
|
{'__name__': 'messenger_queue_oldest_age_seconds', 'deployment_environment_name': 'lab', 'exported_instance': 'efee40d00d01', 'exported_job': 'messenger-dispatcher', 'instance': 'otel-collector:8889', 'job': 'otel-collector', 'queue_name': 'attachment.process.v1', 'service_instance_id': 'efee40d00d01', 'service_name': 'messenger-dispatcher', 'service_version': '6.0.0', 'telemetry_sdk_language': 'python', 'telemetry_sdk_name': 'opentelemetry', 'telemetry_sdk_version': '1.45.2'} 0
|
||||||
|
After Width: | Height: | Size: 445 KiB |
|
After Width: | Height: | Size: 138 KiB |
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
=== otelcol_exporter_queue_size ===
|
||||||
|
{'__name__': 'otelcol_exporter_queue_size', 'data_type': 'logs', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 0
|
||||||
|
{'__name__': 'otelcol_exporter_queue_size', 'data_type': 'traces', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 0
|
||||||
|
|
||||||
|
=== otelcol_exporter_queue_capacity ===
|
||||||
|
{'__name__': 'otelcol_exporter_queue_capacity', 'data_type': 'logs', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 128
|
||||||
|
{'__name__': 'otelcol_exporter_queue_capacity', 'data_type': 'traces', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 128
|
||||||
|
|
||||||
|
=== otelcol_process_memory_rss ===
|
||||||
|
{'__name__': 'otelcol_process_memory_rss', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 209420288
|
||||||
|
|
||||||
|
=== {__name__=~"otelcol_exporter_.*(spans|log_records).*"} ===
|
||||||
|
{'__name__': 'otelcol_exporter_send_failed_log_records', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 0
|
||||||
|
{'__name__': 'otelcol_exporter_send_failed_spans', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 0
|
||||||
|
{'__name__': 'otelcol_exporter_sent_log_records', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 1659
|
||||||
|
{'__name__': 'otelcol_exporter_sent_spans', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 19586
|
||||||
|
|
||||||
|
=== {__name__=~"otelcol_receiver_.*(spans|log_records).*"} ===
|
||||||
|
{'__name__': 'otelcol_receiver_accepted_log_records', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 1659
|
||||||
|
{'__name__': 'otelcol_receiver_accepted_spans', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 19586
|
||||||
|
{'__name__': 'otelcol_receiver_refused_log_records', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 0
|
||||||
|
{'__name__': 'otelcol_receiver_refused_spans', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 0
|
||||||
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 156 KiB |
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
=== otelcol_exporter_queue_size ===
|
||||||
|
{'__name__': 'otelcol_exporter_queue_size', 'data_type': 'logs', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 51
|
||||||
|
{'__name__': 'otelcol_exporter_queue_size', 'data_type': 'traces', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 56
|
||||||
|
|
||||||
|
=== otelcol_exporter_queue_capacity ===
|
||||||
|
{'__name__': 'otelcol_exporter_queue_capacity', 'data_type': 'logs', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 128
|
||||||
|
{'__name__': 'otelcol_exporter_queue_capacity', 'data_type': 'traces', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 128
|
||||||
|
|
||||||
|
=== otelcol_process_memory_rss ===
|
||||||
|
{'__name__': 'otelcol_process_memory_rss', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 203780096
|
||||||
|
|
||||||
|
=== {__name__=~"otelcol_exporter_.*(spans|log_records).*"} ===
|
||||||
|
{'__name__': 'otelcol_exporter_send_failed_log_records', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 64
|
||||||
|
{'__name__': 'otelcol_exporter_send_failed_spans', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 352
|
||||||
|
{'__name__': 'otelcol_exporter_sent_log_records', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 1663
|
||||||
|
{'__name__': 'otelcol_exporter_sent_spans', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 19678
|
||||||
|
|
||||||
|
=== {__name__=~"otelcol_receiver_.*(spans|log_records).*"} ===
|
||||||
|
{'__name__': 'otelcol_receiver_accepted_log_records', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 2332
|
||||||
|
{'__name__': 'otelcol_receiver_accepted_spans', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 23608
|
||||||
|
{'__name__': 'otelcol_receiver_refused_log_records', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 0
|
||||||
|
{'__name__': 'otelcol_receiver_refused_spans', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 0
|
||||||
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 154 KiB |
@@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
=== otelcol_exporter_queue_size ===
|
||||||
|
{'__name__': 'otelcol_exporter_queue_size', 'data_type': 'logs', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 0
|
||||||
|
{'__name__': 'otelcol_exporter_queue_size', 'data_type': 'traces', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 0
|
||||||
|
|
||||||
|
=== otelcol_exporter_queue_capacity ===
|
||||||
|
{'__name__': 'otelcol_exporter_queue_capacity', 'data_type': 'logs', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 128
|
||||||
|
{'__name__': 'otelcol_exporter_queue_capacity', 'data_type': 'traces', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 128
|
||||||
|
|
||||||
|
=== otelcol_process_memory_rss / 1024 / 1024 ===
|
||||||
|
{'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 198.5
|
||||||
|
|
||||||
|
=== otelcol_exporter_send_failed_spans ===
|
||||||
|
{'__name__': 'otelcol_exporter_send_failed_spans', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 913
|
||||||
|
|
||||||
|
=== otelcol_exporter_send_failed_log_records ===
|
||||||
|
{'__name__': 'otelcol_exporter_send_failed_log_records', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 143
|
||||||
|
|
||||||
|
=== otelcol_exporter_sent_spans ===
|
||||||
|
{'__name__': 'otelcol_exporter_sent_spans', 'exporter': 'otlp/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 25673
|
||||||
|
|
||||||
|
=== otelcol_exporter_sent_log_records ===
|
||||||
|
{'__name__': 'otelcol_exporter_sent_log_records', 'exporter': 'otlphttp/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1'} 2380
|
||||||
|
|
||||||
|
=== otelcol_receiver_accepted_spans ===
|
||||||
|
{'__name__': 'otelcol_receiver_accepted_spans', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 26594
|
||||||
|
|
||||||
|
=== otelcol_receiver_accepted_log_records ===
|
||||||
|
{'__name__': 'otelcol_receiver_accepted_log_records', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 2523
|
||||||
|
|
||||||
|
=== otelcol_receiver_refused_spans ===
|
||||||
|
{'__name__': 'otelcol_receiver_refused_spans', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 0
|
||||||
|
|
||||||
|
=== otelcol_receiver_refused_log_records ===
|
||||||
|
{'__name__': 'otelcol_receiver_refused_log_records', 'instance': 'otel-collector:8888', 'job': 'otel-collector-internal', 'receiver': 'otlp', 'service.instance.id': '5efc7ed0-ab90-45c3-b895-76ac6853bcd2', 'service.name': 'otelcol-contrib', 'service.version': '0.120.1', 'transport': 'http'} 0
|
||||||
|
After Width: | Height: | Size: 409 KiB |
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "balanced-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795615530.4455256,
|
||||||
|
"finished_at_unix": 1795615591.1349049,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.987,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.004,
|
||||||
|
"successful_rps": 20.004,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 33.696,
|
||||||
|
"p95": 74.59,
|
||||||
|
"p99": 136.534,
|
||||||
|
"mean": 41.202
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 33.696,
|
||||||
|
"p95": 74.59,
|
||||||
|
"p99": 136.534,
|
||||||
|
"mean": 41.202
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 34.29,
|
||||||
|
"p95": 75.158,
|
||||||
|
"p99": 136.782,
|
||||||
|
"mean": 41.834
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.438,
|
||||||
|
"p95": 1.264,
|
||||||
|
"p99": 5.045,
|
||||||
|
"mean": 0.632
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 4289.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 613.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 551.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 551.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 9849.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 15935.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 2039.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1770.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1770.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 13412.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 11646.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 1426.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1219.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1219.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 3563.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 36.623,
|
||||||
|
"cpu_peak_percent": 72.78,
|
||||||
|
"ram_mean_mib": 100.404,
|
||||||
|
"ram_peak_mib": 107.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 34.883,
|
||||||
|
"cpu_peak_percent": 96.07,
|
||||||
|
"ram_mean_mib": 99.945,
|
||||||
|
"ram_peak_mib": 109.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.298,
|
||||||
|
"cpu_peak_percent": 4.22,
|
||||||
|
"ram_mean_mib": 53.471,
|
||||||
|
"ram_peak_mib": 56.2
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.217,
|
||||||
|
"cpu_peak_percent": 0.62,
|
||||||
|
"ram_mean_mib": 81.169,
|
||||||
|
"ram_peak_mib": 81.29
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 3.494,
|
||||||
|
"cpu_peak_percent": 13.98,
|
||||||
|
"ram_mean_mib": 74.569,
|
||||||
|
"ram_peak_mib": 76.91
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.362,
|
||||||
|
"cpu_peak_percent": 4.6,
|
||||||
|
"ram_mean_mib": 123.647,
|
||||||
|
"ram_peak_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.254,
|
||||||
|
"cpu_peak_percent": 2.9,
|
||||||
|
"ram_mean_mib": 137.763,
|
||||||
|
"ram_peak_mib": 144.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.617,
|
||||||
|
"cpu_peak_percent": 3.89,
|
||||||
|
"ram_mean_mib": 216.005,
|
||||||
|
"ram_peak_mib": 216.2
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 74.022,
|
||||||
|
"cpu_peak_percent": 131.82,
|
||||||
|
"ram_mean_mib": 334.989,
|
||||||
|
"ram_peak_mib": 343.28
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 6.727,
|
||||||
|
"cpu_peak_percent": 16.7,
|
||||||
|
"ram_mean_mib": 551.985,
|
||||||
|
"ram_peak_mib": 561.07
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795615532.743602,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 54.92,
|
||||||
|
"memory_mib": 99.37
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.23,
|
||||||
|
"memory_mib": 98.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.46,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.37,
|
||||||
|
"memory_mib": 73.12
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.96,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 135.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 215.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615535.9543827,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 32.0,
|
||||||
|
"memory_mib": 99.39
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 39.73,
|
||||||
|
"memory_mib": 98.39
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.03,
|
||||||
|
"memory_mib": 56.2
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.59,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 13.98,
|
||||||
|
"memory_mib": 73.39
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.1,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.95,
|
||||||
|
"memory_mib": 136.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 215.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615539.1406503,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.0,
|
||||||
|
"memory_mib": 99.71
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 38.94,
|
||||||
|
"memory_mib": 102.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 73.16
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.55,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.42,
|
||||||
|
"memory_mib": 136.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.37,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615542.3295918,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 45.0,
|
||||||
|
"memory_mib": 107.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.27,
|
||||||
|
"memory_mib": 98.64
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.93,
|
||||||
|
"memory_mib": 56.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.75,
|
||||||
|
"memory_mib": 73.2
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.82,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.96,
|
||||||
|
"memory_mib": 136.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.22,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615545.5963585,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.85,
|
||||||
|
"memory_mib": 99.41
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.56,
|
||||||
|
"memory_mib": 98.91
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.22,
|
||||||
|
"memory_mib": 56.17
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.62,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.01,
|
||||||
|
"memory_mib": 73.46
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.88,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.77,
|
||||||
|
"memory_mib": 136.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.55,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615549.2029746,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.78,
|
||||||
|
"memory_mib": 99.62
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.12,
|
||||||
|
"memory_mib": 98.31
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.66,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 73.34
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.15,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.83,
|
||||||
|
"memory_mib": 136.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.65,
|
||||||
|
"memory_mib": 216.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615552.4573617,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.02,
|
||||||
|
"memory_mib": 99.54
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.32,
|
||||||
|
"memory_mib": 98.75
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.43,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.49,
|
||||||
|
"memory_mib": 73.35
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.2,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.43,
|
||||||
|
"memory_mib": 136.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.51,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615555.67594,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 58.04,
|
||||||
|
"memory_mib": 99.32
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 31.37,
|
||||||
|
"memory_mib": 98.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.37,
|
||||||
|
"memory_mib": 51.95
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.53,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 9.51,
|
||||||
|
"memory_mib": 73.35
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 4.6,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.83,
|
||||||
|
"memory_mib": 136.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.76,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615558.8783464,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.44,
|
||||||
|
"memory_mib": 99.61
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.39,
|
||||||
|
"memory_mib": 98.67
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.75,
|
||||||
|
"memory_mib": 51.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.08,
|
||||||
|
"memory_mib": 73.23
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.43,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.59,
|
||||||
|
"memory_mib": 136.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615562.0848508,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.54,
|
||||||
|
"memory_mib": 99.37
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 96.07,
|
||||||
|
"memory_mib": 109.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.73,
|
||||||
|
"memory_mib": 52.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.48,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.18,
|
||||||
|
"memory_mib": 73.48
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.24,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.9,
|
||||||
|
"memory_mib": 136.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.83,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615565.2659261,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 46.65,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.34,
|
||||||
|
"memory_mib": 98.72
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.87,
|
||||||
|
"memory_mib": 51.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.48,
|
||||||
|
"memory_mib": 73.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.81,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.04,
|
||||||
|
"memory_mib": 136.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.11,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615568.4253376,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.99,
|
||||||
|
"memory_mib": 99.67
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 32.77,
|
||||||
|
"memory_mib": 98.79
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.47,
|
||||||
|
"memory_mib": 51.95
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 73.39
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.89,
|
||||||
|
"memory_mib": 136.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615571.6611736,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.33,
|
||||||
|
"memory_mib": 99.73
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.29,
|
||||||
|
"memory_mib": 98.73
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 4.22,
|
||||||
|
"memory_mib": 51.97
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.56,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.72,
|
||||||
|
"memory_mib": 76.73
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.72,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.44,
|
||||||
|
"memory_mib": 137.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.13,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615574.8295143,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.82,
|
||||||
|
"memory_mib": 99.77
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 32.8,
|
||||||
|
"memory_mib": 98.74
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.45,
|
||||||
|
"memory_mib": 51.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.95,
|
||||||
|
"memory_mib": 76.73
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.24,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 137.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615578.2828789,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 72.78,
|
||||||
|
"memory_mib": 99.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 22.56,
|
||||||
|
"memory_mib": 98.75
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.86,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.17
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.44,
|
||||||
|
"memory_mib": 76.62
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.92,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.52,
|
||||||
|
"memory_mib": 138.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 3.89,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615581.4917798,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.4,
|
||||||
|
"memory_mib": 99.83
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.44,
|
||||||
|
"memory_mib": 99.01
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.96,
|
||||||
|
"memory_mib": 51.93
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.61,
|
||||||
|
"memory_mib": 81.29
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.28,
|
||||||
|
"memory_mib": 76.76
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.29,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.9,
|
||||||
|
"memory_mib": 139.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615584.6564186,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.19,
|
||||||
|
"memory_mib": 99.93
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 64.47,
|
||||||
|
"memory_mib": 108.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.14,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.17
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.98,
|
||||||
|
"memory_mib": 76.91
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.48,
|
||||||
|
"memory_mib": 140.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615587.8543363,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.25,
|
||||||
|
"memory_mib": 99.95
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.23,
|
||||||
|
"memory_mib": 98.82
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.86,
|
||||||
|
"memory_mib": 51.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.17
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.27,
|
||||||
|
"memory_mib": 76.67
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.73,
|
||||||
|
"memory_mib": 123.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.94,
|
||||||
|
"memory_mib": 141.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.26,
|
||||||
|
"memory_mib": 216.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615591.0695899,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 40.84,
|
||||||
|
"memory_mib": 99.45
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.87,
|
||||||
|
"memory_mib": 98.93
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.5,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.51,
|
||||||
|
"memory_mib": 81.17
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.03,
|
||||||
|
"memory_mib": 76.67
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.27,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.34,
|
||||||
|
"memory_mib": 144.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 216.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "balanced-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795615696.7928538,
|
||||||
|
"finished_at_unix": 1795615757.5138233,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 60.011,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 19.996,
|
||||||
|
"successful_rps": 19.996,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 34.463,
|
||||||
|
"p95": 72.451,
|
||||||
|
"p99": 96.034,
|
||||||
|
"mean": 39.988
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 34.463,
|
||||||
|
"p95": 72.451,
|
||||||
|
"p99": 96.034,
|
||||||
|
"mean": 39.988
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 35.062,
|
||||||
|
"p95": 72.915,
|
||||||
|
"p99": 96.397,
|
||||||
|
"mean": 40.586
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.42,
|
||||||
|
"p95": 1.417,
|
||||||
|
"p99": 3.188,
|
||||||
|
"mean": 0.599
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 17551.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 2163.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1933.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1933.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 15876.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 29163.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 3391.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 3151.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 3151.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 20616.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 11612.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 1228.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1218.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1218.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 4740.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 37.794,
|
||||||
|
"cpu_peak_percent": 99.96,
|
||||||
|
"ram_mean_mib": 101.489,
|
||||||
|
"ram_peak_mib": 105.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 34.775,
|
||||||
|
"cpu_peak_percent": 102.05,
|
||||||
|
"ram_mean_mib": 100.206,
|
||||||
|
"ram_peak_mib": 112.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.581,
|
||||||
|
"cpu_peak_percent": 3.59,
|
||||||
|
"ram_mean_mib": 51.896,
|
||||||
|
"ram_peak_mib": 52.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.151,
|
||||||
|
"cpu_peak_percent": 0.65,
|
||||||
|
"ram_mean_mib": 81.563,
|
||||||
|
"ram_peak_mib": 81.67
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 3.097,
|
||||||
|
"cpu_peak_percent": 10.38,
|
||||||
|
"ram_mean_mib": 79.577,
|
||||||
|
"ram_peak_mib": 81.35
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.658,
|
||||||
|
"cpu_peak_percent": 3.54,
|
||||||
|
"ram_mean_mib": 123.732,
|
||||||
|
"ram_peak_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.547,
|
||||||
|
"cpu_peak_percent": 2.77,
|
||||||
|
"ram_mean_mib": 151.774,
|
||||||
|
"ram_peak_mib": 152.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.56,
|
||||||
|
"cpu_peak_percent": 2.87,
|
||||||
|
"ram_mean_mib": 269.626,
|
||||||
|
"ram_peak_mib": 273.6
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 75.301,
|
||||||
|
"cpu_peak_percent": 135.63,
|
||||||
|
"ram_mean_mib": 335.154,
|
||||||
|
"ram_peak_mib": 346.7
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 6.862,
|
||||||
|
"cpu_peak_percent": 14.99,
|
||||||
|
"ram_mean_mib": 624.708,
|
||||||
|
"ram_peak_mib": 631.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795615699.140593,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.42,
|
||||||
|
"memory_mib": 101.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.62,
|
||||||
|
"memory_mib": 99.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.93,
|
||||||
|
"memory_mib": 51.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.65,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 78.03
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.71,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.96,
|
||||||
|
"memory_mib": 151.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 266.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615702.3234193,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.93,
|
||||||
|
"memory_mib": 101.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.5,
|
||||||
|
"memory_mib": 99.54
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.77,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 3.02,
|
||||||
|
"memory_mib": 78.28
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.51,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.91,
|
||||||
|
"memory_mib": 151.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 266.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615705.5533724,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.16,
|
||||||
|
"memory_mib": 100.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.71,
|
||||||
|
"memory_mib": 99.54
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.26,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.37,
|
||||||
|
"memory_mib": 78.79
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.26,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.04,
|
||||||
|
"memory_mib": 151.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.63,
|
||||||
|
"memory_mib": 267.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615708.7881365,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.7,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 102.05,
|
||||||
|
"memory_mib": 112.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.12,
|
||||||
|
"memory_mib": 52.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.22,
|
||||||
|
"memory_mib": 78.79
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.78,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 151.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 267.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615712.0282147,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 66.94,
|
||||||
|
"memory_mib": 101.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.99,
|
||||||
|
"memory_mib": 99.52
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.53,
|
||||||
|
"memory_mib": 51.91
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.86,
|
||||||
|
"memory_mib": 78.67
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.54,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.69,
|
||||||
|
"memory_mib": 151.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.51,
|
||||||
|
"memory_mib": 267.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615715.226711,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.25,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.83,
|
||||||
|
"memory_mib": 99.39
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.29,
|
||||||
|
"memory_mib": 51.91
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.27,
|
||||||
|
"memory_mib": 78.68
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.79,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 151.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 267.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615718.4247336,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.78,
|
||||||
|
"memory_mib": 101.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.5,
|
||||||
|
"memory_mib": 99.53
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.29,
|
||||||
|
"memory_mib": 51.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.58,
|
||||||
|
"memory_mib": 81.67
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 7.19,
|
||||||
|
"memory_mib": 78.8
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.65,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.08,
|
||||||
|
"memory_mib": 151.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.09,
|
||||||
|
"memory_mib": 268.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615721.6332273,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 34.47,
|
||||||
|
"memory_mib": 105.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 33.98,
|
||||||
|
"memory_mib": 99.61
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.2,
|
||||||
|
"memory_mib": 78.69
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.77,
|
||||||
|
"memory_mib": 151.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 268.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615724.847991,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.19,
|
||||||
|
"memory_mib": 101.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.84,
|
||||||
|
"memory_mib": 99.57
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.47,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.67
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.78,
|
||||||
|
"memory_mib": 78.68
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.06,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.17,
|
||||||
|
"memory_mib": 151.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 269.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615728.0273545,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.83,
|
||||||
|
"memory_mib": 101.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.86,
|
||||||
|
"memory_mib": 99.68
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.66,
|
||||||
|
"memory_mib": 51.93
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 9.22,
|
||||||
|
"memory_mib": 78.78
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.29,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.36,
|
||||||
|
"memory_mib": 151.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.65,
|
||||||
|
"memory_mib": 269.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615731.8540204,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 35.42,
|
||||||
|
"memory_mib": 101.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 52.52,
|
||||||
|
"memory_mib": 99.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.29,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.99,
|
||||||
|
"memory_mib": 78.78
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.61,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.89,
|
||||||
|
"memory_mib": 151.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 269.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615735.0764372,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 72.27,
|
||||||
|
"memory_mib": 101.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.78,
|
||||||
|
"memory_mib": 99.62
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.62,
|
||||||
|
"memory_mib": 51.91
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.46,
|
||||||
|
"memory_mib": 78.92
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 3.54,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.19,
|
||||||
|
"memory_mib": 151.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.33,
|
||||||
|
"memory_mib": 270.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615738.2895918,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.89,
|
||||||
|
"memory_mib": 101.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.43,
|
||||||
|
"memory_mib": 99.31
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.87,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.53,
|
||||||
|
"memory_mib": 81.06
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.56,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 151.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 270.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615741.4701817,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.83,
|
||||||
|
"memory_mib": 101.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.91,
|
||||||
|
"memory_mib": 99.72
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.3,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.23,
|
||||||
|
"memory_mib": 80.82
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.11,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.16,
|
||||||
|
"memory_mib": 151.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 271.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615744.7194552,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.04,
|
||||||
|
"memory_mib": 101.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.01,
|
||||||
|
"memory_mib": 99.53
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.55,
|
||||||
|
"memory_mib": 51.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.46,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.24,
|
||||||
|
"memory_mib": 81.2
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.23,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.8,
|
||||||
|
"memory_mib": 152.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.72,
|
||||||
|
"memory_mib": 271.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615747.8937094,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.33,
|
||||||
|
"memory_mib": 101.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.35,
|
||||||
|
"memory_mib": 99.32
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.59,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.89,
|
||||||
|
"memory_mib": 81.35
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.42,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.2,
|
||||||
|
"memory_mib": 152.1
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 271.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615751.0995169,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 38.77,
|
||||||
|
"memory_mib": 101.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 32.83,
|
||||||
|
"memory_mib": 99.55
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.39,
|
||||||
|
"memory_mib": 51.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.56,
|
||||||
|
"memory_mib": 81.16
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.8,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 152.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 2.87,
|
||||||
|
"memory_mib": 273.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615754.334736,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 34.9,
|
||||||
|
"memory_mib": 101.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 50.89,
|
||||||
|
"memory_mib": 99.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.59,
|
||||||
|
"memory_mib": 51.91
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.52,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 10.38,
|
||||||
|
"memory_mib": 81.3
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.11,
|
||||||
|
"memory_mib": 123.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.89,
|
||||||
|
"memory_mib": 152.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.61,
|
||||||
|
"memory_mib": 273.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615757.5131233,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 99.96,
|
||||||
|
"memory_mib": 101.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 33.13,
|
||||||
|
"memory_mib": 99.69
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.54,
|
||||||
|
"memory_mib": 51.84
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.55
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.43,
|
||||||
|
"memory_mib": 81.18
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 3.54,
|
||||||
|
"memory_mib": 123.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 152.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 273.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "balanced-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795615866.343748,
|
||||||
|
"finished_at_unix": 1795615927.6589139,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 60.012,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 19.996,
|
||||||
|
"successful_rps": 19.996,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 33.715,
|
||||||
|
"p95": 73.758,
|
||||||
|
"p99": 119.075,
|
||||||
|
"mean": 40.044
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 33.715,
|
||||||
|
"p95": 73.758,
|
||||||
|
"p99": 119.075,
|
||||||
|
"mean": 40.044
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 34.285,
|
||||||
|
"p95": 74.661,
|
||||||
|
"p99": 120.649,
|
||||||
|
"mean": 40.677
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.41,
|
||||||
|
"p95": 1.213,
|
||||||
|
"p99": 4.777,
|
||||||
|
"mean": 0.633
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 30868.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 3544.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 3323.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 3323.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 23934.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 42488.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 4669.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 4541.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4541.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 28664.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 11620.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 1125.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1218.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1218.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 4730.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 36.951,
|
||||||
|
"cpu_peak_percent": 95.5,
|
||||||
|
"ram_mean_mib": 103.332,
|
||||||
|
"ram_peak_mib": 114.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 37.138,
|
||||||
|
"cpu_peak_percent": 79.83,
|
||||||
|
"ram_mean_mib": 100.848,
|
||||||
|
"ram_peak_mib": 109.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.558,
|
||||||
|
"cpu_peak_percent": 4.64,
|
||||||
|
"ram_mean_mib": 52.275,
|
||||||
|
"ram_peak_mib": 52.38
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.181,
|
||||||
|
"cpu_peak_percent": 0.69,
|
||||||
|
"ram_mean_mib": 78.395,
|
||||||
|
"ram_peak_mib": 78.51
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 4.312,
|
||||||
|
"cpu_peak_percent": 17.81,
|
||||||
|
"ram_mean_mib": 81.125,
|
||||||
|
"ram_peak_mib": 83.16
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.429,
|
||||||
|
"cpu_peak_percent": 2.98,
|
||||||
|
"ram_mean_mib": 125.632,
|
||||||
|
"ram_peak_mib": 126.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.024,
|
||||||
|
"cpu_peak_percent": 7.58,
|
||||||
|
"ram_mean_mib": 130.626,
|
||||||
|
"ram_peak_mib": 136.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.509,
|
||||||
|
"cpu_peak_percent": 1.57,
|
||||||
|
"ram_mean_mib": 312.711,
|
||||||
|
"ram_peak_mib": 312.8
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 76.827,
|
||||||
|
"cpu_peak_percent": 124.07,
|
||||||
|
"ram_mean_mib": 334.849,
|
||||||
|
"ram_peak_mib": 344.89
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 8.274,
|
||||||
|
"cpu_peak_percent": 21.88,
|
||||||
|
"ram_mean_mib": 650.094,
|
||||||
|
"ram_peak_mib": 653.25
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795615868.5516756,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 73.94,
|
||||||
|
"memory_mib": 112.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.43,
|
||||||
|
"memory_mib": 99.73
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.43,
|
||||||
|
"memory_mib": 52.36
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.38
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.77,
|
||||||
|
"memory_mib": 79.98
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.48,
|
||||||
|
"memory_mib": 124.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 136.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.39,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615871.8667016,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 30.92,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 34.02,
|
||||||
|
"memory_mib": 99.67
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 4.26,
|
||||||
|
"memory_mib": 52.35
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.69,
|
||||||
|
"memory_mib": 78.38
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 8.93,
|
||||||
|
"memory_mib": 79.63
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 124.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.08,
|
||||||
|
"memory_mib": 136.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615875.2079473,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.9,
|
||||||
|
"memory_mib": 101.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 73.46,
|
||||||
|
"memory_mib": 109.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.51,
|
||||||
|
"memory_mib": 52.24
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.38
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 14.3,
|
||||||
|
"memory_mib": 80.01
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.45,
|
||||||
|
"memory_mib": 124.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.16,
|
||||||
|
"memory_mib": 136.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615878.393054,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.37,
|
||||||
|
"memory_mib": 101.9
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.38,
|
||||||
|
"memory_mib": 99.95
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.82,
|
||||||
|
"memory_mib": 52.24
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.67,
|
||||||
|
"memory_mib": 79.64
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.98,
|
||||||
|
"memory_mib": 124.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 3.42,
|
||||||
|
"memory_mib": 136.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.43,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615881.8955684,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.97,
|
||||||
|
"memory_mib": 101.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.82,
|
||||||
|
"memory_mib": 99.71
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 4.64,
|
||||||
|
"memory_mib": 52.24
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.46,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 3.74,
|
||||||
|
"memory_mib": 79.65
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.3,
|
||||||
|
"memory_mib": 124.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.25,
|
||||||
|
"memory_mib": 136.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615885.0759184,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 30.2,
|
||||||
|
"memory_mib": 101.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.0,
|
||||||
|
"memory_mib": 99.96
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 52.35
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.63,
|
||||||
|
"memory_mib": 79.65
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 125.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 7.58,
|
||||||
|
"memory_mib": 127.1
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.44,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615888.300157,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.09,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 43.49,
|
||||||
|
"memory_mib": 99.91
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.61,
|
||||||
|
"memory_mib": 52.24
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 9.76,
|
||||||
|
"memory_mib": 80.74
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.33,
|
||||||
|
"memory_mib": 126.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.29,
|
||||||
|
"memory_mib": 126.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.63,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615891.4716635,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.93,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.55,
|
||||||
|
"memory_mib": 99.78
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.74,
|
||||||
|
"memory_mib": 52.24
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 78.51
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.58,
|
||||||
|
"memory_mib": 81.35
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.23,
|
||||||
|
"memory_mib": 126.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.31,
|
||||||
|
"memory_mib": 127.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.28,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615894.7270563,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.21,
|
||||||
|
"memory_mib": 101.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.07,
|
||||||
|
"memory_mib": 99.9
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.5,
|
||||||
|
"memory_mib": 52.25
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.62,
|
||||||
|
"memory_mib": 81.11
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.96,
|
||||||
|
"memory_mib": 126.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 3.03,
|
||||||
|
"memory_mib": 127.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.62,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615897.9272568,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.52,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 51.87,
|
||||||
|
"memory_mib": 109.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.45,
|
||||||
|
"memory_mib": 52.28
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.86,
|
||||||
|
"memory_mib": 82.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.2,
|
||||||
|
"memory_mib": 126.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.49,
|
||||||
|
"memory_mib": 127.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615901.1107738,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.72,
|
||||||
|
"memory_mib": 101.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.81,
|
||||||
|
"memory_mib": 99.84
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.27,
|
||||||
|
"memory_mib": 52.31
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.54,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 17.81,
|
||||||
|
"memory_mib": 83.02
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.2,
|
||||||
|
"memory_mib": 126.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.33,
|
||||||
|
"memory_mib": 127.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.54,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615904.3067768,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.85,
|
||||||
|
"memory_mib": 101.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.03,
|
||||||
|
"memory_mib": 99.88
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.02,
|
||||||
|
"memory_mib": 52.25
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.27,
|
||||||
|
"memory_mib": 83.15
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 126.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.44,
|
||||||
|
"memory_mib": 127.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.57,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615907.4821384,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.01,
|
||||||
|
"memory_mib": 101.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.47,
|
||||||
|
"memory_mib": 99.83
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 52.25
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.1,
|
||||||
|
"memory_mib": 83.03
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.77,
|
||||||
|
"memory_mib": 126.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 128.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.18,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615910.654717,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.4,
|
||||||
|
"memory_mib": 101.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 79.83,
|
||||||
|
"memory_mib": 100.1
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.95,
|
||||||
|
"memory_mib": 52.25
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 7.39,
|
||||||
|
"memory_mib": 83.16
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.43,
|
||||||
|
"memory_mib": 126.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.48,
|
||||||
|
"memory_mib": 128.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.48,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615914.8450906,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 66.19,
|
||||||
|
"memory_mib": 111.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 32.59,
|
||||||
|
"memory_mib": 99.92
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.65,
|
||||||
|
"memory_mib": 52.21
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.71,
|
||||||
|
"memory_mib": 83.04
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.67,
|
||||||
|
"memory_mib": 126.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.46,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.1,
|
||||||
|
"memory_mib": 312.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615918.036764,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.87,
|
||||||
|
"memory_mib": 101.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.87,
|
||||||
|
"memory_mib": 99.89
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.66,
|
||||||
|
"memory_mib": 52.34
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.48,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.45,
|
||||||
|
"memory_mib": 80.46
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.23,
|
||||||
|
"memory_mib": 126.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.82,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.07,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615921.230591,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.27,
|
||||||
|
"memory_mib": 101.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 37.03,
|
||||||
|
"memory_mib": 99.91
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.78,
|
||||||
|
"memory_mib": 52.22
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.23,
|
||||||
|
"memory_mib": 80.46
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.48,
|
||||||
|
"memory_mib": 126.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.84,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.79,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615924.3959658,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 30.2,
|
||||||
|
"memory_mib": 101.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 59.4,
|
||||||
|
"memory_mib": 99.91
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.07,
|
||||||
|
"memory_mib": 52.22
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.78,
|
||||||
|
"memory_mib": 80.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.5,
|
||||||
|
"memory_mib": 126.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.1,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 312.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795615927.5746741,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 95.5,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.5,
|
||||||
|
"memory_mib": 99.82
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.51,
|
||||||
|
"memory_mib": 52.38
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.56,
|
||||||
|
"memory_mib": 78.39
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.33,
|
||||||
|
"memory_mib": 80.59
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.21,
|
||||||
|
"memory_mib": 126.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.6,
|
||||||
|
"memory_mib": 131.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.12,
|
||||||
|
"memory_mib": 312.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,174 @@
|
|||||||
|
|
||||||
|
=== Experiment balanced-1 ===
|
||||||
|
Container mtusi2026lab6-otel-collector-1 Running
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "balanced-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795615530.4455256,
|
||||||
|
"finished_at_unix": 1795615591.1349049,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.987,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.004,
|
||||||
|
"successful_rps": 20.004,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 33.696,
|
||||||
|
"p95": 74.59,
|
||||||
|
"p99": 136.534,
|
||||||
|
"mean": 41.202
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 33.696,
|
||||||
|
"p95": 74.59,
|
||||||
|
"p99": 136.534,
|
||||||
|
"mean": 41.202
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 34.29,
|
||||||
|
"p95": 75.158,
|
||||||
|
"p99": 136.782,
|
||||||
|
"mean": 41.834
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.438,
|
||||||
|
"p95": 1.264,
|
||||||
|
"p99": 5.045,
|
||||||
|
"mean": 0.632
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-balanced-1.json
|
||||||
|
|
||||||
|
=== Experiment balanced-2 ===
|
||||||
|
Container mtusi2026lab6-otel-collector-1 Running
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Running
|
||||||
|
Container mtusi2026lab6-api-2-1 Running
|
||||||
|
Container mtusi2026lab6-worker-1 Running
|
||||||
|
Container mtusi2026lab6-api-1-1 Running
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "balanced-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795615696.7928538,
|
||||||
|
"finished_at_unix": 1795615757.5138233,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 60.011,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 19.996,
|
||||||
|
"successful_rps": 19.996,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 34.463,
|
||||||
|
"p95": 72.451,
|
||||||
|
"p99": 96.034,
|
||||||
|
"mean": 39.988
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 34.463,
|
||||||
|
"p95": 72.451,
|
||||||
|
"p99": 96.034,
|
||||||
|
"mean": 39.988
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 35.062,
|
||||||
|
"p95": 72.915,
|
||||||
|
"p99": 96.397,
|
||||||
|
"mean": 40.586
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.42,
|
||||||
|
"p95": 1.417,
|
||||||
|
"p99": 3.188,
|
||||||
|
"mean": 0.599
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-balanced-2.json
|
||||||
|
|
||||||
|
=== Experiment balanced-3 ===
|
||||||
|
Container mtusi2026lab6-otel-collector-1 Running
|
||||||
|
Container mtusi2026lab6-api-2-1 Running
|
||||||
|
Container mtusi2026lab6-worker-1 Running
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Running
|
||||||
|
Container mtusi2026lab6-api-1-1 Running
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "balanced-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795615866.343748,
|
||||||
|
"finished_at_unix": 1795615927.6589139,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 60.012,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 19.996,
|
||||||
|
"successful_rps": 19.996,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 33.715,
|
||||||
|
"p95": 73.758,
|
||||||
|
"p99": 119.075,
|
||||||
|
"mean": 40.044
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 33.715,
|
||||||
|
"p95": 73.758,
|
||||||
|
"p99": 119.075,
|
||||||
|
"mean": 40.044
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 34.285,
|
||||||
|
"p95": 74.661,
|
||||||
|
"p99": 120.649,
|
||||||
|
"mean": 40.677
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.41,
|
||||||
|
"p95": 1.213,
|
||||||
|
"p99": 4.777,
|
||||||
|
"mean": 0.633
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-balanced-3.json
|
||||||
|
|
||||||
|
Restoring full telemetry
|
||||||
|
Container mtusi2026lab6-otel-collector-1 Recreate
|
||||||
|
Container mtusi2026lab6-otel-collector-1 Recreated
|
||||||
|
Container mtusi2026lab6-otel-collector-1 Starting
|
||||||
|
Container mtusi2026lab6-otel-collector-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Running
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Running
|
||||||
|
Container mtusi2026lab6-api-1-1 Running
|
||||||
|
Container mtusi2026lab6-worker-1 Running
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
=== BALANCED ===
|
||||||
|
Total requests: 3600
|
||||||
|
Successful: 3600
|
||||||
|
Errors: 0
|
||||||
|
Mean RPS: 19.999
|
||||||
|
Latency p50: 33.958
|
||||||
|
Min/max: 33.696 34.463
|
||||||
|
Latency p95: 73.6
|
||||||
|
Min/max: 72.451 74.59
|
||||||
|
Latency p99: 117.214
|
||||||
|
Min/max: 96.034 136.534
|
||||||
|
Latency mean: 40.411
|
||||||
|
Min/max: 39.988 41.202
|
||||||
|
|
||||||
|
Resources: application_total
|
||||||
|
cpu_mean_percent 75.383
|
||||||
|
cpu_peak_percent 130.507
|
||||||
|
ram_mean_mib 334.997
|
||||||
|
ram_peak_mib 344.957
|
||||||
|
|
||||||
|
Resources: observability_total
|
||||||
|
cpu_mean_percent 7.288
|
||||||
|
cpu_peak_percent 17.857
|
||||||
|
ram_mean_mib 608.929
|
||||||
|
ram_peak_mib 615.14
|
||||||
|
|
||||||
|
Resources: otel-collector
|
||||||
|
cpu_mean_percent 3.634
|
||||||
|
cpu_peak_percent 14.057
|
||||||
|
ram_mean_mib 78.424
|
||||||
|
ram_peak_mib 80.473
|
||||||
|
|
||||||
|
Resources: tempo
|
||||||
|
cpu_mean_percent 0.562
|
||||||
|
cpu_peak_percent 2.777
|
||||||
|
ram_mean_mib 266.114
|
||||||
|
ram_peak_mib 267.533
|
||||||
|
|
||||||
|
Resources: loki
|
||||||
|
cpu_mean_percent 1.608
|
||||||
|
cpu_peak_percent 4.417
|
||||||
|
ram_mean_mib 140.054
|
||||||
|
ram_peak_mib 144.5
|
||||||
|
|
||||||
|
Resources: prometheus
|
||||||
|
cpu_mean_percent 1.483
|
||||||
|
cpu_peak_percent 3.707
|
||||||
|
ram_mean_mib 124.337
|
||||||
|
ram_peak_mib 124.633
|
||||||
|
|
||||||
|
Collector totals:
|
||||||
|
otelcol_receiver_accepted_spans 34878.0
|
||||||
|
otelcol_receiver_refused_spans 0.0
|
||||||
|
otelcol_exporter_sent_spans 3779.0
|
||||||
|
otelcol_exporter_send_failed_spans 0.0
|
||||||
|
otelcol_receiver_accepted_log_records 3655.0
|
||||||
|
otelcol_receiver_refused_log_records 0.0
|
||||||
|
otelcol_exporter_sent_log_records 3655.0
|
||||||
|
otelcol_exporter_send_failed_log_records 0.0
|
||||||
|
otelcol_receiver_accepted_metric_points 13033.0
|
||||||
|
otelcol_receiver_refused_metric_points 0.0
|
||||||
|
|
||||||
|
Trace retention:
|
||||||
|
{
|
||||||
|
"normal": {
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 100,
|
||||||
|
"saved_in_tempo": 10,
|
||||||
|
"not_sampled": 0,
|
||||||
|
"sampled_but_not_found": 90,
|
||||||
|
"collector_filtered_or_missing": 90,
|
||||||
|
"retention_percent": 10.0,
|
||||||
|
"missing_percent": 90.0
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 100,
|
||||||
|
"saved_in_tempo": 100,
|
||||||
|
"not_sampled": 0,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"collector_filtered_or_missing": 0,
|
||||||
|
"retention_percent": 100.0,
|
||||||
|
"missing_percent": 0.0
|
||||||
|
},
|
||||||
|
"slow": {
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 100,
|
||||||
|
"saved_in_tempo": 100,
|
||||||
|
"not_sampled": 0,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"collector_filtered_or_missing": 0,
|
||||||
|
"retention_percent": 100.0,
|
||||||
|
"missing_percent": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "baseline-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795612925.1692564,
|
||||||
|
"finished_at_unix": 1795612986.49012,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.981,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.006,
|
||||||
|
"successful_rps": 20.006,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 30.151,
|
||||||
|
"p95": 58.597,
|
||||||
|
"p99": 127.888,
|
||||||
|
"mean": 36.935
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 30.151,
|
||||||
|
"p95": 58.597,
|
||||||
|
"p99": 127.888,
|
||||||
|
"mean": 36.935
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 30.779,
|
||||||
|
"p95": 58.892,
|
||||||
|
"p99": 128.204,
|
||||||
|
"mean": 37.472
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.43,
|
||||||
|
"p95": 1.035,
|
||||||
|
"p99": 2.298,
|
||||||
|
"mean": 0.537
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 68118.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 67205.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 5085.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4942.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 359296.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 68118.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 67205.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 5085.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4942.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 359296.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 0.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 0.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 0.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 32.537,
|
||||||
|
"cpu_peak_percent": 100.12,
|
||||||
|
"ram_mean_mib": 96.141,
|
||||||
|
"ram_peak_mib": 106.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 36.196,
|
||||||
|
"cpu_peak_percent": 101.74,
|
||||||
|
"ram_mean_mib": 95.222,
|
||||||
|
"ram_peak_mib": 105.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.698,
|
||||||
|
"cpu_peak_percent": 3.37,
|
||||||
|
"ram_mean_mib": 47.084,
|
||||||
|
"ram_peak_mib": 47.23
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.007,
|
||||||
|
"cpu_peak_percent": 0.07,
|
||||||
|
"ram_mean_mib": 78.374,
|
||||||
|
"ram_peak_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.555,
|
||||||
|
"cpu_peak_percent": 5.11,
|
||||||
|
"ram_mean_mib": 83.212,
|
||||||
|
"ram_peak_mib": 83.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.234,
|
||||||
|
"cpu_peak_percent": 4.03,
|
||||||
|
"ram_mean_mib": 108.326,
|
||||||
|
"ram_peak_mib": 108.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.025,
|
||||||
|
"cpu_peak_percent": 1.72,
|
||||||
|
"ram_mean_mib": 90.595,
|
||||||
|
"ram_peak_mib": 90.71
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.115,
|
||||||
|
"cpu_peak_percent": 0.55,
|
||||||
|
"ram_mean_mib": 509.611,
|
||||||
|
"ram_peak_mib": 509.8
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 70.439,
|
||||||
|
"cpu_peak_percent": 203.59,
|
||||||
|
"ram_mean_mib": 316.819,
|
||||||
|
"ram_peak_mib": 337.99
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.929,
|
||||||
|
"cpu_peak_percent": 10.72,
|
||||||
|
"ram_mean_mib": 791.744,
|
||||||
|
"ram_peak_mib": 791.96
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795612927.4541948,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 99.75,
|
||||||
|
"memory_mib": 106.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 97.71,
|
||||||
|
"memory_mib": 105.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.61,
|
||||||
|
"memory_mib": 47.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.05
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 5.11,
|
||||||
|
"memory_mib": 82.62
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 4.03,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.03,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.55,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612930.6550262,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.05,
|
||||||
|
"memory_mib": 93.96
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.85,
|
||||||
|
"memory_mib": 92.89
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.99,
|
||||||
|
"memory_mib": 47.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 78.05
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.1,
|
||||||
|
"memory_mib": 82.61
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.04,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.84,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.1,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612933.8846502,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.4,
|
||||||
|
"memory_mib": 94.17
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.14,
|
||||||
|
"memory_mib": 93.07
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.53,
|
||||||
|
"memory_mib": 47.01
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.05
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 83.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.65,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.98,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612937.3863275,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.66,
|
||||||
|
"memory_mib": 94.04
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 22.61,
|
||||||
|
"memory_mib": 93.03
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.57,
|
||||||
|
"memory_mib": 47.02
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 78.05
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.29,
|
||||||
|
"memory_mib": 83.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.1,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.03,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612940.5997105,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 19.16,
|
||||||
|
"memory_mib": 94.14
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.01,
|
||||||
|
"memory_mib": 93.13
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.72,
|
||||||
|
"memory_mib": 47.23
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 83.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.21,
|
||||||
|
"memory_mib": 108.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.09,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612943.7812378,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 18.68,
|
||||||
|
"memory_mib": 94.12
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.14,
|
||||||
|
"memory_mib": 93.21
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.62,
|
||||||
|
"memory_mib": 47.23
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 83.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.08,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 509.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612946.9517617,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.08,
|
||||||
|
"memory_mib": 94.22
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.05,
|
||||||
|
"memory_mib": 93.18
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.37,
|
||||||
|
"memory_mib": 47.03
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.27,
|
||||||
|
"memory_mib": 83.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.64,
|
||||||
|
"memory_mib": 108.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.93,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612950.1529186,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 100.12,
|
||||||
|
"memory_mib": 106.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 101.74,
|
||||||
|
"memory_mib": 105.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.73,
|
||||||
|
"memory_mib": 47.03
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 83.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.74,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.89,
|
||||||
|
"memory_mib": 90.58
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612953.3474288,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.37,
|
||||||
|
"memory_mib": 94.23
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.85,
|
||||||
|
"memory_mib": 93.36
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.46,
|
||||||
|
"memory_mib": 47.11
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.92,
|
||||||
|
"memory_mib": 83.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.1,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.75,
|
||||||
|
"memory_mib": 90.58
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612956.556165,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.8,
|
||||||
|
"memory_mib": 94.39
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 18.63,
|
||||||
|
"memory_mib": 93.28
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.58,
|
||||||
|
"memory_mib": 47.04
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.29,
|
||||||
|
"memory_mib": 83.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.37,
|
||||||
|
"memory_mib": 90.58
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612959.7217216,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.25,
|
||||||
|
"memory_mib": 94.23
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 18.49,
|
||||||
|
"memory_mib": 93.46
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.44,
|
||||||
|
"memory_mib": 47.04
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 83.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.74,
|
||||||
|
"memory_mib": 108.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.51,
|
||||||
|
"memory_mib": 90.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612962.92721,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.02,
|
||||||
|
"memory_mib": 94.53
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 35.6,
|
||||||
|
"memory_mib": 93.47
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.65,
|
||||||
|
"memory_mib": 47.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.72,
|
||||||
|
"memory_mib": 83.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.72,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612966.1245046,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.01,
|
||||||
|
"memory_mib": 94.68
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.38,
|
||||||
|
"memory_mib": 93.73
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.75,
|
||||||
|
"memory_mib": 47.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 83.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.51,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612970.3430064,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.42,
|
||||||
|
"memory_mib": 94.64
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.23,
|
||||||
|
"memory_mib": 93.43
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 47.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 83.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.77,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.5,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612973.5115328,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 61.19,
|
||||||
|
"memory_mib": 103.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 84.0,
|
||||||
|
"memory_mib": 104.1
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 47.14
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.84,
|
||||||
|
"memory_mib": 83.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.23,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.82,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.27,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612976.7601817,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.23,
|
||||||
|
"memory_mib": 94.53
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.18,
|
||||||
|
"memory_mib": 93.63
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.58,
|
||||||
|
"memory_mib": 47.14
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.18,
|
||||||
|
"memory_mib": 83.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 3.15,
|
||||||
|
"memory_mib": 108.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.99,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612979.9365644,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.15,
|
||||||
|
"memory_mib": 94.65
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.91,
|
||||||
|
"memory_mib": 93.62
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.77,
|
||||||
|
"memory_mib": 47.14
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 83.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.39,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.11,
|
||||||
|
"memory_mib": 90.71
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612983.1001818,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 18.06,
|
||||||
|
"memory_mib": 94.59
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.17,
|
||||||
|
"memory_mib": 93.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.57,
|
||||||
|
"memory_mib": 47.13
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.26,
|
||||||
|
"memory_mib": 83.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 108.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.09,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612986.2865748,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 34.81,
|
||||||
|
"memory_mib": 95.05
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 89.04,
|
||||||
|
"memory_mib": 93.82
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 47.15
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 78.46
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 83.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.35,
|
||||||
|
"memory_mib": 108.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.89,
|
||||||
|
"memory_mib": 90.59
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 509.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "baseline-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613654.9160206,
|
||||||
|
"finished_at_unix": 1795613715.8443947,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.98,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.007,
|
||||||
|
"successful_rps": 20.007,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 29.772,
|
||||||
|
"p95": 61.926,
|
||||||
|
"p99": 89.581,
|
||||||
|
"mean": 34.943
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 29.772,
|
||||||
|
"p95": 61.926,
|
||||||
|
"p99": 89.581,
|
||||||
|
"mean": 34.943
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 30.453,
|
||||||
|
"p95": 62.705,
|
||||||
|
"p99": 89.955,
|
||||||
|
"mean": 35.558
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.443,
|
||||||
|
"p95": 1.221,
|
||||||
|
"p99": 3.747,
|
||||||
|
"mean": 0.614
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 96830.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 95917.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 10582.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 10439.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 376836.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 96830.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 95917.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 10582.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 10439.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 376836.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 0.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 0.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 0.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 30.001,
|
||||||
|
"cpu_peak_percent": 92.81,
|
||||||
|
"ram_mean_mib": 95.413,
|
||||||
|
"ram_peak_mib": 105.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 30.521,
|
||||||
|
"cpu_peak_percent": 98.41,
|
||||||
|
"ram_mean_mib": 95.493,
|
||||||
|
"ram_peak_mib": 106.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.759,
|
||||||
|
"cpu_peak_percent": 4.45,
|
||||||
|
"ram_mean_mib": 47.169,
|
||||||
|
"ram_peak_mib": 47.3
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.003,
|
||||||
|
"cpu_peak_percent": 0.02,
|
||||||
|
"ram_mean_mib": 77.085,
|
||||||
|
"ram_peak_mib": 77.23
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.31,
|
||||||
|
"cpu_peak_percent": 0.72,
|
||||||
|
"ram_mean_mib": 83.724,
|
||||||
|
"ram_peak_mib": 83.84
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.881,
|
||||||
|
"cpu_peak_percent": 2.56,
|
||||||
|
"ram_mean_mib": 113.711,
|
||||||
|
"ram_peak_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.888,
|
||||||
|
"cpu_peak_percent": 1.19,
|
||||||
|
"ram_mean_mib": 125.38,
|
||||||
|
"ram_peak_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.1,
|
||||||
|
"cpu_peak_percent": 0.61,
|
||||||
|
"ram_mean_mib": 488.311,
|
||||||
|
"ram_peak_mib": 488.4
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 62.285,
|
||||||
|
"cpu_peak_percent": 138.95,
|
||||||
|
"ram_mean_mib": 315.16,
|
||||||
|
"ram_peak_mib": 333.14
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.179,
|
||||||
|
"cpu_peak_percent": 3.72,
|
||||||
|
"ram_mean_mib": 811.125,
|
||||||
|
"ram_peak_mib": 815.54
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795613657.1866875,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 39.17,
|
||||||
|
"memory_mib": 103.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 98.41,
|
||||||
|
"memory_mib": 106.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.37,
|
||||||
|
"memory_mib": 47.19
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 76.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.48,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.55,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.61,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613660.3718708,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.82,
|
||||||
|
"memory_mib": 93.57
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 22.79,
|
||||||
|
"memory_mib": 94.04
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 47.12
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 76.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 83.84
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.56,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.98,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613663.57408,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.54,
|
||||||
|
"memory_mib": 93.49
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.99,
|
||||||
|
"memory_mib": 94.11
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 4.45,
|
||||||
|
"memory_mib": 47.15
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 76.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.19,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613667.0361636,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.53,
|
||||||
|
"memory_mib": 93.01
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.39,
|
||||||
|
"memory_mib": 94.03
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.47,
|
||||||
|
"memory_mib": 47.12
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 76.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.31,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.11,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.87,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613670.2106583,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 52.22,
|
||||||
|
"memory_mib": 93.09
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 73.6,
|
||||||
|
"memory_mib": 94.27
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.43,
|
||||||
|
"memory_mib": 47.13
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 76.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 83.84
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.59,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.86,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613673.3905559,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.09,
|
||||||
|
"memory_mib": 93.48
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.7,
|
||||||
|
"memory_mib": 94.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.36,
|
||||||
|
"memory_mib": 47.13
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 76.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.71,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.52,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613676.5861104,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.28,
|
||||||
|
"memory_mib": 93.38
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.98,
|
||||||
|
"memory_mib": 94.19
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.67,
|
||||||
|
"memory_mib": 47.14
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 77.0
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.39,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.88,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613679.734293,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 33.85,
|
||||||
|
"memory_mib": 99.25
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.16,
|
||||||
|
"memory_mib": 94.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 47.22
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.0
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.11,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.29,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613682.9065015,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.52,
|
||||||
|
"memory_mib": 93.36
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 18.82,
|
||||||
|
"memory_mib": 94.38
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.66,
|
||||||
|
"memory_mib": 47.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.0
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.71,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.92,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613686.1116116,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.2,
|
||||||
|
"memory_mib": 93.46
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.9,
|
||||||
|
"memory_mib": 94.29
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 47.15
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 77.15
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.29,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 129.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613689.3103788,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.71,
|
||||||
|
"memory_mib": 93.42
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.71,
|
||||||
|
"memory_mib": 94.36
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.56,
|
||||||
|
"memory_mib": 47.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.15
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.18,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.64,
|
||||||
|
"memory_mib": 99.91
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613692.5470529,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 92.81,
|
||||||
|
"memory_mib": 105.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.48,
|
||||||
|
"memory_mib": 94.48
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.5,
|
||||||
|
"memory_mib": 47.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.15
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.67,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.02,
|
||||||
|
"memory_mib": 99.91
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613695.7061512,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.72,
|
||||||
|
"memory_mib": 93.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 17.81,
|
||||||
|
"memory_mib": 94.39
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 47.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.18
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.11,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.86,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613699.635817,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 19.34,
|
||||||
|
"memory_mib": 93.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.08,
|
||||||
|
"memory_mib": 94.62
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.09,
|
||||||
|
"memory_mib": 47.17
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.18
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.23,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.07,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613702.8152978,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 50.84,
|
||||||
|
"memory_mib": 102.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 72.03,
|
||||||
|
"memory_mib": 104.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.65,
|
||||||
|
"memory_mib": 47.17
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.18
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.38,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.41,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.76,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613706.032449,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.18,
|
||||||
|
"memory_mib": 93.65
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 18.08,
|
||||||
|
"memory_mib": 94.59
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 47.2
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.23
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.22,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.75,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 488.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613709.2536414,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.3,
|
||||||
|
"memory_mib": 93.66
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.62,
|
||||||
|
"memory_mib": 94.64
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.87,
|
||||||
|
"memory_mib": 47.3
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.23
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.72,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.93,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 488.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613712.455564,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 19.11,
|
||||||
|
"memory_mib": 93.86
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 18.63,
|
||||||
|
"memory_mib": 94.57
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.21,
|
||||||
|
"memory_mib": 47.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 77.23
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.2,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613715.6636097,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.79,
|
||||||
|
"memory_mib": 93.66
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.72,
|
||||||
|
"memory_mib": 94.71
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.51,
|
||||||
|
"memory_mib": 47.19
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.23
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 83.71
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.62,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.02,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 488.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "baseline-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613946.0577843,
|
||||||
|
"finished_at_unix": 1795614006.4212763,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.983,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.006,
|
||||||
|
"successful_rps": 20.006,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 29.819,
|
||||||
|
"p95": 52.772,
|
||||||
|
"p99": 79.374,
|
||||||
|
"mean": 33.606
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 29.819,
|
||||||
|
"p95": 52.772,
|
||||||
|
"p99": 79.374,
|
||||||
|
"mean": 33.606
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 30.446,
|
||||||
|
"p95": 53.237,
|
||||||
|
"p99": 80.082,
|
||||||
|
"mean": 34.201
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.431,
|
||||||
|
"p95": 1.091,
|
||||||
|
"p99": 3.028,
|
||||||
|
"mean": 0.595
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 98091.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 97178.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 11956.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 11813.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 380992.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 98091.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 97178.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 11956.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 11813.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 380992.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 0.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 0.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 0.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 28.058,
|
||||||
|
"cpu_peak_percent": 79.64,
|
||||||
|
"ram_mean_mib": 95.925,
|
||||||
|
"ram_peak_mib": 107.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 30.556,
|
||||||
|
"cpu_peak_percent": 79.9,
|
||||||
|
"ram_mean_mib": 93.973,
|
||||||
|
"ram_peak_mib": 102.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.729,
|
||||||
|
"cpu_peak_percent": 2.59,
|
||||||
|
"ram_mean_mib": 47.063,
|
||||||
|
"ram_peak_mib": 47.2
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.009,
|
||||||
|
"cpu_peak_percent": 0.06,
|
||||||
|
"ram_mean_mib": 77.824,
|
||||||
|
"ram_peak_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.39,
|
||||||
|
"cpu_peak_percent": 1.57,
|
||||||
|
"ram_mean_mib": 95.653,
|
||||||
|
"ram_peak_mib": 96.58
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.272,
|
||||||
|
"cpu_peak_percent": 8.14,
|
||||||
|
"ram_mean_mib": 113.547,
|
||||||
|
"ram_peak_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.145,
|
||||||
|
"cpu_peak_percent": 2.06,
|
||||||
|
"ram_mean_mib": 135.905,
|
||||||
|
"ram_peak_mib": 136.0
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.345,
|
||||||
|
"cpu_peak_percent": 22.92,
|
||||||
|
"ram_mean_mib": 422.258,
|
||||||
|
"ram_peak_mib": 468.5
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 60.354,
|
||||||
|
"cpu_peak_percent": 123.67,
|
||||||
|
"ram_mean_mib": 314.785,
|
||||||
|
"ram_peak_mib": 331.1
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 4.152,
|
||||||
|
"cpu_peak_percent": 24.61,
|
||||||
|
"ram_mean_mib": 767.364,
|
||||||
|
"ram_peak_mib": 813.8
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795613948.222529,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 19.94,
|
||||||
|
"memory_mib": 93.89
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 79.9,
|
||||||
|
"memory_mib": 93.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.53,
|
||||||
|
"memory_mib": 46.98
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 77.69
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.57,
|
||||||
|
"memory_mib": 95.6
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.02,
|
||||||
|
"memory_mib": 113.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.82,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613951.4207015,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 18.75,
|
||||||
|
"memory_mib": 93.88
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 22.78,
|
||||||
|
"memory_mib": 93.33
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.3,
|
||||||
|
"memory_mib": 47.07
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.69
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.88,
|
||||||
|
"memory_mib": 95.6
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 112.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.91,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613954.597864,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 19.59,
|
||||||
|
"memory_mib": 93.96
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.85,
|
||||||
|
"memory_mib": 93.26
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.66,
|
||||||
|
"memory_mib": 47.07
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.69
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 95.6
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.39,
|
||||||
|
"memory_mib": 113.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.27,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613957.8493755,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.17,
|
||||||
|
"memory_mib": 93.97
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.52,
|
||||||
|
"memory_mib": 93.25
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.24,
|
||||||
|
"memory_mib": 47.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 77.69
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.94,
|
||||||
|
"memory_mib": 95.5
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 112.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.06,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613961.0304606,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 46.95,
|
||||||
|
"memory_mib": 94.29
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.48,
|
||||||
|
"memory_mib": 93.36
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.69,
|
||||||
|
"memory_mib": 47.2
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.69
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.29,
|
||||||
|
"memory_mib": 95.5
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 112.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.36,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613964.2232072,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.57,
|
||||||
|
"memory_mib": 94.19
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.3,
|
||||||
|
"memory_mib": 93.28
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 47.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.69
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 95.61
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 113.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.03,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613967.4281013,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.69,
|
||||||
|
"memory_mib": 94.14
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.71,
|
||||||
|
"memory_mib": 93.37
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 47.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 77.73
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 95.74
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.68,
|
||||||
|
"memory_mib": 112.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.82,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613970.5933733,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 37.75,
|
||||||
|
"memory_mib": 103.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 72.14,
|
||||||
|
"memory_mib": 93.45
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.59,
|
||||||
|
"memory_mib": 47.02
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.73
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.1,
|
||||||
|
"memory_mib": 95.56
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 112.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.42,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613973.9286788,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.47,
|
||||||
|
"memory_mib": 94.25
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.13,
|
||||||
|
"memory_mib": 93.61
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.7,
|
||||||
|
"memory_mib": 47.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.73
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 95.55
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 113.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.28,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613977.0999475,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.07,
|
||||||
|
"memory_mib": 94.26
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.93,
|
||||||
|
"memory_mib": 93.67
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.54,
|
||||||
|
"memory_mib": 47.03
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.89
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.78,
|
||||||
|
"memory_mib": 95.75
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 113.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.53,
|
||||||
|
"memory_mib": 136.0
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.64,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613980.2800956,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 18.25,
|
||||||
|
"memory_mib": 94.26
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.17,
|
||||||
|
"memory_mib": 93.55
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.86,
|
||||||
|
"memory_mib": 47.03
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.89
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 95.62
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.53,
|
||||||
|
"memory_mib": 113.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.14,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613983.4580736,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 79.64,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 42.42,
|
||||||
|
"memory_mib": 93.64
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.59,
|
||||||
|
"memory_mib": 47.11
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 77.89
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 96.3
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 8.14,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.69,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.61,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613986.649076,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 19.32,
|
||||||
|
"memory_mib": 94.45
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.68,
|
||||||
|
"memory_mib": 93.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.52,
|
||||||
|
"memory_mib": 47.04
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.74,
|
||||||
|
"memory_mib": 96.58
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.11,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613989.831692,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.18,
|
||||||
|
"memory_mib": 94.48
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.05,
|
||||||
|
"memory_mib": 93.54
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 47.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 96.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.06,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 410.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613993.00265,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 50.35,
|
||||||
|
"memory_mib": 103.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 59.85,
|
||||||
|
"memory_mib": 102.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.02,
|
||||||
|
"memory_mib": 47.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 95.2
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.38,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.22,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 22.92,
|
||||||
|
"memory_mib": 468.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613996.1865835,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 19.28,
|
||||||
|
"memory_mib": 94.54
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.43,
|
||||||
|
"memory_mib": 93.92
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 47.06
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.35,
|
||||||
|
"memory_mib": 95.33
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.08,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 451.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613999.3605967,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 18.61,
|
||||||
|
"memory_mib": 94.51
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.71,
|
||||||
|
"memory_mib": 93.51
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.57,
|
||||||
|
"memory_mib": 47.07
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 95.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.18,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.66,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 451.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614002.7754445,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.81,
|
||||||
|
"memory_mib": 94.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.05,
|
||||||
|
"memory_mib": 93.59
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.31,
|
||||||
|
"memory_mib": 47.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 95.5
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.08,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.08,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 451.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614006.0055296,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.72,
|
||||||
|
"memory_mib": 94.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 20.47,
|
||||||
|
"memory_mib": 93.66
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.62,
|
||||||
|
"memory_mib": 47.08
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.95
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.35,
|
||||||
|
"memory_mib": 95.39
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.67,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.22,
|
||||||
|
"memory_mib": 135.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 451.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,107 @@
|
|||||||
|
=== PYTHON SYNTAX ===
|
||||||
|
=== COMPOSE VALIDATION ===
|
||||||
|
=== FULL COLLECTOR CONFIG ===
|
||||||
|
Container mtusi2026lab6-otel-collector-run-c8328aea6459 Creating
|
||||||
|
Container mtusi2026lab6-otel-collector-run-c8328aea6459 Created
|
||||||
|
=== BALANCED COLLECTOR CONFIG ===
|
||||||
|
Container mtusi2026lab6-otel-collector-run-10fa53bbf98d Creating
|
||||||
|
Container mtusi2026lab6-otel-collector-run-10fa53bbf98d Created
|
||||||
|
=== CONTRACT ===
|
||||||
|
python3 scripts/check_contract.py
|
||||||
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||||
|
=== OPENAPI ===
|
||||||
|
python3 scripts/validate_openapi.py
|
||||||
|
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||||
|
=== SMOKE TEST ===
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
=== PROMETHEUS CONFIG ===
|
||||||
|
Checking /etc/prometheus/prometheus.yml
|
||||||
|
SUCCESS: 1 rule files found
|
||||||
|
SUCCESS: /etc/prometheus/prometheus.yml is valid prometheus config file syntax
|
||||||
|
|
||||||
|
Checking /etc/prometheus/rules.yml
|
||||||
|
SUCCESS: 6 rules found
|
||||||
|
|
||||||
|
=== PROMETHEUS RULES ===
|
||||||
|
Checking /etc/prometheus/rules.yml
|
||||||
|
SUCCESS: 6 rules found
|
||||||
|
|
||||||
|
=== BENCHMARK ENDPOINT ===
|
||||||
|
HTTP 404
|
||||||
|
=== ACTIVE COLLECTOR CONFIG ===
|
||||||
|
/home/casablanca/mtuci/high_load_apps/mtusi2026lab6/infra/otel/config.yaml /etc/otelcol/config.yaml
|
||||||
|
|
||||||
|
=== TELEMETRY SETTINGS ===
|
||||||
|
api-1
|
||||||
|
{'TELEMETRY_ENABLED': '1', 'TELEMETRY_TRACE_SAMPLE_RATIO': '1.0', 'TELEMETRY_BENCHMARK_ENABLED': '0'}
|
||||||
|
api-2
|
||||||
|
{'TELEMETRY_ENABLED': '1', 'TELEMETRY_TRACE_SAMPLE_RATIO': '1.0', 'TELEMETRY_BENCHMARK_ENABLED': '0'}
|
||||||
|
dispatcher
|
||||||
|
{'TELEMETRY_ENABLED': '1', 'TELEMETRY_TRACE_SAMPLE_RATIO': '1.0', 'TELEMETRY_BENCHMARK_ENABLED': '0'}
|
||||||
|
worker
|
||||||
|
{'TELEMETRY_ENABLED': '1', 'TELEMETRY_TRACE_SAMPLE_RATIO': '1.0', 'TELEMETRY_BENCHMARK_ENABLED': '0'}
|
||||||
|
=== CONTAINERS ===
|
||||||
|
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||||
|
mtusi2026lab6-api-1-1 mtusi2026lab6-api-1 "uvicorn src.main:ap…" api-1 5 hours ago Up 5 hours (healthy) 8080/tcp
|
||||||
|
mtusi2026lab6-api-2-1 mtusi2026lab6-api-2 "uvicorn src.main:ap…" api-2 5 hours ago Up 5 hours (healthy) 8080/tcp
|
||||||
|
mtusi2026lab6-dispatcher-1 mtusi2026lab6-dispatcher "python -m src.dispa…" dispatcher 5 hours ago Up 5 hours 8080/tcp
|
||||||
|
mtusi2026lab6-grafana-1 grafana/grafana:11.5.2 "/run.sh" grafana 2 days ago Up 27 hours 127.0.0.1:3000->3000/tcp
|
||||||
|
mtusi2026lab6-loki-1 grafana/loki:3.4.2 "/usr/bin/loki -conf…" loki 2 days ago Up 23 hours 3100/tcp
|
||||||
|
mtusi2026lab6-nginx-1 nginx:1.29-alpine "/docker-entrypoint.…" nginx 5 days ago Up 2 days 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp
|
||||||
|
mtusi2026lab6-otel-collector-1 otel/opentelemetry-collector-contrib:0.120.0 "/otelcol-contrib --…" otel-collector 5 hours ago Up 5 hours 4317-4318/tcp, 55678-55679/tcp
|
||||||
|
mtusi2026lab6-postgres-1 postgres:17.6 "docker-entrypoint.s…" postgres 5 days ago Up 24 hours (healthy) 5432/tcp
|
||||||
|
mtusi2026lab6-prometheus-1 prom/prometheus:v3.2.1 "/bin/prometheus --c…" prometheus 27 hours ago Up 24 hours 127.0.0.1:9090->9090/tcp
|
||||||
|
mtusi2026lab6-rabbitmq-1 rabbitmq:4.1.4-management-alpine "docker-entrypoint.s…" rabbitmq 5 days ago Up 2 days (healthy) 4369/tcp, 5671-5672/tcp, 15671-15672/tcp, 15691-15692/tcp, 25672/tcp
|
||||||
|
mtusi2026lab6-redis-1 redis:8.2.2 "docker-entrypoint.s…" redis 5 days ago Up 2 days (healthy) 6379/tcp
|
||||||
|
mtusi2026lab6-s3-1 dappros/minio:RELEASE.2025-09-07T16-13-09Z "/usr/bin/docker-ent…" s3 5 days ago Up 2 days (healthy) 127.0.0.1:9001->9001/tcp
|
||||||
|
mtusi2026lab6-tempo-1 grafana/tempo:2.7.1 "/tempo -config.file…" tempo 2 days ago Up 23 hours
|
||||||
|
mtusi2026lab6-worker-1 mtusi2026lab6-worker "python -m src.worker" worker 5 hours ago Up 5 hours 8080/tcp
|
||||||
|
=== GIT DIFF CHECK ===
|
||||||
|
=== EVIDENCE ===
|
||||||
|
5.2M evidence
|
||||||
|
-rw-r--r-- 1 casablanca casablanca 86K Nov 25 22:29 evidence/grade5-ingest.png
|
||||||
|
-rw-r--r-- 1 casablanca casablanca 108K Nov 25 22:29 evidence/grade5-latency.png
|
||||||
|
-rw-r--r-- 1 casablanca casablanca 150K Nov 25 22:29 evidence/grade5-resources.png
|
||||||
|
-rw-r--r-- 1 casablanca casablanca 60K Nov 25 22:29 evidence/grade5-retention.png
|
||||||
|
=== GIT STATUS ===
|
||||||
|
M .env.example
|
||||||
|
M compose.yaml
|
||||||
|
M src/main.py
|
||||||
|
M src/telemetry.py
|
||||||
|
?? evidence/grade5-balanced-1.json
|
||||||
|
?? evidence/grade5-balanced-2.json
|
||||||
|
?? evidence/grade5-balanced-3.json
|
||||||
|
?? evidence/grade5-balanced-experiments.txt
|
||||||
|
?? evidence/grade5-balanced-summary.txt
|
||||||
|
?? evidence/grade5-baseline-1.json
|
||||||
|
?? evidence/grade5-baseline-2.json
|
||||||
|
?? evidence/grade5-baseline-3.json
|
||||||
|
?? evidence/grade5-checks.txt
|
||||||
|
?? evidence/grade5-experiments.txt
|
||||||
|
?? evidence/grade5-full-1.json
|
||||||
|
?? evidence/grade5-full-2.json
|
||||||
|
?? evidence/grade5-full-3.json
|
||||||
|
?? evidence/grade5-ingest.png
|
||||||
|
?? evidence/grade5-latency.png
|
||||||
|
?? evidence/grade5-optimized-1.json
|
||||||
|
?? evidence/grade5-optimized-2.json
|
||||||
|
?? evidence/grade5-optimized-3.json
|
||||||
|
?? evidence/grade5-pilot.json
|
||||||
|
?? evidence/grade5-preliminary/
|
||||||
|
?? evidence/grade5-resources.png
|
||||||
|
?? evidence/grade5-retention-balanced.json
|
||||||
|
?? evidence/grade5-retention-full.json
|
||||||
|
?? evidence/grade5-retention-optimized.json
|
||||||
|
?? evidence/grade5-retention-summary.txt
|
||||||
|
?? evidence/grade5-retention.png
|
||||||
|
?? evidence/grade5-summary.txt
|
||||||
|
?? infra/otel/config-balanced.yaml
|
||||||
|
?? scripts/benchmark_telemetry.py
|
||||||
|
?? scripts/benchmark_trace_retention.py
|
||||||
|
?? scripts/plot_telemetry_experiment.py
|
||||||
|
?? scripts/run_telemetry_experiment.py
|
||||||
|
=== GIT HISTORY ===
|
||||||
|
3d38735 лаба на 4
|
||||||
|
d5416a6 лаба на 3
|
||||||
|
470d9d6 Подготовить skeleton лабораторной 6 по мессенджеру
|
||||||
@@ -0,0 +1,557 @@
|
|||||||
|
|
||||||
|
=== Experiment baseline-1 ===
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "baseline-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795612925.1692564,
|
||||||
|
"finished_at_unix": 1795612986.49012,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.981,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.006,
|
||||||
|
"successful_rps": 20.006,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 30.151,
|
||||||
|
"p95": 58.597,
|
||||||
|
"p99": 127.888,
|
||||||
|
"mean": 36.935
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 30.151,
|
||||||
|
"p95": 58.597,
|
||||||
|
"p99": 127.888,
|
||||||
|
"mean": 36.935
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 30.779,
|
||||||
|
"p95": 58.892,
|
||||||
|
"p99": 128.204,
|
||||||
|
"mean": 37.472
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.43,
|
||||||
|
"p95": 1.035,
|
||||||
|
"p99": 2.298,
|
||||||
|
"mean": 0.537
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-baseline-1.json
|
||||||
|
|
||||||
|
=== Experiment full-1 ===
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "full-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613071.3389018,
|
||||||
|
"finished_at_unix": 1795613132.453824,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.984,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.005,
|
||||||
|
"successful_rps": 20.005,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.897,
|
||||||
|
"p95": 72.11,
|
||||||
|
"p99": 141.495,
|
||||||
|
"mean": 39.86
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.897,
|
||||||
|
"p95": 72.11,
|
||||||
|
"p99": 141.495,
|
||||||
|
"mean": 39.86
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.545,
|
||||||
|
"p95": 73.874,
|
||||||
|
"p99": 142.039,
|
||||||
|
"mean": 40.431
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.417,
|
||||||
|
"p95": 1.059,
|
||||||
|
"p99": 2.861,
|
||||||
|
"mean": 0.571
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-full-1.json
|
||||||
|
|
||||||
|
=== Experiment optimized-1 ===
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "optimized-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613216.675065,
|
||||||
|
"finished_at_unix": 1795613277.6946812,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.98,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.007,
|
||||||
|
"successful_rps": 20.007,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.237,
|
||||||
|
"p95": 63.797,
|
||||||
|
"p99": 100.02,
|
||||||
|
"mean": 37.473
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.237,
|
||||||
|
"p95": 63.797,
|
||||||
|
"p99": 100.02,
|
||||||
|
"mean": 37.473
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 32.804,
|
||||||
|
"p95": 65.055,
|
||||||
|
"p99": 101.182,
|
||||||
|
"mean": 38.079
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.428,
|
||||||
|
"p95": 1.338,
|
||||||
|
"p99": 3.183,
|
||||||
|
"mean": 0.606
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-optimized-1.json
|
||||||
|
|
||||||
|
=== Experiment full-2 ===
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "full-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613363.6686146,
|
||||||
|
"finished_at_unix": 1795613424.2869823,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.995,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.002,
|
||||||
|
"successful_rps": 20.002,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 34.555,
|
||||||
|
"p95": 78.33,
|
||||||
|
"p99": 126.642,
|
||||||
|
"mean": 42.063
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 34.555,
|
||||||
|
"p95": 78.33,
|
||||||
|
"p99": 126.642,
|
||||||
|
"mean": 42.063
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 35.168,
|
||||||
|
"p95": 78.948,
|
||||||
|
"p99": 128.56,
|
||||||
|
"mean": 42.681
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.44,
|
||||||
|
"p95": 1.141,
|
||||||
|
"p99": 3.817,
|
||||||
|
"mean": 0.618
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-full-2.json
|
||||||
|
|
||||||
|
=== Experiment optimized-2 ===
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "optimized-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613510.500192,
|
||||||
|
"finished_at_unix": 1795613570.7317383,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.986,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.005,
|
||||||
|
"successful_rps": 20.005,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.65,
|
||||||
|
"p95": 63.152,
|
||||||
|
"p99": 108.235,
|
||||||
|
"mean": 37.439
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.65,
|
||||||
|
"p95": 63.152,
|
||||||
|
"p99": 108.235,
|
||||||
|
"mean": 37.439
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.452,
|
||||||
|
"p95": 63.688,
|
||||||
|
"p99": 108.597,
|
||||||
|
"mean": 38.145
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.466,
|
||||||
|
"p95": 1.662,
|
||||||
|
"p99": 4.41,
|
||||||
|
"mean": 0.705
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-optimized-2.json
|
||||||
|
|
||||||
|
=== Experiment baseline-2 ===
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "baseline-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613654.9160206,
|
||||||
|
"finished_at_unix": 1795613715.8443947,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.98,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.007,
|
||||||
|
"successful_rps": 20.007,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 29.772,
|
||||||
|
"p95": 61.926,
|
||||||
|
"p99": 89.581,
|
||||||
|
"mean": 34.943
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 29.772,
|
||||||
|
"p95": 61.926,
|
||||||
|
"p99": 89.581,
|
||||||
|
"mean": 34.943
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 30.453,
|
||||||
|
"p95": 62.705,
|
||||||
|
"p99": 89.955,
|
||||||
|
"mean": 35.558
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.443,
|
||||||
|
"p95": 1.221,
|
||||||
|
"p99": 3.747,
|
||||||
|
"mean": 0.614
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-baseline-2.json
|
||||||
|
|
||||||
|
=== Experiment optimized-3 ===
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "optimized-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613800.1066523,
|
||||||
|
"finished_at_unix": 1795613860.6947489,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.986,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.005,
|
||||||
|
"successful_rps": 20.005,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.942,
|
||||||
|
"p95": 74.298,
|
||||||
|
"p99": 116.222,
|
||||||
|
"mean": 39.957
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.942,
|
||||||
|
"p95": 74.298,
|
||||||
|
"p99": 116.222,
|
||||||
|
"mean": 39.957
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.377,
|
||||||
|
"p95": 74.663,
|
||||||
|
"p99": 119.491,
|
||||||
|
"mean": 40.567
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.413,
|
||||||
|
"p95": 1.22,
|
||||||
|
"p99": 5.225,
|
||||||
|
"mean": 0.609
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-optimized-3.json
|
||||||
|
|
||||||
|
=== Experiment baseline-3 ===
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "baseline-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613946.0577843,
|
||||||
|
"finished_at_unix": 1795614006.4212763,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.983,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.006,
|
||||||
|
"successful_rps": 20.006,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 29.819,
|
||||||
|
"p95": 52.772,
|
||||||
|
"p99": 79.374,
|
||||||
|
"mean": 33.606
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 29.819,
|
||||||
|
"p95": 52.772,
|
||||||
|
"p99": 79.374,
|
||||||
|
"mean": 33.606
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 30.446,
|
||||||
|
"p95": 53.237,
|
||||||
|
"p99": 80.082,
|
||||||
|
"mean": 34.201
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.431,
|
||||||
|
"p95": 1.091,
|
||||||
|
"p99": 3.028,
|
||||||
|
"mean": 0.595
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-baseline-3.json
|
||||||
|
|
||||||
|
=== Experiment full-3 ===
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreate
|
||||||
|
Container mtusi2026lab6-worker-1 Recreate
|
||||||
|
Container mtusi2026lab6-api-1-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-2-1 Recreated
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Recreated
|
||||||
|
Container mtusi2026lab6-worker-1 Recreated
|
||||||
|
Container mtusi2026lab6-api-1-1 Starting
|
||||||
|
Container mtusi2026lab6-api-2-1 Starting
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Starting
|
||||||
|
Container mtusi2026lab6-worker-1 Starting
|
||||||
|
Container mtusi2026lab6-api-1-1 Started
|
||||||
|
Container mtusi2026lab6-api-2-1 Started
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Started
|
||||||
|
Container mtusi2026lab6-worker-1 Started
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
|
{
|
||||||
|
"mode": "full-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795614091.5238848,
|
||||||
|
"finished_at_unix": 1795614151.9774015,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.982,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.006,
|
||||||
|
"successful_rps": 20.006,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 34.337,
|
||||||
|
"p95": 85.385,
|
||||||
|
"p99": 171.278,
|
||||||
|
"mean": 43.329
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 34.337,
|
||||||
|
"p95": 85.385,
|
||||||
|
"p99": 171.278,
|
||||||
|
"mean": 43.329
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 35.003,
|
||||||
|
"p95": 85.713,
|
||||||
|
"p99": 171.524,
|
||||||
|
"mean": 43.991
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.461,
|
||||||
|
"p95": 1.567,
|
||||||
|
"p99": 3.757,
|
||||||
|
"mean": 0.663
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Saved: /home/casablanca/mtuci/high_load_apps/mtusi2026lab6/evidence/grade5-full-3.json
|
||||||
|
|
||||||
|
Restoring full telemetry
|
||||||
|
Container mtusi2026lab6-worker-1 Running
|
||||||
|
Container mtusi2026lab6-dispatcher-1 Running
|
||||||
|
Container mtusi2026lab6-api-1-1 Running
|
||||||
|
Container mtusi2026lab6-api-2-1 Running
|
||||||
|
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||||
|
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "full-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613071.3389018,
|
||||||
|
"finished_at_unix": 1795613132.453824,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.984,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.005,
|
||||||
|
"successful_rps": 20.005,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.897,
|
||||||
|
"p95": 72.11,
|
||||||
|
"p99": 141.495,
|
||||||
|
"mean": 39.86
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.897,
|
||||||
|
"p95": 72.11,
|
||||||
|
"p99": 141.495,
|
||||||
|
"mean": 39.86
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.545,
|
||||||
|
"p95": 73.874,
|
||||||
|
"p99": 142.039,
|
||||||
|
"mean": 40.431
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.417,
|
||||||
|
"p95": 1.059,
|
||||||
|
"p99": 2.861,
|
||||||
|
"mean": 0.571
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 69580.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 68667.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 5244.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 5101.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 360575.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 81000.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 80071.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 6458.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 6315.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 363380.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 11420.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 11404.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1214.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1214.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 2805.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 34.193,
|
||||||
|
"cpu_peak_percent": 102.21,
|
||||||
|
"ram_mean_mib": 103.913,
|
||||||
|
"ram_peak_mib": 117.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 43.164,
|
||||||
|
"cpu_peak_percent": 102.23,
|
||||||
|
"ram_mean_mib": 100.223,
|
||||||
|
"ram_peak_mib": 111.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.568,
|
||||||
|
"cpu_peak_percent": 5.16,
|
||||||
|
"ram_mean_mib": 55.652,
|
||||||
|
"ram_peak_mib": 58.36
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.128,
|
||||||
|
"cpu_peak_percent": 0.66,
|
||||||
|
"ram_mean_mib": 84.096,
|
||||||
|
"ram_peak_mib": 84.21
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.54,
|
||||||
|
"cpu_peak_percent": 9.97,
|
||||||
|
"ram_mean_mib": 92.239,
|
||||||
|
"ram_peak_mib": 95.54
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.097,
|
||||||
|
"cpu_peak_percent": 10.04,
|
||||||
|
"ram_mean_mib": 107.147,
|
||||||
|
"ram_peak_mib": 107.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.646,
|
||||||
|
"cpu_peak_percent": 6.24,
|
||||||
|
"ram_mean_mib": 95.563,
|
||||||
|
"ram_peak_mib": 97.13
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.702,
|
||||||
|
"cpu_peak_percent": 6.84,
|
||||||
|
"ram_mean_mib": 422.389,
|
||||||
|
"ram_peak_mib": 455.6
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 80.053,
|
||||||
|
"cpu_peak_percent": 206.68,
|
||||||
|
"ram_mean_mib": 343.884,
|
||||||
|
"ram_peak_mib": 366.92
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 7.986,
|
||||||
|
"cpu_peak_percent": 15.91,
|
||||||
|
"ram_mean_mib": 717.339,
|
||||||
|
"ram_peak_mib": 755.02
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795613073.5502567,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 37.8,
|
||||||
|
"memory_mib": 99.64
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 94.42,
|
||||||
|
"memory_mib": 109.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.6,
|
||||||
|
"memory_mib": 58.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.75,
|
||||||
|
"memory_mib": 86.42
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.86,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.28,
|
||||||
|
"memory_mib": 92.86
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 435.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613076.7459326,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.76,
|
||||||
|
"memory_mib": 99.62
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 32.9,
|
||||||
|
"memory_mib": 98.13
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.83,
|
||||||
|
"memory_mib": 58.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.59,
|
||||||
|
"memory_mib": 86.42
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.79,
|
||||||
|
"memory_mib": 93.73
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.87,
|
||||||
|
"memory_mib": 435.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613079.9434967,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.54,
|
||||||
|
"memory_mib": 99.64
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.34,
|
||||||
|
"memory_mib": 98.32
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 58.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.96,
|
||||||
|
"memory_mib": 86.42
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.75,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 93.83
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.29,
|
||||||
|
"memory_mib": 435.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613083.1391258,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.38,
|
||||||
|
"memory_mib": 99.75
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 46.3,
|
||||||
|
"memory_mib": 107.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.38,
|
||||||
|
"memory_mib": 58.36
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.1,
|
||||||
|
"memory_mib": 86.42
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 3.57,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.98,
|
||||||
|
"memory_mib": 94.45
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.11,
|
||||||
|
"memory_mib": 435.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613086.32655,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.96,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.27,
|
||||||
|
"memory_mib": 98.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.29,
|
||||||
|
"memory_mib": 58.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.43,
|
||||||
|
"memory_mib": 87.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.84,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.92,
|
||||||
|
"memory_mib": 94.45
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.63,
|
||||||
|
"memory_mib": 435.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613089.8313825,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.16,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.74,
|
||||||
|
"memory_mib": 98.34
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 58.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.83,
|
||||||
|
"memory_mib": 90.31
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.67,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.54,
|
||||||
|
"memory_mib": 94.44
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.38,
|
||||||
|
"memory_mib": 435.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613093.0567117,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.51,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.17,
|
||||||
|
"memory_mib": 98.57
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.5,
|
||||||
|
"memory_mib": 58.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.53,
|
||||||
|
"memory_mib": 84.21
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 90.41
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.8,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.48,
|
||||||
|
"memory_mib": 94.57
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.21,
|
||||||
|
"memory_mib": 435.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613096.2181928,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 62.83,
|
||||||
|
"memory_mib": 103.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 84.48,
|
||||||
|
"memory_mib": 98.69
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 58.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 3.37,
|
||||||
|
"memory_mib": 92.98
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.16,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.16,
|
||||||
|
"memory_mib": 94.48
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 435.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613099.4252725,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.6,
|
||||||
|
"memory_mib": 103.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.3,
|
||||||
|
"memory_mib": 98.46
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.44,
|
||||||
|
"memory_mib": 53.89
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.54,
|
||||||
|
"memory_mib": 95.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 3.03,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.04,
|
||||||
|
"memory_mib": 94.82
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 435.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613102.5989273,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.66,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.73,
|
||||||
|
"memory_mib": 98.77
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.39,
|
||||||
|
"memory_mib": 53.8
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.84,
|
||||||
|
"memory_mib": 95.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.81,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.06,
|
||||||
|
"memory_mib": 95.64
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 440.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613105.8020482,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.7,
|
||||||
|
"memory_mib": 109.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.74,
|
||||||
|
"memory_mib": 98.26
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.63,
|
||||||
|
"memory_mib": 53.8
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.33,
|
||||||
|
"memory_mib": 94.88
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.2,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.9,
|
||||||
|
"memory_mib": 96.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 441.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613108.9766474,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.3,
|
||||||
|
"memory_mib": 104.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.75,
|
||||||
|
"memory_mib": 98.25
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.18,
|
||||||
|
"memory_mib": 53.81
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.89,
|
||||||
|
"memory_mib": 94.88
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.2,
|
||||||
|
"memory_mib": 107.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 96.75
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.42,
|
||||||
|
"memory_mib": 443.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613112.1574314,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.96,
|
||||||
|
"memory_mib": 105.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.36,
|
||||||
|
"memory_mib": 98.64
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.99,
|
||||||
|
"memory_mib": 53.81
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.07,
|
||||||
|
"memory_mib": 95.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.76,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 6.24,
|
||||||
|
"memory_mib": 96.95
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 6.84,
|
||||||
|
"memory_mib": 451.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613115.345031,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 33.18,
|
||||||
|
"memory_mib": 105.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.12,
|
||||||
|
"memory_mib": 98.63
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 4.31,
|
||||||
|
"memory_mib": 53.81
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.35,
|
||||||
|
"memory_mib": 95.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.94,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.04,
|
||||||
|
"memory_mib": 96.95
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.11,
|
||||||
|
"memory_mib": 452.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613118.5270345,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 102.21,
|
||||||
|
"memory_mib": 117.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 102.23,
|
||||||
|
"memory_mib": 111.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.58,
|
||||||
|
"memory_mib": 53.93
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.66,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 95.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.78,
|
||||||
|
"memory_mib": 107.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.55,
|
||||||
|
"memory_mib": 97.12
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 455.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613122.504498,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 30.94,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.06,
|
||||||
|
"memory_mib": 98.76
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 5.16,
|
||||||
|
"memory_mib": 53.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.22,
|
||||||
|
"memory_mib": 95.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 107.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.74,
|
||||||
|
"memory_mib": 97.12
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 4.59,
|
||||||
|
"memory_mib": 355.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613125.690399,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.92,
|
||||||
|
"memory_mib": 105.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.13,
|
||||||
|
"memory_mib": 98.85
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.18,
|
||||||
|
"memory_mib": 53.81
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 9.97,
|
||||||
|
"memory_mib": 95.43
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.37,
|
||||||
|
"memory_mib": 107.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.91,
|
||||||
|
"memory_mib": 97.03
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.06,
|
||||||
|
"memory_mib": 356.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613128.9775817,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.26,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.27,
|
||||||
|
"memory_mib": 98.64
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.59,
|
||||||
|
"memory_mib": 53.81
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.56,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.58,
|
||||||
|
"memory_mib": 95.54
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 10.04,
|
||||||
|
"memory_mib": 107.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 97.08
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.42,
|
||||||
|
"memory_mib": 355.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613132.1511536,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.99,
|
||||||
|
"memory_mib": 105.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 97.8,
|
||||||
|
"memory_mib": 99.03
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.25,
|
||||||
|
"memory_mib": 53.81
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 95.43
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.79,
|
||||||
|
"memory_mib": 107.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.35,
|
||||||
|
"memory_mib": 97.13
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 3.99,
|
||||||
|
"memory_mib": 356.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "full-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613363.6686146,
|
||||||
|
"finished_at_unix": 1795613424.2869823,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.995,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.002,
|
||||||
|
"successful_rps": 20.002,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 34.555,
|
||||||
|
"p95": 78.33,
|
||||||
|
"p99": 126.642,
|
||||||
|
"mean": 42.063
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 34.555,
|
||||||
|
"p95": 78.33,
|
||||||
|
"p99": 126.642,
|
||||||
|
"mean": 42.063
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 35.168,
|
||||||
|
"p95": 78.948,
|
||||||
|
"p99": 128.56,
|
||||||
|
"mean": 42.681
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.44,
|
||||||
|
"p95": 1.141,
|
||||||
|
"p99": 3.817,
|
||||||
|
"mean": 0.618
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 83849.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 82920.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 7993.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 7850.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 369277.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 95301.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 94372.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 9207.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 9064.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 371997.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 11452.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 11452.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1214.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1214.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 2720.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 41.078,
|
||||||
|
"cpu_peak_percent": 100.91,
|
||||||
|
"ram_mean_mib": 102.342,
|
||||||
|
"ram_peak_mib": 112.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 41.473,
|
||||||
|
"cpu_peak_percent": 97.79,
|
||||||
|
"ram_mean_mib": 99.142,
|
||||||
|
"ram_peak_mib": 110.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.332,
|
||||||
|
"cpu_peak_percent": 3.49,
|
||||||
|
"ram_mean_mib": 58.473,
|
||||||
|
"ram_peak_mib": 59.71
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.096,
|
||||||
|
"cpu_peak_percent": 0.65,
|
||||||
|
"ram_mean_mib": 83.101,
|
||||||
|
"ram_peak_mib": 83.21
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 4.351,
|
||||||
|
"cpu_peak_percent": 13.8,
|
||||||
|
"ram_mean_mib": 92.496,
|
||||||
|
"ram_peak_mib": 94.38
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.653,
|
||||||
|
"cpu_peak_percent": 4.26,
|
||||||
|
"ram_mean_mib": 113.726,
|
||||||
|
"ram_peak_mib": 113.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.378,
|
||||||
|
"cpu_peak_percent": 3.46,
|
||||||
|
"ram_mean_mib": 105.274,
|
||||||
|
"ram_peak_mib": 105.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.266,
|
||||||
|
"cpu_peak_percent": 5.63,
|
||||||
|
"ram_mean_mib": 396.642,
|
||||||
|
"ram_peak_mib": 466.9
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 84.979,
|
||||||
|
"cpu_peak_percent": 196.29,
|
||||||
|
"ram_mean_mib": 343.058,
|
||||||
|
"ram_peak_mib": 364.06
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 8.647,
|
||||||
|
"cpu_peak_percent": 17.23,
|
||||||
|
"ram_mean_mib": 708.138,
|
||||||
|
"ram_peak_mib": 778.06
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795613365.8612058,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 35.54,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 91.71,
|
||||||
|
"memory_mib": 96.99
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.99,
|
||||||
|
"memory_mib": 59.2
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.98,
|
||||||
|
"memory_mib": 90.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.77,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.31,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.93,
|
||||||
|
"memory_mib": 303.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613369.022888,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.68,
|
||||||
|
"memory_mib": 100.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.19,
|
||||||
|
"memory_mib": 97.16
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.3,
|
||||||
|
"memory_mib": 59.24
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 83.21
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 10.56,
|
||||||
|
"memory_mib": 90.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.72,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.68,
|
||||||
|
"memory_mib": 105.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.26,
|
||||||
|
"memory_mib": 303.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613372.226943,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.48,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.85,
|
||||||
|
"memory_mib": 97.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.25,
|
||||||
|
"memory_mib": 59.17
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.03,
|
||||||
|
"memory_mib": 91.99
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.51,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.84,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.09,
|
||||||
|
"memory_mib": 303.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613375.3951445,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 86.1,
|
||||||
|
"memory_mib": 110.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 83.24,
|
||||||
|
"memory_mib": 107.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.93,
|
||||||
|
"memory_mib": 59.71
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 83.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.39,
|
||||||
|
"memory_mib": 93.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.77,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.89,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 5.63,
|
||||||
|
"memory_mib": 303.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613378.6202748,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.81,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.99,
|
||||||
|
"memory_mib": 97.24
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.28,
|
||||||
|
"memory_mib": 59.7
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.4,
|
||||||
|
"memory_mib": 93.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.94,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.75,
|
||||||
|
"memory_mib": 303.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613381.7914066,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.2,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 34.33,
|
||||||
|
"memory_mib": 97.48
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.69,
|
||||||
|
"memory_mib": 59.62
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.02,
|
||||||
|
"memory_mib": 93.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.29,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.44,
|
||||||
|
"memory_mib": 105.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 303.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613385.027032,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.11,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.81,
|
||||||
|
"memory_mib": 97.28
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.22,
|
||||||
|
"memory_mib": 59.62
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 3.01,
|
||||||
|
"memory_mib": 93.12
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.18,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.28,
|
||||||
|
"memory_mib": 105.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 3.14,
|
||||||
|
"memory_mib": 304.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613388.251835,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 100.91,
|
||||||
|
"memory_mib": 111.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 47.06,
|
||||||
|
"memory_mib": 97.34
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.5,
|
||||||
|
"memory_mib": 59.62
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 8.12,
|
||||||
|
"memory_mib": 93.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 4.26,
|
||||||
|
"memory_mib": 113.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.78,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.44,
|
||||||
|
"memory_mib": 437.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613391.4192755,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.69,
|
||||||
|
"memory_mib": 100.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.06,
|
||||||
|
"memory_mib": 97.43
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.35,
|
||||||
|
"memory_mib": 57.8
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.43,
|
||||||
|
"memory_mib": 93.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.48,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.04,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 438.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613394.8948205,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 37.29,
|
||||||
|
"memory_mib": 100.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 35.72,
|
||||||
|
"memory_mib": 97.61
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.38,
|
||||||
|
"memory_mib": 57.62
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.65,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.84,
|
||||||
|
"memory_mib": 93.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.98,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.29,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 2.15,
|
||||||
|
"memory_mib": 440.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613398.0738878,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 34.43,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 58.37,
|
||||||
|
"memory_mib": 106.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.41,
|
||||||
|
"memory_mib": 57.64
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.77,
|
||||||
|
"memory_mib": 94.38
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.1,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 443.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613401.2560375,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 30.75,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.37,
|
||||||
|
"memory_mib": 97.45
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.27,
|
||||||
|
"memory_mib": 57.64
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.32,
|
||||||
|
"memory_mib": 94.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.61,
|
||||||
|
"memory_mib": 105.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.49,
|
||||||
|
"memory_mib": 445.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613404.4446578,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.84,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.65,
|
||||||
|
"memory_mib": 97.51
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.49,
|
||||||
|
"memory_mib": 57.65
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.45,
|
||||||
|
"memory_mib": 83.21
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 11.63,
|
||||||
|
"memory_mib": 92.04
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.62,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 105.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.41,
|
||||||
|
"memory_mib": 447.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613407.65754,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 38.76,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 33.62,
|
||||||
|
"memory_mib": 97.52
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.36,
|
||||||
|
"memory_mib": 57.99
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.89,
|
||||||
|
"memory_mib": 91.67
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.35,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.12,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 451.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613410.815597,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 97.03,
|
||||||
|
"memory_mib": 112.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 97.79,
|
||||||
|
"memory_mib": 110.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.47,
|
||||||
|
"memory_mib": 57.67
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.9,
|
||||||
|
"memory_mib": 92.3
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.84,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.1,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.31,
|
||||||
|
"memory_mib": 454.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613414.0002885,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 34.4,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 32.8,
|
||||||
|
"memory_mib": 97.58
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.87,
|
||||||
|
"memory_mib": 57.69
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 7.65,
|
||||||
|
"memory_mib": 92.33
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.93,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 3.46,
|
||||||
|
"memory_mib": 105.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 456.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613417.158962,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.32,
|
||||||
|
"memory_mib": 100.9
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 33.25,
|
||||||
|
"memory_mib": 97.59
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.48,
|
||||||
|
"memory_mib": 57.89
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.71,
|
||||||
|
"memory_mib": 92.33
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.1,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.67,
|
||||||
|
"memory_mib": 105.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.53,
|
||||||
|
"memory_mib": 462.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613420.4276533,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.04,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.74,
|
||||||
|
"memory_mib": 97.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 57.7
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.21,
|
||||||
|
"memory_mib": 92.33
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.14,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.57,
|
||||||
|
"memory_mib": 465.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613424.026057,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 35.1,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 31.43,
|
||||||
|
"memory_mib": 97.62
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.19,
|
||||||
|
"memory_mib": 57.82
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 83.09
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 13.8,
|
||||||
|
"memory_mib": 92.06
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.36,
|
||||||
|
"memory_mib": 113.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 105.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 466.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "full-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795614091.5238848,
|
||||||
|
"finished_at_unix": 1795614151.9774015,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.982,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.006,
|
||||||
|
"successful_rps": 20.006,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 34.337,
|
||||||
|
"p95": 85.385,
|
||||||
|
"p99": 171.278,
|
||||||
|
"mean": 43.329
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 34.337,
|
||||||
|
"p95": 85.385,
|
||||||
|
"p99": 171.278,
|
||||||
|
"mean": 43.329
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 35.003,
|
||||||
|
"p95": 85.713,
|
||||||
|
"p99": 171.524,
|
||||||
|
"mean": 43.991
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.461,
|
||||||
|
"p95": 1.567,
|
||||||
|
"p99": 3.757,
|
||||||
|
"mean": 0.663
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 99553.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 98624.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 12115.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 11972.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 382275.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 110955.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 110024.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 13328.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 13185.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 384993.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 11402.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 11400.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1213.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1213.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 2718.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 40.34,
|
||||||
|
"cpu_peak_percent": 101.17,
|
||||||
|
"ram_mean_mib": 104.453,
|
||||||
|
"ram_peak_mib": 117.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 38.877,
|
||||||
|
"cpu_peak_percent": 100.87,
|
||||||
|
"ram_mean_mib": 101.658,
|
||||||
|
"ram_peak_mib": 112.9
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.209,
|
||||||
|
"cpu_peak_percent": 3.36,
|
||||||
|
"ram_mean_mib": 55.724,
|
||||||
|
"ram_peak_mib": 58.43
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.096,
|
||||||
|
"cpu_peak_percent": 0.57,
|
||||||
|
"ram_mean_mib": 81.139,
|
||||||
|
"ram_peak_mib": 81.25
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.932,
|
||||||
|
"cpu_peak_percent": 11.48,
|
||||||
|
"ram_mean_mib": 103.732,
|
||||||
|
"ram_peak_mib": 104.3
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.557,
|
||||||
|
"cpu_peak_percent": 5.19,
|
||||||
|
"ram_mean_mib": 114.263,
|
||||||
|
"ram_peak_mib": 114.5
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.536,
|
||||||
|
"cpu_peak_percent": 2.66,
|
||||||
|
"ram_mean_mib": 121.326,
|
||||||
|
"ram_peak_mib": 127.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 3.113,
|
||||||
|
"cpu_peak_percent": 34.64,
|
||||||
|
"ram_mean_mib": 508.874,
|
||||||
|
"ram_peak_mib": 511.9
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 81.522,
|
||||||
|
"cpu_peak_percent": 203.93,
|
||||||
|
"ram_mean_mib": 342.974,
|
||||||
|
"ram_peak_mib": 362.94
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 9.137,
|
||||||
|
"cpu_peak_percent": 39.77,
|
||||||
|
"ram_mean_mib": 848.195,
|
||||||
|
"ram_peak_mib": 857.8
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795614094.0428627,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 53.23,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 55.07,
|
||||||
|
"memory_mib": 100.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.14,
|
||||||
|
"memory_mib": 58.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.12
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.05,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.93,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.11,
|
||||||
|
"memory_mib": 116.0
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.29,
|
||||||
|
"memory_mib": 503.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614097.2834446,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 33.54,
|
||||||
|
"memory_mib": 100.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 51.84,
|
||||||
|
"memory_mib": 100.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.49,
|
||||||
|
"memory_mib": 58.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.53,
|
||||||
|
"memory_mib": 81.12
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 8.42,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 5.19,
|
||||||
|
"memory_mib": 114.5
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.6,
|
||||||
|
"memory_mib": 116.0
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 503.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614100.5056126,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.89,
|
||||||
|
"memory_mib": 100.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.23,
|
||||||
|
"memory_mib": 100.2
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.45,
|
||||||
|
"memory_mib": 58.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.12
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.54,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.93,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.88,
|
||||||
|
"memory_mib": 116.1
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 2.45,
|
||||||
|
"memory_mib": 504.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614103.683548,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 51.85,
|
||||||
|
"memory_mib": 110.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.63,
|
||||||
|
"memory_mib": 100.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.82,
|
||||||
|
"memory_mib": 58.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.12
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.74,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.63,
|
||||||
|
"memory_mib": 116.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.98,
|
||||||
|
"memory_mib": 504.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614106.8939166,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.37,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.54,
|
||||||
|
"memory_mib": 100.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.15,
|
||||||
|
"memory_mib": 58.43
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.12
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 103.5
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 4.05,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.39,
|
||||||
|
"memory_mib": 116.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 504.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614110.062841,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 30.62,
|
||||||
|
"memory_mib": 101.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.87,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.76,
|
||||||
|
"memory_mib": 58.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.2,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.19,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.81,
|
||||||
|
"memory_mib": 116.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.92,
|
||||||
|
"memory_mib": 506.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614113.241915,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.8,
|
||||||
|
"memory_mib": 102.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.63,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.86,
|
||||||
|
"memory_mib": 58.29
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.94,
|
||||||
|
"memory_mib": 103.6
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 116.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.88,
|
||||||
|
"memory_mib": 508.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614116.4154935,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 101.17,
|
||||||
|
"memory_mib": 101.9
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 100.87,
|
||||||
|
"memory_mib": 112.9
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.89,
|
||||||
|
"memory_mib": 58.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.94,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.35,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.93,
|
||||||
|
"memory_mib": 116.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 2.61,
|
||||||
|
"memory_mib": 511.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614119.6509933,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.06,
|
||||||
|
"memory_mib": 101.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.61,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.04,
|
||||||
|
"memory_mib": 53.93
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.12
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.08,
|
||||||
|
"memory_mib": 118.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 3.55,
|
||||||
|
"memory_mib": 511.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614123.0424085,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 32.61,
|
||||||
|
"memory_mib": 105.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.92,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.32,
|
||||||
|
"memory_mib": 53.87
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.57,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.65,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.41,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.07,
|
||||||
|
"memory_mib": 119.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 34.64,
|
||||||
|
"memory_mib": 511.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614126.2294502,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 33.69,
|
||||||
|
"memory_mib": 105.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.91,
|
||||||
|
"memory_mib": 100.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.36,
|
||||||
|
"memory_mib": 53.88
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.5,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 114.4
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.03,
|
||||||
|
"memory_mib": 123.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.22,
|
||||||
|
"memory_mib": 510.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614129.4497516,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.65,
|
||||||
|
"memory_mib": 105.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.3,
|
||||||
|
"memory_mib": 100.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 53.89
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 11.48,
|
||||||
|
"memory_mib": 104.2
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.54,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.66,
|
||||||
|
"memory_mib": 124.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 510.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614132.684027,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.77,
|
||||||
|
"memory_mib": 105.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.75,
|
||||||
|
"memory_mib": 100.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.34,
|
||||||
|
"memory_mib": 53.9
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.53,
|
||||||
|
"memory_mib": 81.25
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.0,
|
||||||
|
"memory_mib": 104.2
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.29,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 125.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.53,
|
||||||
|
"memory_mib": 510.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614135.855873,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.55,
|
||||||
|
"memory_mib": 105.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.1,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.9,
|
||||||
|
"memory_mib": 53.91
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.45,
|
||||||
|
"memory_mib": 104.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.2,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.96,
|
||||||
|
"memory_mib": 126.1
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 2.35,
|
||||||
|
"memory_mib": 511.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614139.0664701,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 100.43,
|
||||||
|
"memory_mib": 117.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 89.62,
|
||||||
|
"memory_mib": 110.9
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.19,
|
||||||
|
"memory_mib": 53.91
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.63,
|
||||||
|
"memory_mib": 104.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.72,
|
||||||
|
"memory_mib": 125.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 511.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614142.272709,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.89,
|
||||||
|
"memory_mib": 105.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 32.58,
|
||||||
|
"memory_mib": 100.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 53.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.14,
|
||||||
|
"memory_mib": 104.2
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.55,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.35,
|
||||||
|
"memory_mib": 127.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.35,
|
||||||
|
"memory_mib": 511.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614145.4657319,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.56,
|
||||||
|
"memory_mib": 105.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.96,
|
||||||
|
"memory_mib": 100.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.96,
|
||||||
|
"memory_mib": 54.06
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.16,
|
||||||
|
"memory_mib": 104.0
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.63,
|
||||||
|
"memory_mib": 114.5
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.22,
|
||||||
|
"memory_mib": 127.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 511.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614148.639412,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.98,
|
||||||
|
"memory_mib": 105.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.02,
|
||||||
|
"memory_mib": 100.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.44,
|
||||||
|
"memory_mib": 53.94
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.25
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.27,
|
||||||
|
"memory_mib": 104.3
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 114.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.02,
|
||||||
|
"memory_mib": 127.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.65,
|
||||||
|
"memory_mib": 511.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795614151.852409,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 47.8,
|
||||||
|
"memory_mib": 105.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 52.22,
|
||||||
|
"memory_mib": 100.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.39,
|
||||||
|
"memory_mib": 54.15
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.13
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.8,
|
||||||
|
"memory_mib": 104.3
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 114.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 127.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.28,
|
||||||
|
"memory_mib": 511.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 108 KiB |
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "optimized-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613216.675065,
|
||||||
|
"finished_at_unix": 1795613277.6946812,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.98,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.007,
|
||||||
|
"successful_rps": 20.007,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.237,
|
||||||
|
"p95": 63.797,
|
||||||
|
"p99": 100.02,
|
||||||
|
"mean": 37.473
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.237,
|
||||||
|
"p95": 63.797,
|
||||||
|
"p99": 100.02,
|
||||||
|
"mean": 37.473
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 32.804,
|
||||||
|
"p95": 65.055,
|
||||||
|
"p99": 101.182,
|
||||||
|
"mean": 38.079
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.428,
|
||||||
|
"p95": 1.338,
|
||||||
|
"p99": 3.183,
|
||||||
|
"mean": 0.606
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 81274.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 80361.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 6619.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 6476.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 364891.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 82368.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 81455.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 7833.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 7690.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 367883.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 1094.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 1094.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1214.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1214.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 2992.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 34.855,
|
||||||
|
"cpu_peak_percent": 88.29,
|
||||||
|
"ram_mean_mib": 99.366,
|
||||||
|
"ram_peak_mib": 99.57
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 34.902,
|
||||||
|
"cpu_peak_percent": 79.0,
|
||||||
|
"ram_mean_mib": 100.262,
|
||||||
|
"ram_peak_mib": 108.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.023,
|
||||||
|
"cpu_peak_percent": 3.03,
|
||||||
|
"ram_mean_mib": 56.149,
|
||||||
|
"ram_peak_mib": 56.25
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.159,
|
||||||
|
"cpu_peak_percent": 0.71,
|
||||||
|
"ram_mean_mib": 86.755,
|
||||||
|
"ram_peak_mib": 87.63
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.071,
|
||||||
|
"cpu_peak_percent": 7.68,
|
||||||
|
"ram_mean_mib": 85.914,
|
||||||
|
"ram_peak_mib": 86.52
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.596,
|
||||||
|
"cpu_peak_percent": 3.48,
|
||||||
|
"ram_mean_mib": 112.179,
|
||||||
|
"ram_peak_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.476,
|
||||||
|
"cpu_peak_percent": 2.89,
|
||||||
|
"ram_mean_mib": 99.534,
|
||||||
|
"ram_peak_mib": 101.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.429,
|
||||||
|
"cpu_peak_percent": 0.92,
|
||||||
|
"ram_mean_mib": 370.679,
|
||||||
|
"ram_peak_mib": 377.9
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 71.94,
|
||||||
|
"cpu_peak_percent": 168.85,
|
||||||
|
"ram_mean_mib": 342.532,
|
||||||
|
"ram_peak_mib": 351.84
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 5.572,
|
||||||
|
"cpu_peak_percent": 11.49,
|
||||||
|
"ram_mean_mib": 668.306,
|
||||||
|
"ram_peak_mib": 671.29
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795613218.8590078,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 72.99,
|
||||||
|
"memory_mib": 99.13
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 76.26,
|
||||||
|
"memory_mib": 108.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.77,
|
||||||
|
"memory_mib": 56.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.94
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.87,
|
||||||
|
"memory_mib": 86.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.92,
|
||||||
|
"memory_mib": 108.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.91,
|
||||||
|
"memory_mib": 97.2
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.24,
|
||||||
|
"memory_mib": 377.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613222.0577073,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.58,
|
||||||
|
"memory_mib": 99.48
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.1,
|
||||||
|
"memory_mib": 98.52
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.03,
|
||||||
|
"memory_mib": 56.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.52,
|
||||||
|
"memory_mib": 83.94
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.47,
|
||||||
|
"memory_mib": 86.37
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 109.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.36,
|
||||||
|
"memory_mib": 97.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.56,
|
||||||
|
"memory_mib": 370.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613225.2849052,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.64,
|
||||||
|
"memory_mib": 99.44
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.86,
|
||||||
|
"memory_mib": 98.53
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.67,
|
||||||
|
"memory_mib": 56.25
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.94
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.48,
|
||||||
|
"memory_mib": 86.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 109.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.11,
|
||||||
|
"memory_mib": 97.43
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.14,
|
||||||
|
"memory_mib": 370.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613228.4615705,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.37,
|
||||||
|
"memory_mib": 99.28
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.49,
|
||||||
|
"memory_mib": 98.51
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 86.88
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.92,
|
||||||
|
"memory_mib": 86.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.77,
|
||||||
|
"memory_mib": 110.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.78,
|
||||||
|
"memory_mib": 99.32
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.84,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613231.6412578,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.99,
|
||||||
|
"memory_mib": 99.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.55,
|
||||||
|
"memory_mib": 98.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 86.88
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.92,
|
||||||
|
"memory_mib": 86.25
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.77,
|
||||||
|
"memory_mib": 110.5
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.74,
|
||||||
|
"memory_mib": 99.52
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613234.8601093,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.53,
|
||||||
|
"memory_mib": 99.04
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.04,
|
||||||
|
"memory_mib": 98.75
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.96,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 86.88
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.87,
|
||||||
|
"memory_mib": 86.24
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.92,
|
||||||
|
"memory_mib": 111.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.88,
|
||||||
|
"memory_mib": 99.41
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613238.0659752,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.81,
|
||||||
|
"memory_mib": 99.23
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.93,
|
||||||
|
"memory_mib": 98.71
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.71,
|
||||||
|
"memory_mib": 86.88
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.88,
|
||||||
|
"memory_mib": 85.45
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.0,
|
||||||
|
"memory_mib": 111.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.77,
|
||||||
|
"memory_mib": 99.53
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.66,
|
||||||
|
"memory_mib": 370.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613241.6451051,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 87.23,
|
||||||
|
"memory_mib": 99.24
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 79.0,
|
||||||
|
"memory_mib": 108.1
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.62,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 87.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 7.68,
|
||||||
|
"memory_mib": 85.45
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.16,
|
||||||
|
"memory_mib": 112.3
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 99.41
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613244.8519614,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.0,
|
||||||
|
"memory_mib": 99.48
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.3,
|
||||||
|
"memory_mib": 98.69
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.71,
|
||||||
|
"memory_mib": 56.24
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 87.2
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.02,
|
||||||
|
"memory_mib": 85.58
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 112.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.94,
|
||||||
|
"memory_mib": 99.41
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.62,
|
||||||
|
"memory_mib": 370.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613248.0321045,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.29,
|
||||||
|
"memory_mib": 99.27
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.08,
|
||||||
|
"memory_mib": 98.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.02,
|
||||||
|
"memory_mib": 56.11
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.62,
|
||||||
|
"memory_mib": 87.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.54,
|
||||||
|
"memory_mib": 85.46
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 112.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.89,
|
||||||
|
"memory_mib": 99.42
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.64,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613251.2629588,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 30.61,
|
||||||
|
"memory_mib": 99.33
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.54,
|
||||||
|
"memory_mib": 98.89
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.31,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 87.5
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.19,
|
||||||
|
"memory_mib": 85.45
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.66,
|
||||||
|
"memory_mib": 113.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.15,
|
||||||
|
"memory_mib": 99.42
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613254.4996815,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.79,
|
||||||
|
"memory_mib": 99.32
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 34.75,
|
||||||
|
"memory_mib": 98.86
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.72,
|
||||||
|
"memory_mib": 56.22
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 87.5
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.74,
|
||||||
|
"memory_mib": 86.52
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.96,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.69,
|
||||||
|
"memory_mib": 99.42
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.51,
|
||||||
|
"memory_mib": 370.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613257.7360609,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.62,
|
||||||
|
"memory_mib": 99.41
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.92,
|
||||||
|
"memory_mib": 98.55
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.24,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.56,
|
||||||
|
"memory_mib": 87.5
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.42,
|
||||||
|
"memory_mib": 86.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.72,
|
||||||
|
"memory_mib": 99.54
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613260.9287608,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.01,
|
||||||
|
"memory_mib": 99.57
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.38,
|
||||||
|
"memory_mib": 98.81
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.81,
|
||||||
|
"memory_mib": 56.13
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 87.5
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.17,
|
||||||
|
"memory_mib": 86.4
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.55,
|
||||||
|
"memory_mib": 99.45
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 370.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613264.1351643,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 88.29,
|
||||||
|
"memory_mib": 99.51
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 75.29,
|
||||||
|
"memory_mib": 108.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.68,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 87.63
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.71,
|
||||||
|
"memory_mib": 85.54
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.36,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.91,
|
||||||
|
"memory_mib": 99.56
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 370.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613267.3742645,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.17,
|
||||||
|
"memory_mib": 99.43
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.93,
|
||||||
|
"memory_mib": 98.96
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.2,
|
||||||
|
"memory_mib": 56.23
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.46,
|
||||||
|
"memory_mib": 87.5
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 3.71,
|
||||||
|
"memory_mib": 85.79
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.89,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.18,
|
||||||
|
"memory_mib": 101.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 370.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613270.5699654,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.62,
|
||||||
|
"memory_mib": 99.57
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.72,
|
||||||
|
"memory_mib": 98.57
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.19,
|
||||||
|
"memory_mib": 56.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 87.5
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.71,
|
||||||
|
"memory_mib": 85.54
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 3.48,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.03,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.59,
|
||||||
|
"memory_mib": 370.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613274.4405186,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.28,
|
||||||
|
"memory_mib": 99.57
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.27,
|
||||||
|
"memory_mib": 98.87
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.93,
|
||||||
|
"memory_mib": 56.21
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 87.51
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 85.66
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.64,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.92,
|
||||||
|
"memory_mib": 370.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613277.6243837,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.43,
|
||||||
|
"memory_mib": 99.25
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 35.73,
|
||||||
|
"memory_mib": 98.95
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.02,
|
||||||
|
"memory_mib": 56.1
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 87.51
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 6.24,
|
||||||
|
"memory_mib": 85.54
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.48,
|
||||||
|
"memory_mib": 113.6
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.79,
|
||||||
|
"memory_mib": 101.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.72,
|
||||||
|
"memory_mib": 370.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,853 @@
|
|||||||
|
{
|
||||||
|
"mode": "optimized-2",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613510.500192,
|
||||||
|
"finished_at_unix": 1795613570.7317383,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.986,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.005,
|
||||||
|
"successful_rps": 20.005,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.65,
|
||||||
|
"p95": 63.152,
|
||||||
|
"p99": 108.235,
|
||||||
|
"mean": 37.439
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.65,
|
||||||
|
"p95": 63.152,
|
||||||
|
"p99": 108.235,
|
||||||
|
"mean": 37.439
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.452,
|
||||||
|
"p95": 63.688,
|
||||||
|
"p99": 108.597,
|
||||||
|
"mean": 38.145
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.466,
|
||||||
|
"p95": 1.662,
|
||||||
|
"p99": 4.41,
|
||||||
|
"mean": 0.705
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 95583.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 94668.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 9368.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 9225.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 373453.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 96814.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 95899.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 10582.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 10439.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 376445.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 1231.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 1231.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1214.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1214.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 2992.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 35.59,
|
||||||
|
"cpu_peak_percent": 98.77,
|
||||||
|
"ram_mean_mib": 100.141,
|
||||||
|
"ram_peak_mib": 111.9
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 35.176,
|
||||||
|
"cpu_peak_percent": 98.45,
|
||||||
|
"ram_mean_mib": 97.988,
|
||||||
|
"ram_peak_mib": 109.1
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.355,
|
||||||
|
"cpu_peak_percent": 3.35,
|
||||||
|
"ram_mean_mib": 56.141,
|
||||||
|
"ram_peak_mib": 56.44
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.154,
|
||||||
|
"cpu_peak_percent": 1.04,
|
||||||
|
"ram_mean_mib": 84.443,
|
||||||
|
"ram_peak_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 2.485,
|
||||||
|
"cpu_peak_percent": 8.55,
|
||||||
|
"ram_mean_mib": 86.559,
|
||||||
|
"ram_peak_mib": 87.59
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.386,
|
||||||
|
"cpu_peak_percent": 3.35,
|
||||||
|
"ram_mean_mib": 113.753,
|
||||||
|
"ram_peak_mib": 113.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 1.398,
|
||||||
|
"cpu_peak_percent": 2.4,
|
||||||
|
"ram_mean_mib": 124.453,
|
||||||
|
"ram_peak_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 0.575,
|
||||||
|
"cpu_peak_percent": 1.92,
|
||||||
|
"ram_mean_mib": 508.053,
|
||||||
|
"ram_peak_mib": 508.1
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 73.275,
|
||||||
|
"cpu_peak_percent": 200.57,
|
||||||
|
"ram_mean_mib": 338.713,
|
||||||
|
"ram_peak_mib": 361.79
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 19,
|
||||||
|
"cpu_mean_percent": 5.843,
|
||||||
|
"cpu_peak_percent": 10.58,
|
||||||
|
"ram_mean_mib": 832.817,
|
||||||
|
"ram_peak_mib": 838.32
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795613512.5894716,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.63,
|
||||||
|
"memory_mib": 99.24
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.94,
|
||||||
|
"memory_mib": 96.65
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.83,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.87,
|
||||||
|
"memory_mib": 87.47
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 121.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 507.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613516.0578473,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.21,
|
||||||
|
"memory_mib": 99.33
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.85,
|
||||||
|
"memory_mib": 96.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.6,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 83.16
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.24,
|
||||||
|
"memory_mib": 87.59
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.41,
|
||||||
|
"memory_mib": 121.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.69,
|
||||||
|
"memory_mib": 508.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613519.2855024,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.14,
|
||||||
|
"memory_mib": 99.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.42,
|
||||||
|
"memory_mib": 96.39
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.62,
|
||||||
|
"memory_mib": 56.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.25
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 87.59
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.43,
|
||||||
|
"memory_mib": 113.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.5,
|
||||||
|
"memory_mib": 121.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613522.4797401,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 82.33,
|
||||||
|
"memory_mib": 99.53
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 79.62,
|
||||||
|
"memory_mib": 97.01
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.69,
|
||||||
|
"memory_mib": 56.19
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.25
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.58,
|
||||||
|
"memory_mib": 87.47
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.99,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.01,
|
||||||
|
"memory_mib": 121.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.78,
|
||||||
|
"memory_mib": 508.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613525.6594439,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.21,
|
||||||
|
"memory_mib": 99.53
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.97,
|
||||||
|
"memory_mib": 96.95
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.58,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.25
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 5.99,
|
||||||
|
"memory_mib": 87.48
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.22,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 121.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613528.8465087,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.5,
|
||||||
|
"memory_mib": 99.77
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.29,
|
||||||
|
"memory_mib": 96.94
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.68,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.25
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.12,
|
||||||
|
"memory_mib": 86.1
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.61,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.92,
|
||||||
|
"memory_mib": 121.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.64,
|
||||||
|
"memory_mib": 508.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613532.0792246,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.76,
|
||||||
|
"memory_mib": 99.33
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 30.13,
|
||||||
|
"memory_mib": 96.79
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.21,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.47,
|
||||||
|
"memory_mib": 86.09
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.33,
|
||||||
|
"memory_mib": 121.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.92,
|
||||||
|
"memory_mib": 508.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613535.347622,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.86,
|
||||||
|
"memory_mib": 99.47
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 39.34,
|
||||||
|
"memory_mib": 96.74
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.85,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 1.04,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 7.59,
|
||||||
|
"memory_mib": 86.09
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.74,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 123.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 508.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613538.5537593,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.19,
|
||||||
|
"memory_mib": 99.46
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 26.36,
|
||||||
|
"memory_mib": 97.03
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.66,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.99,
|
||||||
|
"memory_mib": 86.22
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.36,
|
||||||
|
"memory_mib": 113.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.63,
|
||||||
|
"memory_mib": 125.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.68,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613541.7570212,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.72,
|
||||||
|
"memory_mib": 99.37
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.9,
|
||||||
|
"memory_mib": 96.77
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.91,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.43,
|
||||||
|
"memory_mib": 86.1
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.38,
|
||||||
|
"memory_mib": 125.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 508.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613544.9839027,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 85.81,
|
||||||
|
"memory_mib": 99.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 50.55,
|
||||||
|
"memory_mib": 106.0
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.95,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.57,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 5.15,
|
||||||
|
"memory_mib": 86.22
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 3.35,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.93,
|
||||||
|
"memory_mib": 125.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 508.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613548.1651268,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 22.79,
|
||||||
|
"memory_mib": 99.38
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.3,
|
||||||
|
"memory_mib": 96.86
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.94,
|
||||||
|
"memory_mib": 56.44
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.68,
|
||||||
|
"memory_mib": 86.09
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.81,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.21,
|
||||||
|
"memory_mib": 125.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613551.368728,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 28.96,
|
||||||
|
"memory_mib": 99.55
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.34,
|
||||||
|
"memory_mib": 96.89
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.3,
|
||||||
|
"memory_mib": 56.18
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 8.55,
|
||||||
|
"memory_mib": 86.32
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.39,
|
||||||
|
"memory_mib": 125.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.49,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613554.6286356,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.62,
|
||||||
|
"memory_mib": 99.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.81,
|
||||||
|
"memory_mib": 97.01
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.84,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 86.19
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.57,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.49,
|
||||||
|
"memory_mib": 125.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.58,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613557.8073,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.53,
|
||||||
|
"memory_mib": 99.66
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 47.18,
|
||||||
|
"memory_mib": 96.68
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.17,
|
||||||
|
"memory_mib": 56.17
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.94,
|
||||||
|
"memory_mib": 86.19
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.06,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.91,
|
||||||
|
"memory_mib": 125.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.72,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613560.9897656,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.34,
|
||||||
|
"memory_mib": 99.37
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.3,
|
||||||
|
"memory_mib": 96.85
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.45,
|
||||||
|
"memory_mib": 56.17
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.19,
|
||||||
|
"memory_mib": 86.19
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.12,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.4,
|
||||||
|
"memory_mib": 125.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.07,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613564.1617951,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.42,
|
||||||
|
"memory_mib": 99.49
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.17,
|
||||||
|
"memory_mib": 96.95
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.14,
|
||||||
|
"memory_mib": 56.21
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.72,
|
||||||
|
"memory_mib": 86.31
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.06,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.73,
|
||||||
|
"memory_mib": 127.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.53,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613567.348973,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 98.77,
|
||||||
|
"memory_mib": 111.9
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 98.45,
|
||||||
|
"memory_mib": 109.1
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.35,
|
||||||
|
"memory_mib": 56.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.3,
|
||||||
|
"memory_mib": 86.19
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.95,
|
||||||
|
"memory_mib": 113.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.05,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613570.5422046,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.42,
|
||||||
|
"memory_mib": 99.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.43,
|
||||||
|
"memory_mib": 97.36
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 56.17
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.56,
|
||||||
|
"memory_mib": 84.7
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 4.78,
|
||||||
|
"memory_mib": 86.72
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.85,
|
||||||
|
"memory_mib": 113.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.73,
|
||||||
|
"memory_mib": 129.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.03,
|
||||||
|
"memory_mib": 508.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,816 @@
|
|||||||
|
{
|
||||||
|
"mode": "optimized-3",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795613800.1066523,
|
||||||
|
"finished_at_unix": 1795613860.6947489,
|
||||||
|
"requested_requests": 1200,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 100,
|
||||||
|
"elapsed_seconds": 59.986,
|
||||||
|
"successful_requests": 1200,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.005,
|
||||||
|
"successful_rps": 20.005,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.942,
|
||||||
|
"p95": 74.298,
|
||||||
|
"p99": 116.222,
|
||||||
|
"mean": 39.957
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.942,
|
||||||
|
"p95": 74.298,
|
||||||
|
"p99": 116.222,
|
||||||
|
"mean": 39.957
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.377,
|
||||||
|
"p95": 74.663,
|
||||||
|
"p99": 119.491,
|
||||||
|
"mean": 40.567
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.413,
|
||||||
|
"p95": 1.22,
|
||||||
|
"p99": 5.225,
|
||||||
|
"mean": 0.609
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 96966.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 96050.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 10742.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 10599.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 378068.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 98073.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 97160.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 11956.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 11813.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 380618.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 1107.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 1110.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 1214.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 1214.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 2550.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 36.549,
|
||||||
|
"cpu_peak_percent": 93.64,
|
||||||
|
"ram_mean_mib": 103.911,
|
||||||
|
"ram_peak_mib": 108.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 39.153,
|
||||||
|
"cpu_peak_percent": 102.69,
|
||||||
|
"ram_mean_mib": 101.922,
|
||||||
|
"ram_peak_mib": 113.1
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 2.344,
|
||||||
|
"cpu_peak_percent": 4.81,
|
||||||
|
"ram_mean_mib": 57.986,
|
||||||
|
"ram_peak_mib": 58.26
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 0.308,
|
||||||
|
"cpu_peak_percent": 2.13,
|
||||||
|
"ram_mean_mib": 81.097,
|
||||||
|
"ram_peak_mib": 81.2
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 3.494,
|
||||||
|
"cpu_peak_percent": 23.13,
|
||||||
|
"ram_mean_mib": 92.073,
|
||||||
|
"ram_peak_mib": 95.52
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 1.162,
|
||||||
|
"cpu_peak_percent": 2.72,
|
||||||
|
"ram_mean_mib": 114.022,
|
||||||
|
"ram_peak_mib": 114.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 1.536,
|
||||||
|
"cpu_peak_percent": 3.15,
|
||||||
|
"ram_mean_mib": 129.806,
|
||||||
|
"ram_peak_mib": 138.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 2.687,
|
||||||
|
"cpu_peak_percent": 34.57,
|
||||||
|
"ram_mean_mib": 379.139,
|
||||||
|
"ram_peak_mib": 411.3
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 78.354,
|
||||||
|
"cpu_peak_percent": 193.56,
|
||||||
|
"ram_mean_mib": 344.916,
|
||||||
|
"ram_peak_mib": 357.68
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 18,
|
||||||
|
"cpu_mean_percent": 8.879,
|
||||||
|
"cpu_peak_percent": 41.87,
|
||||||
|
"ram_mean_mib": 715.04,
|
||||||
|
"ram_peak_mib": 759.64
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795613802.3292632,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 75.48,
|
||||||
|
"memory_mib": 101.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 95.13,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.34,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.07
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.11,
|
||||||
|
"memory_mib": 84.36
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.26,
|
||||||
|
"memory_mib": 125.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.63,
|
||||||
|
"memory_mib": 309.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613805.5998793,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.53,
|
||||||
|
"memory_mib": 101.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 33.22,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.02,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.07
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.3,
|
||||||
|
"memory_mib": 87.53
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.07,
|
||||||
|
"memory_mib": 114.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 3.15,
|
||||||
|
"memory_mib": 125.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.94,
|
||||||
|
"memory_mib": 310.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613808.9102159,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.51,
|
||||||
|
"memory_mib": 101.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.26,
|
||||||
|
"memory_mib": 100.3
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.07
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 88.02
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.3,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.3,
|
||||||
|
"memory_mib": 125.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 310.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613812.126999,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 42.47,
|
||||||
|
"memory_mib": 108.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.22,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.52,
|
||||||
|
"memory_mib": 58.26
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.59,
|
||||||
|
"memory_mib": 81.07
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.49,
|
||||||
|
"memory_mib": 91.32
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.89,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.0,
|
||||||
|
"memory_mib": 125.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.63,
|
||||||
|
"memory_mib": 312.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613815.3339968,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.09,
|
||||||
|
"memory_mib": 102.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.6,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.1,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.01,
|
||||||
|
"memory_mib": 81.07
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.93,
|
||||||
|
"memory_mib": 91.94
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.74,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.95,
|
||||||
|
"memory_mib": 125.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.26,
|
||||||
|
"memory_mib": 313.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613818.5358336,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.84,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 29.56,
|
||||||
|
"memory_mib": 100.6
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.48,
|
||||||
|
"memory_mib": 58.04
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 81.07
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 4.93,
|
||||||
|
"memory_mib": 92.03
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.49,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.88,
|
||||||
|
"memory_mib": 125.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 34.57,
|
||||||
|
"memory_mib": 372.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613822.1201365,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.78,
|
||||||
|
"memory_mib": 103.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.18,
|
||||||
|
"memory_mib": 100.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.3,
|
||||||
|
"memory_mib": 58.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 81.2
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.31,
|
||||||
|
"memory_mib": 91.84
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.33,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.4,
|
||||||
|
"memory_mib": 125.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.11,
|
||||||
|
"memory_mib": 404.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613825.2998784,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 93.64,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 98.16,
|
||||||
|
"memory_mib": 111.8
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.74,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.44,
|
||||||
|
"memory_mib": 91.98
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 114.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.12,
|
||||||
|
"memory_mib": 126.0
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.99,
|
||||||
|
"memory_mib": 404.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613828.5721211,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 33.75,
|
||||||
|
"memory_mib": 103.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 40.17,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.94,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 7.41,
|
||||||
|
"memory_mib": 92.61
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.6,
|
||||||
|
"memory_mib": 126.6
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.19,
|
||||||
|
"memory_mib": 405.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613831.9721773,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.13,
|
||||||
|
"memory_mib": 103.3
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 22.65,
|
||||||
|
"memory_mib": 100.4
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 4.81,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 2.13,
|
||||||
|
"memory_mib": 81.2
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.8,
|
||||||
|
"memory_mib": 92.13
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.12,
|
||||||
|
"memory_mib": 114.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.01,
|
||||||
|
"memory_mib": 128.0
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 407.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613835.3198366,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.07,
|
||||||
|
"memory_mib": 103.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.69,
|
||||||
|
"memory_mib": 100.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.13,
|
||||||
|
"memory_mib": 58.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.27,
|
||||||
|
"memory_mib": 92.28
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.15,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 128.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.11,
|
||||||
|
"memory_mib": 407.9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613838.572431,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.21,
|
||||||
|
"memory_mib": 103.2
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.77,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.87,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.95,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 5.02,
|
||||||
|
"memory_mib": 92.42
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.72,
|
||||||
|
"memory_mib": 114.1
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.09,
|
||||||
|
"memory_mib": 129.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.03,
|
||||||
|
"memory_mib": 408.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613841.8114846,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.97,
|
||||||
|
"memory_mib": 105.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 22.79,
|
||||||
|
"memory_mib": 100.9
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.12,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.46,
|
||||||
|
"memory_mib": 81.2
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.41,
|
||||||
|
"memory_mib": 92.59
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.6,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.61,
|
||||||
|
"memory_mib": 133.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.09,
|
||||||
|
"memory_mib": 408.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613845.0277607,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.32,
|
||||||
|
"memory_mib": 105.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.6,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.41,
|
||||||
|
"memory_mib": 57.92
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 23.13,
|
||||||
|
"memory_mib": 95.2
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.19,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.79,
|
||||||
|
"memory_mib": 134.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 408.6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613848.3008633,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 85.59,
|
||||||
|
"memory_mib": 105.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 102.69,
|
||||||
|
"memory_mib": 113.1
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.0,
|
||||||
|
"memory_mib": 58.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.63,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.96,
|
||||||
|
"memory_mib": 94.89
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.49,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.91,
|
||||||
|
"memory_mib": 135.3
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.71,
|
||||||
|
"memory_mib": 409.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613851.8154323,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 23.21,
|
||||||
|
"memory_mib": 105.6
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 23.43,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 3.06,
|
||||||
|
"memory_mib": 58.16
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.12,
|
||||||
|
"memory_mib": 95.22
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.83,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.58,
|
||||||
|
"memory_mib": 136.7
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 410.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613855.0182817,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.32,
|
||||||
|
"memory_mib": 105.8
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 25.84,
|
||||||
|
"memory_mib": 100.7
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.92,
|
||||||
|
"memory_mib": 57.95
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.08,
|
||||||
|
"memory_mib": 95.52
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.24,
|
||||||
|
"memory_mib": 137.8
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.65,
|
||||||
|
"memory_mib": 411.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795613858.2439628,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 27.97,
|
||||||
|
"memory_mib": 106.0
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.8,
|
||||||
|
"memory_mib": 100.9
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.55,
|
||||||
|
"memory_mib": 58.13
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.08
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.42,
|
||||||
|
"memory_mib": 95.44
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.65,
|
||||||
|
"memory_mib": 114.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.79,
|
||||||
|
"memory_mib": 138.9
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.46,
|
||||||
|
"memory_mib": 411.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"mode": "full-pilot",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795612123.960144,
|
||||||
|
"finished_at_unix": 1795612154.1880035,
|
||||||
|
"requested_requests": 600,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 50,
|
||||||
|
"elapsed_seconds": 29.987,
|
||||||
|
"successful_requests": 600,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.009,
|
||||||
|
"successful_rps": 20.009,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 32.851,
|
||||||
|
"p95": 71.799,
|
||||||
|
"p99": 260.715,
|
||||||
|
"mean": 43.33
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 32.851,
|
||||||
|
"p95": 71.799,
|
||||||
|
"p99": 260.715,
|
||||||
|
"mean": 43.33
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.48,
|
||||||
|
"p95": 72.12,
|
||||||
|
"p99": 262.121,
|
||||||
|
"mean": 43.944
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.446,
|
||||||
|
"p95": 1.406,
|
||||||
|
"p99": 3.497,
|
||||||
|
"mean": 0.614
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,298 @@
|
|||||||
|
{
|
||||||
|
"mode": "baseline-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795612456.7475975,
|
||||||
|
"finished_at_unix": 1795612471.7290661,
|
||||||
|
"requested_requests": 300,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 50,
|
||||||
|
"elapsed_seconds": 14.981,
|
||||||
|
"successful_requests": 300,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.025,
|
||||||
|
"successful_rps": 20.025,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 30.136,
|
||||||
|
"p95": 55.255,
|
||||||
|
"p99": 76.891,
|
||||||
|
"mean": 33.656
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 30.136,
|
||||||
|
"p95": 55.255,
|
||||||
|
"p99": 76.891,
|
||||||
|
"mean": 33.656
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 30.711,
|
||||||
|
"p95": 57.027,
|
||||||
|
"p99": 81.064,
|
||||||
|
"mean": 34.226
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.417,
|
||||||
|
"p95": 1.103,
|
||||||
|
"p99": 3.113,
|
||||||
|
"mean": 0.571
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 62070.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 61157.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 4179.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4036.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 349274.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 62070.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 61157.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 4179.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4036.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 349274.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 0.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 0.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 0.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 0.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 39.312,
|
||||||
|
"cpu_peak_percent": 94.81,
|
||||||
|
"ram_mean_mib": 98.412,
|
||||||
|
"ram_peak_mib": 107.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 29.273,
|
||||||
|
"cpu_peak_percent": 58.22,
|
||||||
|
"ram_mean_mib": 93.045,
|
||||||
|
"ram_peak_mib": 93.14
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 1.667,
|
||||||
|
"cpu_peak_percent": 1.96,
|
||||||
|
"ram_mean_mib": 47.032,
|
||||||
|
"ram_peak_mib": 47.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 0.022,
|
||||||
|
"cpu_peak_percent": 0.09,
|
||||||
|
"ram_mean_mib": 77.34,
|
||||||
|
"ram_peak_mib": 77.34
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 0.237,
|
||||||
|
"cpu_peak_percent": 0.63,
|
||||||
|
"ram_mean_mib": 86.23,
|
||||||
|
"ram_peak_mib": 86.23
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 0.975,
|
||||||
|
"cpu_peak_percent": 2.16,
|
||||||
|
"ram_mean_mib": 107.725,
|
||||||
|
"ram_peak_mib": 107.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 1.0,
|
||||||
|
"cpu_peak_percent": 1.2,
|
||||||
|
"ram_mean_mib": 83.89,
|
||||||
|
"ram_peak_mib": 83.98
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 0.035,
|
||||||
|
"cpu_peak_percent": 0.06,
|
||||||
|
"ram_mean_mib": 419.7,
|
||||||
|
"ram_peak_mib": 419.7
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 70.275,
|
||||||
|
"cpu_peak_percent": 154.48,
|
||||||
|
"ram_mean_mib": 315.83,
|
||||||
|
"ram_peak_mib": 325.18
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 2.248,
|
||||||
|
"cpu_peak_percent": 3.09,
|
||||||
|
"ram_mean_mib": 697.545,
|
||||||
|
"ram_peak_mib": 697.61
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795612458.957656,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.41,
|
||||||
|
"memory_mib": 95.45
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 19.49,
|
||||||
|
"memory_mib": 92.98
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.5,
|
||||||
|
"memory_mib": 47.03
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.34
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 86.23
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.41,
|
||||||
|
"memory_mib": 107.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.98,
|
||||||
|
"memory_mib": 83.86
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 419.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612462.21975,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 94.81,
|
||||||
|
"memory_mib": 107.7
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 58.22,
|
||||||
|
"memory_mib": 93.14
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.45,
|
||||||
|
"memory_mib": 47.0
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.34
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.21,
|
||||||
|
"memory_mib": 86.23
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 107.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.2,
|
||||||
|
"memory_mib": 83.86
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 419.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612465.434715,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 21.16,
|
||||||
|
"memory_mib": 95.18
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 21.73,
|
||||||
|
"memory_mib": 93.03
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.96,
|
||||||
|
"memory_mib": 47.01
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.09,
|
||||||
|
"memory_mib": 77.34
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.63,
|
||||||
|
"memory_mib": 86.23
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.16,
|
||||||
|
"memory_mib": 107.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.97,
|
||||||
|
"memory_mib": 83.98
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.06,
|
||||||
|
"memory_mib": 419.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612468.6538105,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 20.87,
|
||||||
|
"memory_mib": 95.32
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 17.65,
|
||||||
|
"memory_mib": 93.03
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 47.09
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 77.34
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 86.23
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.16,
|
||||||
|
"memory_mib": 107.7
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 83.86
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 419.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,298 @@
|
|||||||
|
{
|
||||||
|
"mode": "full-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795612555.1274145,
|
||||||
|
"finished_at_unix": 1795612570.1446106,
|
||||||
|
"requested_requests": 300,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 50,
|
||||||
|
"elapsed_seconds": 15.017,
|
||||||
|
"successful_requests": 300,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 19.977,
|
||||||
|
"successful_rps": 19.977,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 35.534,
|
||||||
|
"p95": 106.659,
|
||||||
|
"p99": 238.073,
|
||||||
|
"mean": 46.466
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 35.534,
|
||||||
|
"p95": 106.659,
|
||||||
|
"p99": 238.073,
|
||||||
|
"mean": 46.466
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 35.983,
|
||||||
|
"p95": 109.806,
|
||||||
|
"p99": 238.922,
|
||||||
|
"mean": 47.131
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.402,
|
||||||
|
"p95": 1.033,
|
||||||
|
"p99": 3.67,
|
||||||
|
"mean": 0.666
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 63054.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 62141.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 4289.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4146.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 350336.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 66046.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 65117.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 4595.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4452.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 351526.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 2992.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 2976.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 306.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 306.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 1190.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 32.485,
|
||||||
|
"cpu_peak_percent": 43.65,
|
||||||
|
"ram_mean_mib": 98.108,
|
||||||
|
"ram_peak_mib": 98.32
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 35.985,
|
||||||
|
"cpu_peak_percent": 57.55,
|
||||||
|
"ram_mean_mib": 101.733,
|
||||||
|
"ram_peak_mib": 108.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 2.22,
|
||||||
|
"cpu_peak_percent": 2.43,
|
||||||
|
"ram_mean_mib": 57.98,
|
||||||
|
"ram_peak_mib": 58.04
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 0.17,
|
||||||
|
"cpu_peak_percent": 0.68,
|
||||||
|
"ram_mean_mib": 81.183,
|
||||||
|
"ram_peak_mib": 81.28
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 3.44,
|
||||||
|
"cpu_peak_percent": 5.91,
|
||||||
|
"ram_mean_mib": 83.715,
|
||||||
|
"ram_peak_mib": 85.04
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 2.255,
|
||||||
|
"cpu_peak_percent": 6.23,
|
||||||
|
"ram_mean_mib": 107.875,
|
||||||
|
"ram_peak_mib": 108.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 1.482,
|
||||||
|
"cpu_peak_percent": 1.76,
|
||||||
|
"ram_mean_mib": 86.017,
|
||||||
|
"ram_peak_mib": 87.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 0.95,
|
||||||
|
"cpu_peak_percent": 1.53,
|
||||||
|
"ram_mean_mib": 328.75,
|
||||||
|
"ram_peak_mib": 363.7
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 70.86,
|
||||||
|
"cpu_peak_percent": 85.32,
|
||||||
|
"ram_mean_mib": 339.002,
|
||||||
|
"ram_peak_mib": 345.25
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 4,
|
||||||
|
"cpu_mean_percent": 8.127,
|
||||||
|
"cpu_peak_percent": 10.4,
|
||||||
|
"ram_mean_mib": 606.357,
|
||||||
|
"ram_peak_mib": 643.94
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795612557.314836,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 25.59,
|
||||||
|
"memory_mib": 97.64
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 57.55,
|
||||||
|
"memory_mib": 108.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.18,
|
||||||
|
"memory_mib": 57.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.15
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.34,
|
||||||
|
"memory_mib": 83.62
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.9,
|
||||||
|
"memory_mib": 107.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.24,
|
||||||
|
"memory_mib": 84.64
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.85,
|
||||||
|
"memory_mib": 296.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612560.629102,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 29.46,
|
||||||
|
"memory_mib": 98.22
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 31.44,
|
||||||
|
"memory_mib": 99.47
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.43,
|
||||||
|
"memory_mib": 57.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.15
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 5.91,
|
||||||
|
"memory_mib": 82.16
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 108.0
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.74,
|
||||||
|
"memory_mib": 84.64
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.04,
|
||||||
|
"memory_mib": 296.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612563.842336,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 43.65,
|
||||||
|
"memory_mib": 98.25
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.61,
|
||||||
|
"memory_mib": 99.52
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.1,
|
||||||
|
"memory_mib": 58.04
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.68,
|
||||||
|
"memory_mib": 81.28
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.6,
|
||||||
|
"memory_mib": 84.04
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 6.23,
|
||||||
|
"memory_mib": 107.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.19,
|
||||||
|
"memory_mib": 87.39
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.38,
|
||||||
|
"memory_mib": 359.3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612567.0444667,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 31.24,
|
||||||
|
"memory_mib": 98.32
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.34,
|
||||||
|
"memory_mib": 99.44
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.17,
|
||||||
|
"memory_mib": 57.96
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 81.15
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 4.91,
|
||||||
|
"memory_mib": 85.04
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.13,
|
||||||
|
"memory_mib": 107.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.76,
|
||||||
|
"memory_mib": 87.4
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.53,
|
||||||
|
"memory_mib": 363.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,335 @@
|
|||||||
|
{
|
||||||
|
"mode": "optimized-1",
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": 1795612653.7267401,
|
||||||
|
"finished_at_unix": 1795612669.351124,
|
||||||
|
"requested_requests": 300,
|
||||||
|
"target_rps": 20.0,
|
||||||
|
"workers": 16,
|
||||||
|
"warmup_requests": 50,
|
||||||
|
"elapsed_seconds": 14.998,
|
||||||
|
"successful_requests": 300,
|
||||||
|
"failed_requests": 0,
|
||||||
|
"error_ratio": 0.0,
|
||||||
|
"actual_rps": 20.003,
|
||||||
|
"successful_rps": 20.003,
|
||||||
|
"successful_latency_ms": {
|
||||||
|
"p50": 33.081,
|
||||||
|
"p95": 70.049,
|
||||||
|
"p99": 124.989,
|
||||||
|
"mean": 39.152
|
||||||
|
},
|
||||||
|
"all_latency_ms": {
|
||||||
|
"p50": 33.081,
|
||||||
|
"p95": 70.049,
|
||||||
|
"p99": 124.989,
|
||||||
|
"mean": 39.152
|
||||||
|
},
|
||||||
|
"scheduled_latency_ms": {
|
||||||
|
"p50": 33.629,
|
||||||
|
"p95": 70.367,
|
||||||
|
"p99": 125.341,
|
||||||
|
"mean": 39.717
|
||||||
|
},
|
||||||
|
"client_queue_delay_ms": {
|
||||||
|
"p50": 0.401,
|
||||||
|
"p95": 1.238,
|
||||||
|
"p99": 4.711,
|
||||||
|
"mean": 0.564
|
||||||
|
},
|
||||||
|
"collector_before": {
|
||||||
|
"otelcol_receiver_accepted_spans": 66241.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 65326.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 4706.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4563.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 352847.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_after": {
|
||||||
|
"otelcol_receiver_accepted_spans": 66580.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 65665.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 913.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 5012.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 4869.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 143.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 353969.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"collector_deltas": {
|
||||||
|
"otelcol_receiver_accepted_spans": 339.0,
|
||||||
|
"otelcol_receiver_refused_spans": 0.0,
|
||||||
|
"otelcol_exporter_sent_spans": 339.0,
|
||||||
|
"otelcol_exporter_send_failed_spans": 0.0,
|
||||||
|
"otelcol_receiver_accepted_log_records": 306.0,
|
||||||
|
"otelcol_receiver_refused_log_records": 0.0,
|
||||||
|
"otelcol_exporter_sent_log_records": 306.0,
|
||||||
|
"otelcol_exporter_send_failed_log_records": 0.0,
|
||||||
|
"otelcol_receiver_accepted_metric_points": 1122.0,
|
||||||
|
"otelcol_receiver_refused_metric_points": 0.0
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"api-1": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 48.742,
|
||||||
|
"cpu_peak_percent": 99.08,
|
||||||
|
"ram_mean_mib": 105.56,
|
||||||
|
"ram_peak_mib": 113.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 41.664,
|
||||||
|
"cpu_peak_percent": 100.05,
|
||||||
|
"ram_mean_mib": 96.536,
|
||||||
|
"ram_peak_mib": 96.87
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 2.18,
|
||||||
|
"cpu_peak_percent": 2.37,
|
||||||
|
"ram_mean_mib": 58.064,
|
||||||
|
"ram_peak_mib": 58.12
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 0.134,
|
||||||
|
"cpu_peak_percent": 0.6,
|
||||||
|
"ram_mean_mib": 84.388,
|
||||||
|
"ram_peak_mib": 85.1
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 3.446,
|
||||||
|
"cpu_peak_percent": 12.29,
|
||||||
|
"ram_mean_mib": 88.034,
|
||||||
|
"ram_peak_mib": 88.56
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 1.4,
|
||||||
|
"cpu_peak_percent": 2.89,
|
||||||
|
"ram_mean_mib": 108.3,
|
||||||
|
"ram_peak_mib": 108.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 1.362,
|
||||||
|
"cpu_peak_percent": 2.13,
|
||||||
|
"ram_mean_mib": 92.238,
|
||||||
|
"ram_peak_mib": 92.85
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 0.672,
|
||||||
|
"cpu_peak_percent": 1.97,
|
||||||
|
"ram_mean_mib": 382.68,
|
||||||
|
"ram_peak_mib": 384.8
|
||||||
|
},
|
||||||
|
"application_total": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 92.72,
|
||||||
|
"cpu_peak_percent": 171.09,
|
||||||
|
"ram_mean_mib": 344.548,
|
||||||
|
"ram_peak_mib": 352.55
|
||||||
|
},
|
||||||
|
"observability_total": {
|
||||||
|
"samples": 5,
|
||||||
|
"cpu_mean_percent": 6.88,
|
||||||
|
"cpu_peak_percent": 15.7,
|
||||||
|
"ram_mean_mib": 671.252,
|
||||||
|
"ram_peak_mib": 674.61
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resource_samples": [
|
||||||
|
{
|
||||||
|
"timestamp": 1795612655.878537,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.53,
|
||||||
|
"memory_mib": 101.1
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 24.21,
|
||||||
|
"memory_mib": 96.43
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.23,
|
||||||
|
"memory_mib": 58.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.6,
|
||||||
|
"memory_mib": 83.04
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 0.57,
|
||||||
|
"memory_mib": 87.68
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 2.89,
|
||||||
|
"memory_mib": 107.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 0.96,
|
||||||
|
"memory_mib": 91.34
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.05,
|
||||||
|
"memory_mib": 381.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612659.1017349,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 99.08,
|
||||||
|
"memory_mib": 113.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.07,
|
||||||
|
"memory_mib": 96.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.37,
|
||||||
|
"memory_mib": 58.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 84.6
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.15,
|
||||||
|
"memory_mib": 87.55
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.81,
|
||||||
|
"memory_mib": 107.9
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.14,
|
||||||
|
"memory_mib": 91.5
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.65,
|
||||||
|
"memory_mib": 382.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612662.4567392,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 26.46,
|
||||||
|
"memory_mib": 101.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 27.66,
|
||||||
|
"memory_mib": 96.5
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.19,
|
||||||
|
"memory_mib": 58.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.0,
|
||||||
|
"memory_mib": 84.6
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 12.29,
|
||||||
|
"memory_mib": 88.56
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.88,
|
||||||
|
"memory_mib": 108.2
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.45,
|
||||||
|
"memory_mib": 92.68
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.08,
|
||||||
|
"memory_mib": 382.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612666.0590723,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 24.75,
|
||||||
|
"memory_mib": 101.5
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 28.33,
|
||||||
|
"memory_mib": 96.38
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 1.98,
|
||||||
|
"memory_mib": 58.05
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.03,
|
||||||
|
"memory_mib": 84.6
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 1.06,
|
||||||
|
"memory_mib": 88.19
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 1.25,
|
||||||
|
"memory_mib": 108.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 1.13,
|
||||||
|
"memory_mib": 92.85
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 0.61,
|
||||||
|
"memory_mib": 383.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"timestamp": 1795612669.3177078,
|
||||||
|
"services": {
|
||||||
|
"api-1": {
|
||||||
|
"cpu_percent": 68.89,
|
||||||
|
"memory_mib": 110.4
|
||||||
|
},
|
||||||
|
"api-2": {
|
||||||
|
"cpu_percent": 100.05,
|
||||||
|
"memory_mib": 96.87
|
||||||
|
},
|
||||||
|
"dispatcher": {
|
||||||
|
"cpu_percent": 2.13,
|
||||||
|
"memory_mib": 58.12
|
||||||
|
},
|
||||||
|
"worker": {
|
||||||
|
"cpu_percent": 0.02,
|
||||||
|
"memory_mib": 85.1
|
||||||
|
},
|
||||||
|
"otel-collector": {
|
||||||
|
"cpu_percent": 2.16,
|
||||||
|
"memory_mib": 88.19
|
||||||
|
},
|
||||||
|
"prometheus": {
|
||||||
|
"cpu_percent": 0.17,
|
||||||
|
"memory_mib": 108.8
|
||||||
|
},
|
||||||
|
"loki": {
|
||||||
|
"cpu_percent": 2.13,
|
||||||
|
"memory_mib": 92.82
|
||||||
|
},
|
||||||
|
"tempo": {
|
||||||
|
"cpu_percent": 1.97,
|
||||||
|
"memory_mib": 384.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 149 KiB |
@@ -0,0 +1,64 @@
|
|||||||
|
|
||||||
|
=== FULL ===
|
||||||
|
normal
|
||||||
|
{
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 100,
|
||||||
|
"saved_in_tempo": 100,
|
||||||
|
"not_sampled": 0,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"retention_percent": 100.0,
|
||||||
|
"missing_percent": 0.0
|
||||||
|
}
|
||||||
|
error
|
||||||
|
{
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 100,
|
||||||
|
"saved_in_tempo": 100,
|
||||||
|
"not_sampled": 0,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"retention_percent": 100.0,
|
||||||
|
"missing_percent": 0.0
|
||||||
|
}
|
||||||
|
slow
|
||||||
|
{
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 100,
|
||||||
|
"saved_in_tempo": 100,
|
||||||
|
"not_sampled": 0,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"retention_percent": 100.0,
|
||||||
|
"missing_percent": 0.0
|
||||||
|
}
|
||||||
|
|
||||||
|
=== OPTIMIZED ===
|
||||||
|
normal
|
||||||
|
{
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 5,
|
||||||
|
"saved_in_tempo": 5,
|
||||||
|
"not_sampled": 95,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"retention_percent": 5.0,
|
||||||
|
"missing_percent": 95.0
|
||||||
|
}
|
||||||
|
error
|
||||||
|
{
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 8,
|
||||||
|
"saved_in_tempo": 8,
|
||||||
|
"not_sampled": 92,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"retention_percent": 8.0,
|
||||||
|
"missing_percent": 92.0
|
||||||
|
}
|
||||||
|
slow
|
||||||
|
{
|
||||||
|
"total": 100,
|
||||||
|
"sampled": 6,
|
||||||
|
"saved_in_tempo": 6,
|
||||||
|
"not_sampled": 94,
|
||||||
|
"sampled_but_not_found": 0,
|
||||||
|
"retention_percent": 6.0,
|
||||||
|
"missing_percent": 94.0
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 60 KiB |
@@ -0,0 +1,240 @@
|
|||||||
|
|
||||||
|
=== BASELINE ===
|
||||||
|
baseline-1 success=1200 errors=0 rps=20.006 p95=58.597 p99=127.888 cpu=70.439 ram=316.819 samples=19
|
||||||
|
baseline-2 success=1200 errors=0 rps=20.007 p95=61.926 p99=89.581 cpu=62.285 ram=315.16 samples=19
|
||||||
|
baseline-3 success=1200 errors=0 rps=20.006 p95=52.772 p99=79.374 cpu=60.354 ram=314.785 samples=19
|
||||||
|
|
||||||
|
Aggregated results:
|
||||||
|
Total requests: 3600
|
||||||
|
Total successful: 3600
|
||||||
|
Total errors: 0
|
||||||
|
Mean RPS: 20.006
|
||||||
|
Latency p50, mean across runs: 29.914
|
||||||
|
Latency p50, min/max: 29.772 30.151
|
||||||
|
Latency p95, mean across runs: 57.765
|
||||||
|
Latency p95, min/max: 52.772 61.926
|
||||||
|
Latency p99, mean across runs: 98.948
|
||||||
|
Latency p99, min/max: 79.374 127.888
|
||||||
|
Latency mean, mean across runs: 35.161
|
||||||
|
Latency mean, min/max: 33.606 36.935
|
||||||
|
Client queue delay p99: 3.024
|
||||||
|
|
||||||
|
Resources: application_total
|
||||||
|
cpu_mean_percent 64.359
|
||||||
|
cpu_peak_percent 155.403
|
||||||
|
ram_mean_mib 315.588
|
||||||
|
ram_peak_mib 334.077
|
||||||
|
|
||||||
|
Resources: observability_total
|
||||||
|
cpu_mean_percent 3.087
|
||||||
|
cpu_peak_percent 13.017
|
||||||
|
ram_mean_mib 790.078
|
||||||
|
ram_peak_mib 807.1
|
||||||
|
|
||||||
|
Resources: api-1
|
||||||
|
cpu_mean_percent 30.199
|
||||||
|
cpu_peak_percent 90.857
|
||||||
|
ram_mean_mib 95.826
|
||||||
|
ram_peak_mib 106.5
|
||||||
|
|
||||||
|
Resources: api-2
|
||||||
|
cpu_mean_percent 32.424
|
||||||
|
cpu_peak_percent 93.35
|
||||||
|
ram_mean_mib 94.896
|
||||||
|
ram_peak_mib 104.767
|
||||||
|
|
||||||
|
Resources: otel-collector
|
||||||
|
cpu_mean_percent 0.418
|
||||||
|
cpu_peak_percent 2.467
|
||||||
|
ram_mean_mib 87.53
|
||||||
|
ram_peak_mib 87.93
|
||||||
|
|
||||||
|
Resources: tempo
|
||||||
|
cpu_mean_percent 0.52
|
||||||
|
cpu_peak_percent 8.027
|
||||||
|
ram_mean_mib 473.393
|
||||||
|
ram_peak_mib 488.9
|
||||||
|
|
||||||
|
Resources: loki
|
||||||
|
cpu_mean_percent 1.019
|
||||||
|
cpu_peak_percent 1.657
|
||||||
|
ram_mean_mib 117.293
|
||||||
|
ram_peak_mib 118.803
|
||||||
|
|
||||||
|
Resources: prometheus
|
||||||
|
cpu_mean_percent 1.129
|
||||||
|
cpu_peak_percent 4.91
|
||||||
|
ram_mean_mib 111.861
|
||||||
|
ram_peak_mib 112.167
|
||||||
|
|
||||||
|
Collector totals:
|
||||||
|
otelcol_receiver_accepted_spans 0.0
|
||||||
|
otelcol_receiver_refused_spans 0.0
|
||||||
|
otelcol_exporter_sent_spans 0.0
|
||||||
|
otelcol_exporter_send_failed_spans 0.0
|
||||||
|
otelcol_receiver_accepted_log_records 0.0
|
||||||
|
otelcol_receiver_refused_log_records 0.0
|
||||||
|
otelcol_exporter_sent_log_records 0.0
|
||||||
|
otelcol_exporter_send_failed_log_records 0.0
|
||||||
|
otelcol_receiver_accepted_metric_points 0.0
|
||||||
|
otelcol_receiver_refused_metric_points 0.0
|
||||||
|
|
||||||
|
=== FULL ===
|
||||||
|
full-1 success=1200 errors=0 rps=20.005 p95=72.11 p99=141.495 cpu=80.053 ram=343.884 samples=19
|
||||||
|
full-2 success=1200 errors=0 rps=20.002 p95=78.33 p99=126.642 cpu=84.979 ram=343.058 samples=19
|
||||||
|
full-3 success=1200 errors=0 rps=20.006 p95=85.385 p99=171.278 cpu=81.522 ram=342.974 samples=19
|
||||||
|
|
||||||
|
Aggregated results:
|
||||||
|
Total requests: 3600
|
||||||
|
Total successful: 3600
|
||||||
|
Total errors: 0
|
||||||
|
Mean RPS: 20.004
|
||||||
|
Latency p50, mean across runs: 33.93
|
||||||
|
Latency p50, min/max: 32.897 34.555
|
||||||
|
Latency p95, mean across runs: 78.608
|
||||||
|
Latency p95, min/max: 72.11 85.385
|
||||||
|
Latency p99, mean across runs: 146.472
|
||||||
|
Latency p99, min/max: 126.642 171.278
|
||||||
|
Latency mean, mean across runs: 41.751
|
||||||
|
Latency mean, min/max: 39.86 43.329
|
||||||
|
Client queue delay p99: 3.478
|
||||||
|
|
||||||
|
Resources: application_total
|
||||||
|
cpu_mean_percent 82.185
|
||||||
|
cpu_peak_percent 202.3
|
||||||
|
ram_mean_mib 343.305
|
||||||
|
ram_peak_mib 364.64
|
||||||
|
|
||||||
|
Resources: observability_total
|
||||||
|
cpu_mean_percent 8.59
|
||||||
|
cpu_peak_percent 24.303
|
||||||
|
ram_mean_mib 757.891
|
||||||
|
ram_peak_mib 796.96
|
||||||
|
|
||||||
|
Resources: api-1
|
||||||
|
cpu_mean_percent 38.537
|
||||||
|
cpu_peak_percent 101.43
|
||||||
|
ram_mean_mib 103.569
|
||||||
|
ram_peak_mib 115.733
|
||||||
|
|
||||||
|
Resources: api-2
|
||||||
|
cpu_mean_percent 41.171
|
||||||
|
cpu_peak_percent 100.297
|
||||||
|
ram_mean_mib 100.341
|
||||||
|
ram_peak_mib 111.633
|
||||||
|
|
||||||
|
Resources: otel-collector
|
||||||
|
cpu_mean_percent 3.274
|
||||||
|
cpu_peak_percent 11.75
|
||||||
|
ram_mean_mib 96.156
|
||||||
|
ram_peak_mib 98.073
|
||||||
|
|
||||||
|
Resources: tempo
|
||||||
|
cpu_mean_percent 2.027
|
||||||
|
cpu_peak_percent 15.703
|
||||||
|
ram_mean_mib 442.635
|
||||||
|
ram_peak_mib 478.133
|
||||||
|
|
||||||
|
Resources: loki
|
||||||
|
cpu_mean_percent 1.52
|
||||||
|
cpu_peak_percent 4.12
|
||||||
|
ram_mean_mib 107.388
|
||||||
|
ram_peak_mib 110.21
|
||||||
|
|
||||||
|
Resources: prometheus
|
||||||
|
cpu_mean_percent 1.769
|
||||||
|
cpu_peak_percent 6.497
|
||||||
|
ram_mean_mib 111.712
|
||||||
|
ram_peak_mib 112.067
|
||||||
|
|
||||||
|
Collector totals:
|
||||||
|
otelcol_receiver_accepted_spans 34274.0
|
||||||
|
otelcol_receiver_refused_spans 0.0
|
||||||
|
otelcol_exporter_sent_spans 34256.0
|
||||||
|
otelcol_exporter_send_failed_spans 0.0
|
||||||
|
otelcol_receiver_accepted_log_records 3641.0
|
||||||
|
otelcol_receiver_refused_log_records 0.0
|
||||||
|
otelcol_exporter_sent_log_records 3641.0
|
||||||
|
otelcol_exporter_send_failed_log_records 0.0
|
||||||
|
otelcol_receiver_accepted_metric_points 8243.0
|
||||||
|
otelcol_receiver_refused_metric_points 0.0
|
||||||
|
|
||||||
|
=== OPTIMIZED ===
|
||||||
|
optimized-1 success=1200 errors=0 rps=20.007 p95=63.797 p99=100.02 cpu=71.94 ram=342.532 samples=19
|
||||||
|
optimized-2 success=1200 errors=0 rps=20.005 p95=63.152 p99=108.235 cpu=73.275 ram=338.713 samples=19
|
||||||
|
optimized-3 success=1200 errors=0 rps=20.005 p95=74.298 p99=116.222 cpu=78.354 ram=344.916 samples=18
|
||||||
|
|
||||||
|
Aggregated results:
|
||||||
|
Total requests: 3600
|
||||||
|
Total successful: 3600
|
||||||
|
Total errors: 0
|
||||||
|
Mean RPS: 20.006
|
||||||
|
Latency p50, mean across runs: 32.61
|
||||||
|
Latency p50, min/max: 32.237 32.942
|
||||||
|
Latency p95, mean across runs: 67.082
|
||||||
|
Latency p95, min/max: 63.152 74.298
|
||||||
|
Latency p99, mean across runs: 108.159
|
||||||
|
Latency p99, min/max: 100.02 116.222
|
||||||
|
Latency mean, mean across runs: 38.29
|
||||||
|
Latency mean, min/max: 37.439 39.957
|
||||||
|
Client queue delay p99: 4.273
|
||||||
|
|
||||||
|
Resources: application_total
|
||||||
|
cpu_mean_percent 74.523
|
||||||
|
cpu_peak_percent 187.66
|
||||||
|
ram_mean_mib 342.054
|
||||||
|
ram_peak_mib 357.103
|
||||||
|
|
||||||
|
Resources: observability_total
|
||||||
|
cpu_mean_percent 6.765
|
||||||
|
cpu_peak_percent 21.313
|
||||||
|
ram_mean_mib 738.721
|
||||||
|
ram_peak_mib 756.417
|
||||||
|
|
||||||
|
Resources: api-1
|
||||||
|
cpu_mean_percent 35.665
|
||||||
|
cpu_peak_percent 93.567
|
||||||
|
ram_mean_mib 101.139
|
||||||
|
ram_peak_mib 106.657
|
||||||
|
|
||||||
|
Resources: api-2
|
||||||
|
cpu_mean_percent 36.41
|
||||||
|
cpu_peak_percent 93.38
|
||||||
|
ram_mean_mib 100.057
|
||||||
|
ram_peak_mib 110.333
|
||||||
|
|
||||||
|
Resources: otel-collector
|
||||||
|
cpu_mean_percent 2.683
|
||||||
|
cpu_peak_percent 13.12
|
||||||
|
ram_mean_mib 88.182
|
||||||
|
ram_peak_mib 89.877
|
||||||
|
|
||||||
|
Resources: tempo
|
||||||
|
cpu_mean_percent 1.23
|
||||||
|
cpu_peak_percent 12.47
|
||||||
|
ram_mean_mib 419.29
|
||||||
|
ram_peak_mib 432.433
|
||||||
|
|
||||||
|
Resources: loki
|
||||||
|
cpu_mean_percent 1.47
|
||||||
|
cpu_peak_percent 2.813
|
||||||
|
ram_mean_mib 117.931
|
||||||
|
ram_peak_mib 123.367
|
||||||
|
|
||||||
|
Resources: prometheus
|
||||||
|
cpu_mean_percent 1.381
|
||||||
|
cpu_peak_percent 3.183
|
||||||
|
ram_mean_mib 113.318
|
||||||
|
ram_peak_mib 113.9
|
||||||
|
|
||||||
|
Collector totals:
|
||||||
|
otelcol_receiver_accepted_spans 3432.0
|
||||||
|
otelcol_receiver_refused_spans 0.0
|
||||||
|
otelcol_exporter_sent_spans 3435.0
|
||||||
|
otelcol_exporter_send_failed_spans 0.0
|
||||||
|
otelcol_receiver_accepted_log_records 3642.0
|
||||||
|
otelcol_receiver_refused_log_records 0.0
|
||||||
|
otelcol_exporter_sent_log_records 3642.0
|
||||||
|
otelcol_exporter_send_failed_log_records 0.0
|
||||||
|
otelcol_receiver_accepted_metric_points 8534.0
|
||||||
|
otelcol_receiver_refused_metric_points 0.0
|
||||||
@@ -0,0 +1,923 @@
|
|||||||
|
{
|
||||||
|
"id": null,
|
||||||
|
"uid": "lab6-messenger",
|
||||||
|
"title": "Lab6 - Messenger Observability",
|
||||||
|
"tags": [
|
||||||
|
"lab6",
|
||||||
|
"messenger",
|
||||||
|
"opentelemetry"
|
||||||
|
],
|
||||||
|
"timezone": "browser",
|
||||||
|
"schemaVersion": 39,
|
||||||
|
"version": 2,
|
||||||
|
"editable": false,
|
||||||
|
"refresh": "10s",
|
||||||
|
"time": {
|
||||||
|
"from": "now-30m",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"title": "HTTP Request Rate",
|
||||||
|
"description": "HTTP requests per second by method and route",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "sum by (method, route) (rate(messenger_http_requests_total[$__rate_interval]))",
|
||||||
|
"legendFormat": "{{method}} {{route}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "reqps",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"title": "HTTP Errors (5xx)",
|
||||||
|
"description": "Server errors per second",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 0,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "sum(rate(messenger_http_requests_total{status_code=~\"5..\"}[$__rate_interval])) or (0 * sum(rate(messenger_http_requests_total[$__rate_interval])))",
|
||||||
|
"legendFormat": "5xx errors",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "reqps",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"title": "HTTP Request Duration",
|
||||||
|
"description": "Mean HTTP request duration",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 8,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "sum(rate(messenger_http_request_duration_seconds_sum[$__rate_interval])) / sum(rate(messenger_http_request_duration_seconds_count[$__rate_interval]))",
|
||||||
|
"legendFormat": "Mean duration",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "s",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"title": "Successful Jobs",
|
||||||
|
"description": "Successful job processing attempts over five minutes",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 8,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "sum(increase(messenger_jobs_total{outcome=\"success\"}[5m])) or (0 * sum(increase(messenger_jobs_total[5m])))",
|
||||||
|
"legendFormat": "Successful jobs",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "short",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"title": "Failed Jobs and Retries",
|
||||||
|
"description": "Failed and retried job attempts over five minutes",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 16,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "sum(increase(messenger_jobs_total{outcome=~\"failed|error\"}[5m])) or (0 * sum(increase(messenger_jobs_total[5m])))",
|
||||||
|
"legendFormat": "Failed attempts",
|
||||||
|
"range": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "sum(increase(messenger_jobs_total{outcome=\"retry\"}[5m])) or (0 * sum(increase(messenger_jobs_total[5m])))",
|
||||||
|
"legendFormat": "Retries",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "short",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"title": "Job Processing Duration",
|
||||||
|
"description": "Mean job processing duration by outcome",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 16,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "sum by (outcome) (rate(messenger_job_duration_seconds_sum[$__rate_interval])) / sum by (outcome) (rate(messenger_job_duration_seconds_count[$__rate_interval]))",
|
||||||
|
"legendFormat": "{{outcome}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "s",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"title": "HTTP Latency Percentiles",
|
||||||
|
"description": "Business request latency across both API replicas",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 24,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "histogram_quantile(0.5, sum by (le) (rate(messenger_http_request_duration_seconds_bucket{route=~\"/api/.*\"}[$__rate_interval])))",
|
||||||
|
"legendFormat": "p50",
|
||||||
|
"range": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "histogram_quantile(0.95, sum by (le) (rate(messenger_http_request_duration_seconds_bucket{route=~\"/api/.*\"}[$__rate_interval])))",
|
||||||
|
"legendFormat": "p95",
|
||||||
|
"range": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "C",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "histogram_quantile(0.99, sum by (le) (rate(messenger_http_request_duration_seconds_bucket{route=~\"/api/.*\"}[$__rate_interval])))",
|
||||||
|
"legendFormat": "p99",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "s",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"title": "HTTP Error Ratio",
|
||||||
|
"description": "5xx divided by all business API requests; health excluded",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 24,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "100 * (sum(rate(messenger_http_requests_total{route=~\"/api/.*\",status_code=~\"5..\"}[$__rate_interval])) or (0 * sum(rate(messenger_http_requests_total{route=~\"/api/.*\"}[$__rate_interval])))) / (sum(rate(messenger_http_requests_total{route=~\"/api/.*\"}[$__rate_interval])) > 0)",
|
||||||
|
"legendFormat": "5xx ratio",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "percent",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 9,
|
||||||
|
"title": "Queue Backlog",
|
||||||
|
"description": "Durable queued attachment jobs",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 32,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "max by (queue_name) (messenger_queue_depth)",
|
||||||
|
"legendFormat": "{{queue_name}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "short",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 10,
|
||||||
|
"title": "Oldest Queued Job Age",
|
||||||
|
"description": "Age of oldest queued attachment job",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 32,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "max by (queue_name) (messenger_queue_oldest_age_seconds)",
|
||||||
|
"legendFormat": "{{queue_name}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "s",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 11,
|
||||||
|
"title": "Database Pool Used / Capacity",
|
||||||
|
"description": "Checked-out connections and maximum capacity per process",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 40,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "messenger_db_pool_used",
|
||||||
|
"legendFormat": "Used {{service_name}} {{service_instance_id}}",
|
||||||
|
"range": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "messenger_db_pool_capacity",
|
||||||
|
"legendFormat": "Capacity {{service_name}} {{service_instance_id}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "short",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 12,
|
||||||
|
"title": "Database Pool Waiting",
|
||||||
|
"description": "Connection acquisitions waiting on the pool queue",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 40,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "messenger_db_pool_waiting",
|
||||||
|
"legendFormat": "{{service_name}} {{service_instance_id}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "short",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 13,
|
||||||
|
"title": "Worker Busy / Capacity",
|
||||||
|
"description": "Concurrent active processing attempts and worker capacity",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 48,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "messenger_worker_busy",
|
||||||
|
"legendFormat": "Busy",
|
||||||
|
"range": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "messenger_worker_capacity",
|
||||||
|
"legendFormat": "Capacity",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "short",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 14,
|
||||||
|
"title": "Process CPU",
|
||||||
|
"description": "CPU utilization per process; 100% equals one CPU core",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 48,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "messenger_process_cpu_percent",
|
||||||
|
"legendFormat": "{{service_name}} {{service_instance_id}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "percent",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 15,
|
||||||
|
"title": "Process RAM",
|
||||||
|
"description": "Resident memory per application process",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 56,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "messenger_process_memory_bytes",
|
||||||
|
"legendFormat": "{{service_name}} {{service_instance_id}}",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "bytes",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 16,
|
||||||
|
"title": "Attachment End-to-End Time",
|
||||||
|
"description": "Time from durable acceptance to committed ready state",
|
||||||
|
"type": "timeseries",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 56,
|
||||||
|
"w": 12,
|
||||||
|
"h": 8
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "histogram_quantile(0.5, sum by (le) (rate(messenger_attachment_ready_duration_seconds_bucket[$__rate_interval])))",
|
||||||
|
"legendFormat": "p50",
|
||||||
|
"range": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "histogram_quantile(0.95, sum by (le) (rate(messenger_attachment_ready_duration_seconds_bucket[$__rate_interval])))",
|
||||||
|
"legendFormat": "p95",
|
||||||
|
"range": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "C",
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"expr": "histogram_quantile(0.99, sum by (le) (rate(messenger_attachment_ready_duration_seconds_bucket[$__rate_interval])))",
|
||||||
|
"legendFormat": "p99",
|
||||||
|
"range": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "s",
|
||||||
|
"min": 0,
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"showPoints": "auto"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
providers:
|
||||||
|
- name: Lab6
|
||||||
|
orgId: 1
|
||||||
|
folder: Lab6
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: false
|
||||||
|
updateIntervalSeconds: 10
|
||||||
|
options:
|
||||||
|
path: /var/lib/grafana/dashboards
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
datasources:
|
||||||
|
- name: Prometheus
|
||||||
|
uid: prometheus
|
||||||
|
type: prometheus
|
||||||
|
access: proxy
|
||||||
|
url: http://prometheus:9090
|
||||||
|
isDefault: true
|
||||||
|
editable: false
|
||||||
|
|
||||||
|
- name: Loki
|
||||||
|
uid: loki
|
||||||
|
type: loki
|
||||||
|
access: proxy
|
||||||
|
url: http://loki:3100
|
||||||
|
editable: false
|
||||||
|
jsonData:
|
||||||
|
derivedFields:
|
||||||
|
- name: TraceID
|
||||||
|
matcherRegex: '"trace_id"\s*:\s*"([a-f0-9]{32})"'
|
||||||
|
datasourceUid: tempo
|
||||||
|
url: '$${__value.raw}'
|
||||||
|
|
||||||
|
- name: Tempo
|
||||||
|
uid: tempo
|
||||||
|
type: tempo
|
||||||
|
access: proxy
|
||||||
|
url: http://tempo:3200
|
||||||
|
editable: false
|
||||||
|
jsonData:
|
||||||
|
tracesToLogsV2:
|
||||||
|
datasourceUid: loki
|
||||||
|
spanStartTimeShift: '-5m'
|
||||||
|
spanEndTimeShift: '5m'
|
||||||
|
filterByTraceID: true
|
||||||
|
filterBySpanID: false
|
||||||
|
tags:
|
||||||
|
- key: service.name
|
||||||
|
value: service_name
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
auth_enabled: false
|
||||||
|
|
||||||
|
server:
|
||||||
|
http_listen_port: 3100
|
||||||
|
|
||||||
|
common:
|
||||||
|
instance_addr: 127.0.0.1
|
||||||
|
path_prefix: /loki
|
||||||
|
storage:
|
||||||
|
filesystem:
|
||||||
|
chunks_directory: /loki/chunks
|
||||||
|
rules_directory: /loki/rules
|
||||||
|
replication_factor: 1
|
||||||
|
ring:
|
||||||
|
kvstore:
|
||||||
|
store: inmemory
|
||||||
|
|
||||||
|
schema_config:
|
||||||
|
configs:
|
||||||
|
- from: 2024-01-01
|
||||||
|
store: tsdb
|
||||||
|
object_store: filesystem
|
||||||
|
schema: v13
|
||||||
|
index:
|
||||||
|
prefix: index_
|
||||||
|
period: 24h
|
||||||
|
|
||||||
|
limits_config:
|
||||||
|
allow_structured_metadata: true
|
||||||
|
retention_period: 168h
|
||||||
|
ingestion_rate_mb: 4
|
||||||
|
ingestion_burst_size_mb: 8
|
||||||
|
|
||||||
|
compactor:
|
||||||
|
working_directory: /loki/compactor
|
||||||
|
retention_enabled: true
|
||||||
|
delete_request_store: filesystem
|
||||||
|
|
||||||
|
analytics:
|
||||||
|
reporting_enabled: false
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
"Version": "2012-10-17",
|
||||||
|
"Statement": [
|
||||||
|
{
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Action": [
|
||||||
|
"s3:ListBucket"
|
||||||
|
],
|
||||||
|
"Resource": [
|
||||||
|
"arn:aws:s3:::messenger-attachments"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Action": [
|
||||||
|
"s3:GetObject",
|
||||||
|
"s3:PutObject",
|
||||||
|
"s3:DeleteObject"
|
||||||
|
],
|
||||||
|
"Resource": [
|
||||||
|
"arn:aws:s3:::messenger-attachments/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
ROOT_USER="$(cat /run/secrets/minio_root_user)"
|
||||||
|
ROOT_PASSWORD="$(cat /run/secrets/minio_root_password)"
|
||||||
|
APP_USER="$(cat /run/secrets/s3_access_key_id)"
|
||||||
|
APP_PASSWORD="$(cat /run/secrets/s3_secret_access_key)"
|
||||||
|
|
||||||
|
mc alias set local http://s3:9000 "$ROOT_USER" "$ROOT_PASSWORD"
|
||||||
|
|
||||||
|
mc mb --ignore-existing local/messenger-attachments
|
||||||
|
mc anonymous set private local/messenger-attachments
|
||||||
|
|
||||||
|
mc admin policy create local messenger-attachments-rw /config/attachments-policy.json
|
||||||
|
mc admin user add local "$APP_USER" "$APP_PASSWORD"
|
||||||
|
mc admin policy attach local messenger-attachments-rw --user "$APP_USER"
|
||||||
|
|
||||||
|
mc admin user info local "$APP_USER"
|
||||||
|
mc ls local/messenger-attachments
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
events {
|
||||||
|
worker_connections 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
resolver 127.0.0.11 valid=5s ipv6=off;
|
||||||
|
resolver_timeout 2s;
|
||||||
|
|
||||||
|
upstream api_backend {
|
||||||
|
zone api_backend 64k;
|
||||||
|
|
||||||
|
server api-1:8080 resolve max_fails=1 fail_timeout=5s;
|
||||||
|
server api-2:8080 resolve max_fails=1 fail_timeout=5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
client_max_body_size 12m;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://api_backend;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
|
proxy_connect_timeout 2s;
|
||||||
|
proxy_read_timeout 10s;
|
||||||
|
proxy_send_timeout 10s;
|
||||||
|
|
||||||
|
proxy_next_upstream error timeout http_502 http_503 http_504;
|
||||||
|
proxy_next_upstream_tries 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
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: 192
|
||||||
|
spike_limit_mib: 48
|
||||||
|
|
||||||
|
tail_sampling:
|
||||||
|
decision_wait: 15s
|
||||||
|
num_traces: 5000
|
||||||
|
expected_new_traces_per_sec: 100
|
||||||
|
decision_cache:
|
||||||
|
sampled_cache_size: 10000
|
||||||
|
non_sampled_cache_size: 10000
|
||||||
|
policies:
|
||||||
|
- name: errors
|
||||||
|
type: status_code
|
||||||
|
status_code:
|
||||||
|
status_codes: [ERROR]
|
||||||
|
- name: slow
|
||||||
|
type: latency
|
||||||
|
latency:
|
||||||
|
threshold_ms: 500
|
||||||
|
- name: normal-sampling
|
||||||
|
type: probabilistic
|
||||||
|
probabilistic:
|
||||||
|
sampling_percentage: 10
|
||||||
|
|
||||||
|
batch:
|
||||||
|
timeout: 2s
|
||||||
|
send_batch_size: 512
|
||||||
|
send_batch_max_size: 1024
|
||||||
|
|
||||||
|
exporters:
|
||||||
|
prometheus:
|
||||||
|
endpoint: 0.0.0.0:8889
|
||||||
|
metric_expiration: 30s
|
||||||
|
resource_to_telemetry_conversion:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
otlp/tempo:
|
||||||
|
endpoint: tempo:4317
|
||||||
|
timeout: 5s
|
||||||
|
tls:
|
||||||
|
insecure: true
|
||||||
|
sending_queue:
|
||||||
|
enabled: true
|
||||||
|
num_consumers: 2
|
||||||
|
queue_size: 128
|
||||||
|
retry_on_failure:
|
||||||
|
enabled: true
|
||||||
|
initial_interval: 1s
|
||||||
|
max_interval: 5s
|
||||||
|
max_elapsed_time: 30s
|
||||||
|
|
||||||
|
otlphttp/loki:
|
||||||
|
endpoint: http://loki:3100/otlp
|
||||||
|
timeout: 5s
|
||||||
|
sending_queue:
|
||||||
|
enabled: true
|
||||||
|
num_consumers: 2
|
||||||
|
queue_size: 128
|
||||||
|
retry_on_failure:
|
||||||
|
enabled: true
|
||||||
|
initial_interval: 1s
|
||||||
|
max_interval: 5s
|
||||||
|
max_elapsed_time: 30s
|
||||||
|
|
||||||
|
service:
|
||||||
|
telemetry:
|
||||||
|
metrics:
|
||||||
|
address: 0.0.0.0:8888
|
||||||
|
|
||||||
|
pipelines:
|
||||||
|
traces:
|
||||||
|
receivers: [otlp]
|
||||||
|
processors: [memory_limiter, tail_sampling, batch]
|
||||||
|
exporters: [otlp/tempo]
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
receivers: [otlp]
|
||||||
|
processors: [memory_limiter, batch]
|
||||||
|
exporters: [prometheus]
|
||||||
|
|
||||||
|
logs:
|
||||||
|
receivers: [otlp]
|
||||||
|
processors: [memory_limiter, batch]
|
||||||
|
exporters: [otlphttp/loki]
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
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: 192
|
||||||
|
spike_limit_mib: 48
|
||||||
|
|
||||||
|
batch:
|
||||||
|
timeout: 2s
|
||||||
|
send_batch_size: 512
|
||||||
|
send_batch_max_size: 1024
|
||||||
|
|
||||||
|
exporters:
|
||||||
|
prometheus:
|
||||||
|
endpoint: 0.0.0.0:8889
|
||||||
|
metric_expiration: 30s
|
||||||
|
resource_to_telemetry_conversion:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
otlp/tempo:
|
||||||
|
endpoint: tempo:4317
|
||||||
|
timeout: 5s
|
||||||
|
tls:
|
||||||
|
insecure: true
|
||||||
|
sending_queue:
|
||||||
|
enabled: true
|
||||||
|
num_consumers: 2
|
||||||
|
queue_size: 128
|
||||||
|
retry_on_failure:
|
||||||
|
enabled: true
|
||||||
|
initial_interval: 1s
|
||||||
|
max_interval: 5s
|
||||||
|
max_elapsed_time: 30s
|
||||||
|
|
||||||
|
otlphttp/loki:
|
||||||
|
endpoint: http://loki:3100/otlp
|
||||||
|
timeout: 5s
|
||||||
|
sending_queue:
|
||||||
|
enabled: true
|
||||||
|
num_consumers: 2
|
||||||
|
queue_size: 128
|
||||||
|
retry_on_failure:
|
||||||
|
enabled: true
|
||||||
|
initial_interval: 1s
|
||||||
|
max_interval: 5s
|
||||||
|
max_elapsed_time: 30s
|
||||||
|
|
||||||
|
service:
|
||||||
|
telemetry:
|
||||||
|
metrics:
|
||||||
|
address: 0.0.0.0:8888
|
||||||
|
|
||||||
|
pipelines:
|
||||||
|
traces:
|
||||||
|
receivers: [otlp]
|
||||||
|
processors: [memory_limiter, batch]
|
||||||
|
exporters: [otlp/tempo]
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
receivers: [otlp]
|
||||||
|
processors: [memory_limiter, batch]
|
||||||
|
exporters: [prometheus]
|
||||||
|
|
||||||
|
logs:
|
||||||
|
receivers: [otlp]
|
||||||
|
processors: [memory_limiter, batch]
|
||||||
|
exporters: [otlphttp/loki]
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
# Регламент диагностики и устранения инцидентов
|
||||||
|
|
||||||
|
## SLI / SLO
|
||||||
|
|
||||||
|
- SLO доступности API: не менее 99% за 30 дней.
|
||||||
|
- SLO задержки: не менее 95% бизнес-запросов выполняются за 500 мс за 30 дней.
|
||||||
|
- SLI доступности: 1 - количество HTTP 5xx / общее количество бизнес-запросов.
|
||||||
|
- SLI задержки: доля бизнес-запросов, выполненных не более чем за 500 мс.
|
||||||
|
- Запросы к health endpoints исключаются из расчётов.
|
||||||
|
- При отсутствии запросов показатели не оцениваются.
|
||||||
|
- Для демонстрации инцидентов используются сокращённые окна наблюдения.
|
||||||
|
|
||||||
|
## Ошибки HTTP
|
||||||
|
|
||||||
|
<a id="http-errors"></a>
|
||||||
|
|
||||||
|
Алерт: MessengerHighHTTPErrorRate.
|
||||||
|
|
||||||
|
Условие срабатывания: доля HTTP 5xx превышает 1%
|
||||||
|
за последнюю минуту в течение 15 секунд.
|
||||||
|
|
||||||
|
### Диагностика
|
||||||
|
|
||||||
|
1. Проверить долю ошибок и задержки HTTP-запросов в Grafana.
|
||||||
|
2. Проверить доступность PostgreSQL и состояние пула соединений.
|
||||||
|
3. Найти логи ошибочных запросов в Loki.
|
||||||
|
4. Открыть соответствующие трассировки в Tempo.
|
||||||
|
5. Определить причину ошибки или замедления.
|
||||||
|
|
||||||
|
### Восстановление
|
||||||
|
|
||||||
|
Восстановить работоспособность проблемного сервиса.
|
||||||
|
Проверить готовность API, выполнить smoke-тесты
|
||||||
|
и убедиться, что алерт перешёл в неактивное состояние.
|
||||||
|
|
||||||
|
## Задержка очереди
|
||||||
|
|
||||||
|
<a id="queue-lag"></a>
|
||||||
|
|
||||||
|
Алерт: MessengerQueueLag.
|
||||||
|
|
||||||
|
Условие срабатывания: возраст самой старой задачи
|
||||||
|
в очереди превышает 30 секунд в течение 15 секунд.
|
||||||
|
|
||||||
|
### Диагностика
|
||||||
|
|
||||||
|
1. Проверить глубину очереди и возраст самой старой задачи.
|
||||||
|
2. Проверить доступность и загрузку worker.
|
||||||
|
3. Проверить очереди и потребителей RabbitMQ.
|
||||||
|
4. Изучить логи dispatcher и worker в Loki.
|
||||||
|
5. Проверить трассировки обработки вложений в Tempo.
|
||||||
|
|
||||||
|
### Восстановление
|
||||||
|
|
||||||
|
Восстановить работу worker или проблемного сервиса.
|
||||||
|
Убедиться, что очередь сокращается, вложения переходят
|
||||||
|
в состояние ready, а алерт становится неактивным.
|
||||||
|
|
||||||
|
## Отказ системы сбора телеметрии
|
||||||
|
|
||||||
|
### Диагностика
|
||||||
|
|
||||||
|
1. Проверить доступность Tempo и Loki.
|
||||||
|
2. Проверить потребление памяти OpenTelemetry Collector.
|
||||||
|
3. Проверить размер и ёмкость очередей экспортёров.
|
||||||
|
4. Проверить количество ошибок экспорта и потерь телеметрии.
|
||||||
|
5. Убедиться, что бизнес-API продолжает работать.
|
||||||
|
|
||||||
|
### Восстановление
|
||||||
|
|
||||||
|
Восстановить доступность проблемного backend.
|
||||||
|
Убедиться, что очереди экспортёров сокращаются,
|
||||||
|
отправка телеметрии возобновилась, а API работает корректно.
|
||||||
|
Зафиксировать количество потерянной телеметрии.
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
global:
|
||||||
|
scrape_interval: 5s
|
||||||
|
evaluation_interval: 5s
|
||||||
|
|
||||||
|
rule_files:
|
||||||
|
- /etc/prometheus/rules.yml
|
||||||
|
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: otel-collector
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- otel-collector:8889
|
||||||
|
|
||||||
|
- job_name: otel-collector-internal
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- otel-collector:8888
|
||||||
|
|
||||||
|
- job_name: prometheus
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- localhost:9090
|
||||||
|
|
||||||
|
- job_name: rabbitmq
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- rabbitmq:15692
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
groups:
|
||||||
|
- name: messenger-sli
|
||||||
|
interval: 5s
|
||||||
|
rules:
|
||||||
|
- record: messenger:sli_http_error_ratio:1m
|
||||||
|
expr: |
|
||||||
|
(
|
||||||
|
sum(rate(messenger_http_requests_total{route=~"/api/.*",status_class="5xx"}[1m]))
|
||||||
|
or vector(0)
|
||||||
|
)
|
||||||
|
/
|
||||||
|
sum(rate(messenger_http_requests_total{route=~"/api/.*"}[1m]))
|
||||||
|
|
||||||
|
- record: messenger:sli_http_availability:1m
|
||||||
|
expr: |
|
||||||
|
1 - messenger:sli_http_error_ratio:1m
|
||||||
|
|
||||||
|
- record: messenger:sli_http_p95_seconds:1m
|
||||||
|
expr: |
|
||||||
|
histogram_quantile(
|
||||||
|
0.95,
|
||||||
|
sum by (le) (
|
||||||
|
rate(messenger_http_request_duration_seconds_bucket{route=~"/api/.*"}[1m])
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
- record: messenger:sli_http_latency_good_ratio:1m
|
||||||
|
expr: |
|
||||||
|
sum(rate(messenger_http_request_duration_seconds_bucket{route=~"/api/.*",le="0.5"}[1m]))
|
||||||
|
/
|
||||||
|
sum(rate(messenger_http_request_duration_seconds_count{route=~"/api/.*"}[1m]))
|
||||||
|
|
||||||
|
- name: messenger-alerts
|
||||||
|
interval: 5s
|
||||||
|
rules:
|
||||||
|
- alert: MessengerHighHTTPErrorRate
|
||||||
|
expr: |
|
||||||
|
messenger:sli_http_error_ratio:1m > 0.01
|
||||||
|
for: 15s
|
||||||
|
labels:
|
||||||
|
severity: critical
|
||||||
|
annotations:
|
||||||
|
summary: "HTTP 5xx error ratio exceeds 1%"
|
||||||
|
description: "Business API error ratio is {{ $value }}"
|
||||||
|
runbook: "infra/prometheus/RUNBOOK.md#http-errors"
|
||||||
|
|
||||||
|
- alert: MessengerQueueLag
|
||||||
|
expr: |
|
||||||
|
max by (queue_name) (
|
||||||
|
messenger_queue_oldest_age_seconds
|
||||||
|
) > 30
|
||||||
|
for: 15s
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: "Attachment queue lag exceeds 30 seconds"
|
||||||
|
description: "Oldest pending job age is {{ $value }} seconds"
|
||||||
|
runbook: "infra/prometheus/RUNBOOK.md#queue-lag"
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
server:
|
||||||
|
http_listen_port: 3200
|
||||||
|
|
||||||
|
distributor:
|
||||||
|
receivers:
|
||||||
|
otlp:
|
||||||
|
protocols:
|
||||||
|
grpc:
|
||||||
|
endpoint: 0.0.0.0:4317
|
||||||
|
http:
|
||||||
|
endpoint: 0.0.0.0:4318
|
||||||
|
|
||||||
|
ingester:
|
||||||
|
max_block_duration: 5m
|
||||||
|
|
||||||
|
compactor:
|
||||||
|
compaction:
|
||||||
|
block_retention: 168h
|
||||||
|
|
||||||
|
storage:
|
||||||
|
trace:
|
||||||
|
backend: local
|
||||||
|
wal:
|
||||||
|
path: /var/tempo/wal
|
||||||
|
local:
|
||||||
|
path: /var/tempo/blocks
|
||||||
|
|
||||||
|
usage_report:
|
||||||
|
reporting_enabled: false
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Generic single-database configuration with an async dbapi.
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
import asyncio
|
||||||
|
|
||||||
|
from alembic import context
|
||||||
|
from sqlalchemy import pool
|
||||||
|
from sqlalchemy.ext.asyncio import async_engine_from_config
|
||||||
|
|
||||||
|
|
||||||
|
config = context.config
|
||||||
|
|
||||||
|
DATABASE_URL_FILE = "/run/secrets/database_url"
|
||||||
|
|
||||||
|
|
||||||
|
def read_database_url() -> str:
|
||||||
|
with open(DATABASE_URL_FILE, encoding="utf-8") as file:
|
||||||
|
return file.read().strip()
|
||||||
|
|
||||||
|
|
||||||
|
config.set_main_option("sqlalchemy.url", read_database_url())
|
||||||
|
|
||||||
|
target_metadata = None
|
||||||
|
|
||||||
|
|
||||||
|
def do_run_migrations(connection) -> None:
|
||||||
|
context.configure(
|
||||||
|
connection=connection,
|
||||||
|
target_metadata=target_metadata,
|
||||||
|
)
|
||||||
|
|
||||||
|
with context.begin_transaction():
|
||||||
|
context.run_migrations()
|
||||||
|
|
||||||
|
|
||||||
|
async def run_async_migrations() -> None:
|
||||||
|
connectable = async_engine_from_config(
|
||||||
|
config.get_section(config.config_ini_section, {}),
|
||||||
|
prefix="sqlalchemy.",
|
||||||
|
poolclass=pool.NullPool,
|
||||||
|
)
|
||||||
|
|
||||||
|
async with connectable.connect() as connection:
|
||||||
|
await connection.run_sync(do_run_migrations)
|
||||||
|
|
||||||
|
await connectable.dispose()
|
||||||
|
|
||||||
|
|
||||||
|
def run_migrations_online() -> None:
|
||||||
|
asyncio.run(run_async_migrations())
|
||||||
|
|
||||||
|
|
||||||
|
run_migrations_online()
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
"""${message}
|
||||||
|
|
||||||
|
Revision ID: ${up_revision}
|
||||||
|
Revises: ${down_revision | comma,n}
|
||||||
|
Create Date: ${create_date}
|
||||||
|
|
||||||
|
"""
|
||||||
|
from typing import Sequence, Union
|
||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
${imports if imports else ""}
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision: str = ${repr(up_revision)}
|
||||||
|
down_revision: Union[str, Sequence[str], None] = ${repr(down_revision)}
|
||||||
|
branch_labels: Union[str, Sequence[str], None] = ${repr(branch_labels)}
|
||||||
|
depends_on: Union[str, Sequence[str], None] = ${repr(depends_on)}
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade() -> None:
|
||||||
|
"""Upgrade schema."""
|
||||||
|
${upgrades if upgrades else "pass"}
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade() -> None:
|
||||||
|
"""Downgrade schema."""
|
||||||
|
${downgrades if downgrades else "pass"}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "a6b12026a002"
|
||||||
|
down_revision = "e5a12026a001"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("next_attempt_at", sa.DateTime(timezone=True)),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("last_error_code", sa.String(64)),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("finished_at", sa.DateTime(timezone=True)),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_index(
|
||||||
|
"ix_attachment_jobs_retry_schedule",
|
||||||
|
"attachment_jobs",
|
||||||
|
["status", "next_attempt_at"],
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
op.drop_index(
|
||||||
|
"ix_attachment_jobs_retry_schedule",
|
||||||
|
table_name="attachment_jobs",
|
||||||
|
)
|
||||||
|
|
||||||
|
op.drop_column("attachment_jobs", "finished_at")
|
||||||
|
op.drop_column("attachment_jobs", "last_error_code")
|
||||||
|
op.drop_column("attachment_jobs", "next_attempt_at")
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "a7b12026a003"
|
||||||
|
down_revision = "a6b12026a002"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("failed_published_at", sa.DateTime(timezone=True)),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_index(
|
||||||
|
"ix_attachment_jobs_failed_unpublished",
|
||||||
|
"attachment_jobs",
|
||||||
|
["created_at"],
|
||||||
|
postgresql_where=sa.text(
|
||||||
|
"status = 'failed' AND failed_published_at IS NULL"
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
op.drop_index(
|
||||||
|
"ix_attachment_jobs_failed_unpublished",
|
||||||
|
table_name="attachment_jobs",
|
||||||
|
)
|
||||||
|
|
||||||
|
op.drop_column("attachment_jobs", "failed_published_at")
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
"""Message idempotency for lab 3.
|
||||||
|
|
||||||
|
Revision ID: b3a91c0e7d42
|
||||||
|
Revises: f7c51e1e945b
|
||||||
|
"""
|
||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "b3a91c0e7d42"
|
||||||
|
down_revision = "f7c51e1e945b"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade() -> None:
|
||||||
|
op.create_table(
|
||||||
|
"message_idempotency",
|
||||||
|
sa.Column("user_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("chat_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("key", sa.String(length=128), nullable=False),
|
||||||
|
sa.Column("request_hash", sa.String(length=64), nullable=False),
|
||||||
|
sa.Column("message_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column(
|
||||||
|
"created_at",
|
||||||
|
sa.DateTime(timezone=True),
|
||||||
|
server_default=sa.text("CURRENT_TIMESTAMP"),
|
||||||
|
nullable=False,
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["user_id"],
|
||||||
|
["users.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["chat_id"],
|
||||||
|
["chats.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["message_id"],
|
||||||
|
["messages.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.PrimaryKeyConstraint("user_id", "chat_id", "key"),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_index(
|
||||||
|
"ix_message_idempotency_created_at",
|
||||||
|
"message_idempotency",
|
||||||
|
["created_at"],
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade() -> None:
|
||||||
|
op.drop_index(
|
||||||
|
"ix_message_idempotency_created_at",
|
||||||
|
table_name="message_idempotency",
|
||||||
|
)
|
||||||
|
op.drop_table("message_idempotency")
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "b8b12026a004"
|
||||||
|
down_revision = "a7b12026a003"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column(
|
||||||
|
"generation",
|
||||||
|
sa.Integer(),
|
||||||
|
nullable=False,
|
||||||
|
server_default="1",
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
op.drop_column("attachment_jobs", "generation")
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "c8f42a19e6b0"
|
||||||
|
down_revision = "b3a91c0e7d42"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade() -> None:
|
||||||
|
op.create_table(
|
||||||
|
"attachments",
|
||||||
|
sa.Column("id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("chat_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("uploader_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("filename", sa.String(length=255), nullable=False),
|
||||||
|
sa.Column("content_type", sa.String(length=100), nullable=False),
|
||||||
|
sa.Column("size_bytes", sa.BigInteger(), nullable=False),
|
||||||
|
sa.Column("s3_key", sa.String(length=512), nullable=False),
|
||||||
|
sa.Column("status", sa.String(length=20), nullable=False),
|
||||||
|
sa.Column(
|
||||||
|
"created_at",
|
||||||
|
sa.DateTime(timezone=True),
|
||||||
|
server_default=sa.text("CURRENT_TIMESTAMP"),
|
||||||
|
nullable=False,
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["chat_id"],
|
||||||
|
["chats.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["uploader_id"],
|
||||||
|
["users.id"],
|
||||||
|
ondelete="RESTRICT",
|
||||||
|
),
|
||||||
|
sa.PrimaryKeyConstraint("id"),
|
||||||
|
sa.UniqueConstraint("s3_key", name="uq_attachments_s3_key"),
|
||||||
|
sa.CheckConstraint(
|
||||||
|
"size_bytes > 0 AND size_bytes <= 10485760",
|
||||||
|
name="ck_attachments_size",
|
||||||
|
),
|
||||||
|
sa.CheckConstraint(
|
||||||
|
"status IN ('pending', 'ready')",
|
||||||
|
name="ck_attachments_status",
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_index(
|
||||||
|
"ix_attachments_chat_id",
|
||||||
|
"attachments",
|
||||||
|
["chat_id"],
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_table(
|
||||||
|
"message_attachments",
|
||||||
|
sa.Column("message_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("attachment_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["message_id"],
|
||||||
|
["messages.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["attachment_id"],
|
||||||
|
["attachments.id"],
|
||||||
|
ondelete="RESTRICT",
|
||||||
|
),
|
||||||
|
sa.PrimaryKeyConstraint("message_id", "attachment_id"),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade() -> None:
|
||||||
|
op.drop_table("message_attachments")
|
||||||
|
op.drop_index("ix_attachments_chat_id", table_name="attachments")
|
||||||
|
op.drop_table("attachments")
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "c9b12026a005"
|
||||||
|
down_revision = "b8b12026a004"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("execution_id", sa.UUID(), nullable=True),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
op.drop_column("attachment_jobs", "execution_id")
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "d6a12026a006"
|
||||||
|
down_revision = "c9b12026a005"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("traceparent", sa.Text(), nullable=True),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.add_column(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("tracestate", sa.Text(), nullable=True),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
op.drop_column("attachment_jobs", "tracestate")
|
||||||
|
op.drop_column("attachment_jobs", "traceparent")
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
revision = "d9e53b20f7c1"
|
||||||
|
down_revision = "c8f42a19e6b0"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade() -> None:
|
||||||
|
op.alter_column(
|
||||||
|
"attachments",
|
||||||
|
"uploader_id",
|
||||||
|
new_column_name="owner_id",
|
||||||
|
)
|
||||||
|
|
||||||
|
op.add_column(
|
||||||
|
"attachments",
|
||||||
|
sa.Column(
|
||||||
|
"sha256",
|
||||||
|
sa.String(length=64),
|
||||||
|
nullable=False,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.add_column(
|
||||||
|
"attachments",
|
||||||
|
sa.Column(
|
||||||
|
"variants",
|
||||||
|
sa.JSON(),
|
||||||
|
nullable=False,
|
||||||
|
server_default=sa.text("'[]'::json"),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.add_column(
|
||||||
|
"attachments",
|
||||||
|
sa.Column(
|
||||||
|
"error_code",
|
||||||
|
sa.String(length=100),
|
||||||
|
nullable=True,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.add_column(
|
||||||
|
"attachments",
|
||||||
|
sa.Column(
|
||||||
|
"updated_at",
|
||||||
|
sa.DateTime(timezone=True),
|
||||||
|
server_default=sa.text("CURRENT_TIMESTAMP"),
|
||||||
|
nullable=False,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_check_constraint(
|
||||||
|
"ck_attachments_sha256",
|
||||||
|
"attachments",
|
||||||
|
"sha256 ~ '^[a-f0-9]{64}$'",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade() -> None:
|
||||||
|
op.drop_constraint(
|
||||||
|
"ck_attachments_sha256",
|
||||||
|
"attachments",
|
||||||
|
type_="check",
|
||||||
|
)
|
||||||
|
|
||||||
|
op.drop_column("attachments", "updated_at")
|
||||||
|
op.drop_column("attachments", "error_code")
|
||||||
|
op.drop_column("attachments", "variants")
|
||||||
|
op.drop_column("attachments", "sha256")
|
||||||
|
|
||||||
|
op.alter_column(
|
||||||
|
"attachments",
|
||||||
|
"owner_id",
|
||||||
|
new_column_name="uploader_id",
|
||||||
|
)
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
revision = "e5a12026a001"
|
||||||
|
down_revision = "d9e53b20f7c1"
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
op.drop_constraint(
|
||||||
|
"ck_attachments_status",
|
||||||
|
"attachments",
|
||||||
|
type_="check",
|
||||||
|
)
|
||||||
|
op.create_check_constraint(
|
||||||
|
"ck_attachments_status",
|
||||||
|
"attachments",
|
||||||
|
"status IN ('queued', 'processing', 'ready', 'failed')",
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_table(
|
||||||
|
"attachment_jobs",
|
||||||
|
sa.Column("id", sa.Uuid(), primary_key=True),
|
||||||
|
sa.Column(
|
||||||
|
"attachment_id",
|
||||||
|
sa.Uuid(),
|
||||||
|
sa.ForeignKey("attachments.id", ondelete="CASCADE"),
|
||||||
|
nullable=False,
|
||||||
|
unique=True,
|
||||||
|
),
|
||||||
|
sa.Column(
|
||||||
|
"attempt",
|
||||||
|
sa.Integer(),
|
||||||
|
nullable=False,
|
||||||
|
server_default="1",
|
||||||
|
),
|
||||||
|
sa.Column(
|
||||||
|
"status",
|
||||||
|
sa.String(20),
|
||||||
|
nullable=False,
|
||||||
|
server_default="queued",
|
||||||
|
),
|
||||||
|
sa.Column("published_at", sa.DateTime(timezone=True)),
|
||||||
|
sa.Column("started_at", sa.DateTime(timezone=True)),
|
||||||
|
sa.Column(
|
||||||
|
"created_at",
|
||||||
|
sa.DateTime(timezone=True),
|
||||||
|
nullable=False,
|
||||||
|
server_default=sa.text("CURRENT_TIMESTAMP"),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_index(
|
||||||
|
"ix_attachment_jobs_unpublished",
|
||||||
|
"attachment_jobs",
|
||||||
|
["published_at"],
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
op.drop_index(
|
||||||
|
"ix_attachment_jobs_unpublished",
|
||||||
|
table_name="attachment_jobs",
|
||||||
|
)
|
||||||
|
op.drop_table("attachment_jobs")
|
||||||
|
|
||||||
|
op.drop_constraint(
|
||||||
|
"ck_attachments_status",
|
||||||
|
"attachments",
|
||||||
|
type_="check",
|
||||||
|
)
|
||||||
|
op.create_check_constraint(
|
||||||
|
"ck_attachments_status",
|
||||||
|
"attachments",
|
||||||
|
"status IN ('pending', 'ready')",
|
||||||
|
)
|
||||||
@@ -0,0 +1,110 @@
|
|||||||
|
"""initial schema
|
||||||
|
|
||||||
|
Revision ID: f7c51e1e945b
|
||||||
|
Revises:
|
||||||
|
Create Date: 2026-10-07 18:33:37.771593
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
from typing import Sequence, Union
|
||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision: str = "f7c51e1e945b"
|
||||||
|
down_revision: Union[str, Sequence[str], None] = None
|
||||||
|
branch_labels: Union[str, Sequence[str], None] = None
|
||||||
|
depends_on: Union[str, Sequence[str], None] = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade() -> None:
|
||||||
|
op.create_table(
|
||||||
|
"users",
|
||||||
|
sa.Column("id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("username", sa.String(length=32), nullable=False),
|
||||||
|
sa.Column("display_name", sa.String(length=100), nullable=False),
|
||||||
|
sa.Column("password_hash", sa.Text(), nullable=False),
|
||||||
|
sa.Column(
|
||||||
|
"created_at",
|
||||||
|
sa.DateTime(timezone=True),
|
||||||
|
server_default=sa.text("CURRENT_TIMESTAMP"),
|
||||||
|
nullable=False,
|
||||||
|
),
|
||||||
|
sa.PrimaryKeyConstraint("id"),
|
||||||
|
sa.UniqueConstraint("username", name="uq_users_username"),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_table(
|
||||||
|
"chats",
|
||||||
|
sa.Column("id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("title", sa.String(length=100), nullable=False),
|
||||||
|
sa.Column(
|
||||||
|
"created_at",
|
||||||
|
sa.DateTime(timezone=True),
|
||||||
|
server_default=sa.text("CURRENT_TIMESTAMP"),
|
||||||
|
nullable=False,
|
||||||
|
),
|
||||||
|
sa.PrimaryKeyConstraint("id"),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_table(
|
||||||
|
"chat_members",
|
||||||
|
sa.Column("chat_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("user_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["chat_id"],
|
||||||
|
["chats.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["user_id"],
|
||||||
|
["users.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.PrimaryKeyConstraint("chat_id", "user_id"),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_table(
|
||||||
|
"messages",
|
||||||
|
sa.Column("id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("chat_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("sender_id", sa.Uuid(), nullable=False),
|
||||||
|
sa.Column("text", sa.String(length=4000), nullable=False),
|
||||||
|
sa.Column(
|
||||||
|
"created_at",
|
||||||
|
sa.DateTime(timezone=True),
|
||||||
|
server_default=sa.text("CURRENT_TIMESTAMP"),
|
||||||
|
nullable=False,
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["chat_id"],
|
||||||
|
["chats.id"],
|
||||||
|
ondelete="CASCADE",
|
||||||
|
),
|
||||||
|
sa.ForeignKeyConstraint(
|
||||||
|
["sender_id"],
|
||||||
|
["users.id"],
|
||||||
|
ondelete="RESTRICT",
|
||||||
|
),
|
||||||
|
sa.PrimaryKeyConstraint("id"),
|
||||||
|
)
|
||||||
|
|
||||||
|
op.create_index(
|
||||||
|
"ix_messages_chat_created_id",
|
||||||
|
"messages",
|
||||||
|
["chat_id", "created_at", "id"],
|
||||||
|
unique=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade() -> None:
|
||||||
|
op.drop_index(
|
||||||
|
"ix_messages_chat_created_id",
|
||||||
|
table_name="messages",
|
||||||
|
)
|
||||||
|
op.drop_table("messages")
|
||||||
|
op.drop_table("chat_members")
|
||||||
|
op.drop_table("chats")
|
||||||
|
op.drop_table("users")
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
annotated-doc==0.0.5
|
||||||
|
annotated-types==0.8.0
|
||||||
|
anyio==4.15.1
|
||||||
|
click==8.5.0
|
||||||
|
fastapi==0.141.1
|
||||||
|
h11==0.16.0
|
||||||
|
idna==3.20
|
||||||
|
pydantic==2.13.5
|
||||||
|
pydantic_core==2.46.5
|
||||||
|
starlette==1.7.0
|
||||||
|
typing-inspection==0.4.4
|
||||||
|
typing_extensions==4.16.0
|
||||||
|
uvicorn==0.53.0
|
||||||
|
SQLAlchemy==2.1.4
|
||||||
|
asyncpg==0.32.0
|
||||||
|
alembic==1.20.0
|
||||||
|
greenlet==3.5.6
|
||||||
|
argon2-cffi==25.1.0
|
||||||
|
redis==7.0.1
|
||||||
|
boto3==1.43.120
|
||||||
|
Pillow==13.0.0
|
||||||
|
python-multipart==0.0.32
|
||||||
|
pika==1.3.2
|
||||||
|
opentelemetry-api==1.45.2
|
||||||
|
opentelemetry-sdk==1.45.2
|
||||||
|
opentelemetry-exporter-otlp-proto-http==1.45.2
|
||||||
|
opentelemetry-instrumentation-fastapi==0.66b2
|
||||||
|
opentelemetry-instrumentation-asgi==0.66b2
|
||||||
|
opentelemetry-instrumentation-logging==0.66b2
|
||||||
|
opentelemetry-instrumentation-botocore==0.66b2
|
||||||
|
opentelemetry-instrumentation-pika==0.66b2
|
||||||
|
opentelemetry-semantic-conventions==0.66b2
|
||||||
@@ -0,0 +1,162 @@
|
|||||||
|
import argparse
|
||||||
|
import json
|
||||||
|
import math
|
||||||
|
import sys
|
||||||
|
import threading
|
||||||
|
import time
|
||||||
|
from collections import Counter
|
||||||
|
from concurrent.futures import ThreadPoolExecutor
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parents[1]
|
||||||
|
sys.path.insert(0, str(ROOT / "tests"))
|
||||||
|
|
||||||
|
from client import Client, Failure
|
||||||
|
|
||||||
|
local = threading.local()
|
||||||
|
|
||||||
|
|
||||||
|
def percentile(values, p):
|
||||||
|
if not values:
|
||||||
|
return None
|
||||||
|
values = sorted(values)
|
||||||
|
index = max(0, math.ceil(len(values) * p) - 1)
|
||||||
|
return round(values[index], 3)
|
||||||
|
|
||||||
|
|
||||||
|
def latency_summary(values):
|
||||||
|
return {
|
||||||
|
"p50": percentile(values, 0.50),
|
||||||
|
"p95": percentile(values, 0.95),
|
||||||
|
"p99": percentile(values, 0.99),
|
||||||
|
"mean": round(sum(values) / len(values), 3)
|
||||||
|
if values else None,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument("--base-url", default="http://localhost:8080")
|
||||||
|
parser.add_argument("--requests", type=int, default=600)
|
||||||
|
parser.add_argument("--rate", type=float, default=20)
|
||||||
|
parser.add_argument("--workers", type=int, default=16)
|
||||||
|
parser.add_argument("--warmup", type=int, default=50)
|
||||||
|
parser.add_argument("--start-marker", default=None)
|
||||||
|
parser.add_argument("--settle", type=float, default=10)
|
||||||
|
parser.add_argument("--mode", required=True)
|
||||||
|
parser.add_argument("--output", required=True)
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
if min(args.requests, args.rate, args.workers) <= 0:
|
||||||
|
parser.error("requests, rate and workers must be positive")
|
||||||
|
|
||||||
|
client = Client(args.base_url)
|
||||||
|
alice, bob, eve, chat = client.bootstrap()
|
||||||
|
|
||||||
|
def request(index, scheduled):
|
||||||
|
if not hasattr(local, "client"):
|
||||||
|
local.client = Client(args.base_url, timeout=10)
|
||||||
|
|
||||||
|
started = time.perf_counter()
|
||||||
|
outcome = "success"
|
||||||
|
|
||||||
|
try:
|
||||||
|
local.client.message(
|
||||||
|
alice, chat, f"benchmark-message-{index:08d}"
|
||||||
|
)
|
||||||
|
except Failure:
|
||||||
|
outcome = "error"
|
||||||
|
|
||||||
|
finished = time.perf_counter()
|
||||||
|
|
||||||
|
return {
|
||||||
|
"outcome": outcome,
|
||||||
|
"latency_ms": (finished - started) * 1000,
|
||||||
|
"scheduled_latency_ms": (finished - scheduled) * 1000,
|
||||||
|
"queue_delay_ms": (started - scheduled) * 1000,
|
||||||
|
}
|
||||||
|
|
||||||
|
with ThreadPoolExecutor(max_workers=args.workers) as pool:
|
||||||
|
for index in range(args.warmup):
|
||||||
|
result = pool.submit(
|
||||||
|
request, -index - 1, time.perf_counter()
|
||||||
|
).result()
|
||||||
|
|
||||||
|
if result["outcome"] != "success":
|
||||||
|
raise RuntimeError("Warmup failed")
|
||||||
|
|
||||||
|
time.sleep(args.settle)
|
||||||
|
|
||||||
|
if args.start_marker:
|
||||||
|
marker = Path(args.start_marker)
|
||||||
|
marker.parent.mkdir(parents=True, exist_ok=True)
|
||||||
|
marker.write_text(str(time.time()))
|
||||||
|
|
||||||
|
deadline = time.monotonic() + 120
|
||||||
|
while marker.exists():
|
||||||
|
if time.monotonic() > deadline:
|
||||||
|
raise RuntimeError("Measurement handshake timeout")
|
||||||
|
time.sleep(0.05)
|
||||||
|
|
||||||
|
started_at = time.time()
|
||||||
|
started = time.perf_counter()
|
||||||
|
futures = []
|
||||||
|
|
||||||
|
for index in range(args.requests):
|
||||||
|
scheduled = started + index / args.rate
|
||||||
|
delay = scheduled - time.perf_counter()
|
||||||
|
|
||||||
|
if delay > 0:
|
||||||
|
time.sleep(delay)
|
||||||
|
|
||||||
|
futures.append(pool.submit(request, index, scheduled))
|
||||||
|
|
||||||
|
results = [future.result() for future in futures]
|
||||||
|
elapsed = time.perf_counter() - started
|
||||||
|
finished_at = time.time()
|
||||||
|
|
||||||
|
counts = Counter(row["outcome"] for row in results)
|
||||||
|
|
||||||
|
successful = [
|
||||||
|
row["latency_ms"]
|
||||||
|
for row in results
|
||||||
|
if row["outcome"] == "success"
|
||||||
|
]
|
||||||
|
|
||||||
|
report = {
|
||||||
|
"mode": args.mode,
|
||||||
|
"workload": "fixed-rate POST messages",
|
||||||
|
"started_at_unix": started_at,
|
||||||
|
"finished_at_unix": finished_at,
|
||||||
|
"requested_requests": args.requests,
|
||||||
|
"target_rps": args.rate,
|
||||||
|
"workers": args.workers,
|
||||||
|
"warmup_requests": args.warmup,
|
||||||
|
"elapsed_seconds": round(elapsed, 3),
|
||||||
|
"successful_requests": counts["success"],
|
||||||
|
"failed_requests": counts["error"],
|
||||||
|
"error_ratio": round(counts["error"] / args.requests, 6),
|
||||||
|
"actual_rps": round(args.requests / elapsed, 3),
|
||||||
|
"successful_rps": round(counts["success"] / elapsed, 3),
|
||||||
|
"successful_latency_ms": latency_summary(successful),
|
||||||
|
"all_latency_ms": latency_summary([
|
||||||
|
row["latency_ms"] for row in results
|
||||||
|
]),
|
||||||
|
"scheduled_latency_ms": latency_summary([
|
||||||
|
row["scheduled_latency_ms"] for row in results
|
||||||
|
]),
|
||||||
|
"client_queue_delay_ms": latency_summary([
|
||||||
|
row["queue_delay_ms"] for row in results
|
||||||
|
]),
|
||||||
|
}
|
||||||
|
|
||||||
|
output = Path(args.output)
|
||||||
|
output.parent.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
|
text = json.dumps(report, indent=2, ensure_ascii=False)
|
||||||
|
output.write_text(text + "\n")
|
||||||
|
print(text)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -0,0 +1,175 @@
|
|||||||
|
import argparse
|
||||||
|
import json
|
||||||
|
import random
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
import urllib.error
|
||||||
|
import urllib.request
|
||||||
|
from concurrent.futures import ThreadPoolExecutor
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
|
def request(scenario):
|
||||||
|
replica = random.choice(["api-1", "api-2"])
|
||||||
|
url = f"http://{replica}:8080/api/v1/_benchmark/{scenario}"
|
||||||
|
started = time.perf_counter()
|
||||||
|
|
||||||
|
try:
|
||||||
|
response = urllib.request.urlopen(url, timeout=10)
|
||||||
|
except urllib.error.HTTPError as error:
|
||||||
|
response = error
|
||||||
|
|
||||||
|
with response:
|
||||||
|
status = response.code
|
||||||
|
body = response.read().decode("utf-8", errors="replace")
|
||||||
|
|
||||||
|
try:
|
||||||
|
data = json.loads(body)
|
||||||
|
except json.JSONDecodeError as error:
|
||||||
|
raise RuntimeError(
|
||||||
|
f"Scenario={scenario}, HTTP={status}, body={body[:500]!r}"
|
||||||
|
) from error
|
||||||
|
|
||||||
|
elapsed = (time.perf_counter() - started) * 1000
|
||||||
|
|
||||||
|
expected = 503 if scenario == "error" else 200
|
||||||
|
|
||||||
|
if status != expected:
|
||||||
|
raise RuntimeError(f"Unexpected status: {scenario} {status}")
|
||||||
|
|
||||||
|
trace_id = data["trace_id"]
|
||||||
|
|
||||||
|
if len(trace_id) != 32 or int(trace_id, 16) == 0:
|
||||||
|
raise RuntimeError("Invalid trace ID")
|
||||||
|
|
||||||
|
return {
|
||||||
|
"scenario": scenario,
|
||||||
|
"status": status,
|
||||||
|
"trace_id": trace_id,
|
||||||
|
"sampled": data["sampled"],
|
||||||
|
"latency_ms": round(elapsed, 3),
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def lookup_traces(trace_ids):
|
||||||
|
code = """
|
||||||
|
import json
|
||||||
|
import sys
|
||||||
|
import urllib.request
|
||||||
|
import urllib.error
|
||||||
|
from concurrent.futures import ThreadPoolExecutor
|
||||||
|
|
||||||
|
ids = json.load(sys.stdin)
|
||||||
|
|
||||||
|
def lookup(trace_id):
|
||||||
|
url = "http://tempo:3200/api/traces/" + trace_id
|
||||||
|
try:
|
||||||
|
with urllib.request.urlopen(url, timeout=10) as response:
|
||||||
|
data = json.load(response)
|
||||||
|
return trace_id, bool(
|
||||||
|
data.get("batches") or data.get("resourceSpans")
|
||||||
|
)
|
||||||
|
except urllib.error.HTTPError as error:
|
||||||
|
if error.code == 404:
|
||||||
|
return trace_id, False
|
||||||
|
raise
|
||||||
|
|
||||||
|
with ThreadPoolExecutor(max_workers=4) as pool:
|
||||||
|
print(json.dumps(dict(pool.map(lookup, ids))))
|
||||||
|
"""
|
||||||
|
|
||||||
|
result = subprocess.run(
|
||||||
|
[
|
||||||
|
sys.executable, "-c", code,
|
||||||
|
],
|
||||||
|
input=json.dumps(trace_ids),
|
||||||
|
capture_output=True,
|
||||||
|
text=True,
|
||||||
|
check=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
return json.loads(result.stdout)
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument("--mode", required=True)
|
||||||
|
parser.add_argument("--count", type=int, default=100)
|
||||||
|
parser.add_argument("--output", required=True)
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
scenarios = ["normal", "error", "slow"]
|
||||||
|
workload = scenarios * args.count
|
||||||
|
random.Random(42).shuffle(workload)
|
||||||
|
|
||||||
|
with ThreadPoolExecutor(max_workers=8) as pool:
|
||||||
|
rows = list(pool.map(request, workload))
|
||||||
|
|
||||||
|
ids = [row["trace_id"] for row in rows]
|
||||||
|
|
||||||
|
if len(set(ids)) != len(ids):
|
||||||
|
raise RuntimeError("Duplicate trace IDs")
|
||||||
|
|
||||||
|
print("Waiting for telemetry export...", flush=True)
|
||||||
|
time.sleep(45 if args.mode == "balanced" else 20)
|
||||||
|
|
||||||
|
found = lookup_traces(ids)
|
||||||
|
|
||||||
|
missing = [
|
||||||
|
trace_id for trace_id in ids
|
||||||
|
if not found[trace_id]
|
||||||
|
]
|
||||||
|
|
||||||
|
if missing:
|
||||||
|
time.sleep(15)
|
||||||
|
found.update(lookup_traces(missing))
|
||||||
|
|
||||||
|
for row in rows:
|
||||||
|
row["found_in_tempo"] = found[row["trace_id"]]
|
||||||
|
|
||||||
|
summary = {}
|
||||||
|
|
||||||
|
for scenario in scenarios:
|
||||||
|
group = [
|
||||||
|
row for row in rows
|
||||||
|
if row["scenario"] == scenario
|
||||||
|
]
|
||||||
|
|
||||||
|
total = len(group)
|
||||||
|
sampled = sum(row["sampled"] for row in group)
|
||||||
|
saved = sum(row["found_in_tempo"] for row in group)
|
||||||
|
|
||||||
|
export_missing = sum(
|
||||||
|
row["sampled"] and not row["found_in_tempo"]
|
||||||
|
for row in group
|
||||||
|
)
|
||||||
|
|
||||||
|
summary[scenario] = {
|
||||||
|
"total": total,
|
||||||
|
"sampled": sampled,
|
||||||
|
"saved_in_tempo": saved,
|
||||||
|
"not_sampled": total - sampled,
|
||||||
|
"sampled_but_not_found": export_missing,
|
||||||
|
"collector_filtered_or_missing": (
|
||||||
|
export_missing if args.mode == "balanced" else 0
|
||||||
|
),
|
||||||
|
"retention_percent": round(saved / total * 100, 2),
|
||||||
|
"missing_percent": round((total - saved) / total * 100, 2),
|
||||||
|
}
|
||||||
|
|
||||||
|
report = {
|
||||||
|
"mode": args.mode,
|
||||||
|
"summary": summary,
|
||||||
|
"requests": rows,
|
||||||
|
}
|
||||||
|
|
||||||
|
path = Path(args.output)
|
||||||
|
path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
|
path.write_text(json.dumps(report, indent=2) + "\n")
|
||||||
|
|
||||||
|
print(json.dumps(summary, indent=2))
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
mkdir -p secrets
|
||||||
|
chmod 700 secrets
|
||||||
|
umask 077
|
||||||
|
|
||||||
|
create_random_secret() {
|
||||||
|
local name="$1"
|
||||||
|
local value="$2"
|
||||||
|
|
||||||
|
if [[ ! -s "secrets/$name" ]]; then
|
||||||
|
printf '%s\n' "$value" > "secrets/$name"
|
||||||
|
fi
|
||||||
|
|
||||||
|
chmod 644 "secrets/$name"
|
||||||
|
}
|
||||||
|
|
||||||
|
create_random_secret postgres_password "$(python3 -c 'import secrets; print(secrets.token_hex(24))')"
|
||||||
|
create_random_secret rabbitmq_password "$(python3 -c 'import secrets; print(secrets.token_hex(24))')"
|
||||||
|
|
||||||
|
if [[ ! -s secrets/database_url ]]; then
|
||||||
|
PASSWORD="$(cat secrets/postgres_password)"
|
||||||
|
printf 'postgresql+asyncpg://lab2:%s@postgres:5432/messenger\n' "$PASSWORD" > secrets/database_url
|
||||||
|
fi
|
||||||
|
|
||||||
|
create_random_secret cache_url 'redis://redis:6379/0'
|
||||||
|
create_random_secret minio_root_user "minio-$(python3 -c 'import secrets; print(secrets.token_hex(12))')"
|
||||||
|
create_random_secret minio_root_password "$(python3 -c 'import secrets; print(secrets.token_hex(32))')"
|
||||||
|
create_random_secret s3_access_key_id "$(python3 -c 'import secrets; print(secrets.token_hex(20))')"
|
||||||
|
create_random_secret s3_secret_access_key "$(python3 -c 'import secrets; print(secrets.token_hex(32))')"
|
||||||
|
|
||||||
|
chmod 644 secrets/*
|
||||||
|
|
||||||
|
if [[ ! -f .env ]]; then
|
||||||
|
cp .env.example .env
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p infra/rabbitmq
|
||||||
|
|
||||||
|
printf 'default_user = messenger\ndefault_pass = %s\nlisteners.tcp.default = 5672\nmanagement.tcp.port = 15672\n' \
|
||||||
|
"$(cat secrets/rabbitmq_password)" > infra/rabbitmq/rabbitmq.conf
|
||||||
|
|
||||||
|
chmod 644 infra/rabbitmq/rabbitmq.conf
|
||||||
|
|
||||||
|
if ! grep -qE '^GRAFANA_ADMIN_PASSWORD=.+$' .env; then
|
||||||
|
sed -i '/^GRAFANA_ADMIN_PASSWORD=/d' .env
|
||||||
|
printf '\nGRAFANA_ADMIN_PASSWORD=%s\n' \
|
||||||
|
"$(python3 -c 'import secrets; print(secrets.token_hex(24))')" >> .env
|
||||||
|
fi
|
||||||
|
|
||||||
|
chmod 600 .env
|
||||||
|
|
||||||
|
docker compose config --quiet
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
import argparse
|
||||||
|
import asyncio
|
||||||
|
import os
|
||||||
|
from datetime import datetime, timedelta, timezone
|
||||||
|
|
||||||
|
from sqlalchemy import text
|
||||||
|
|
||||||
|
from src.database import SessionFactory, engine
|
||||||
|
from src.storage import delete_object, object_exists
|
||||||
|
|
||||||
|
|
||||||
|
RETENTION_SECONDS = int(os.getenv("STAGING_RETENTION_SECONDS", "86400"))
|
||||||
|
|
||||||
|
|
||||||
|
async def cleanup(apply: bool):
|
||||||
|
cutoff = datetime.now(timezone.utc) - timedelta(seconds=RETENTION_SECONDS)
|
||||||
|
|
||||||
|
async with SessionFactory() as session:
|
||||||
|
result = await session.execute(
|
||||||
|
text("""
|
||||||
|
SELECT a.id, a.chat_id, a.content_type, a.s3_key,
|
||||||
|
a.created_at
|
||||||
|
FROM attachments a
|
||||||
|
JOIN attachment_jobs j ON j.attachment_id = a.id
|
||||||
|
WHERE a.status = 'ready'
|
||||||
|
AND j.status = 'ready'
|
||||||
|
AND a.s3_key LIKE 'attachments/%'
|
||||||
|
AND a.created_at < :cutoff
|
||||||
|
"""),
|
||||||
|
{"cutoff": cutoff},
|
||||||
|
)
|
||||||
|
|
||||||
|
rows = result.all()
|
||||||
|
|
||||||
|
candidates = 0
|
||||||
|
|
||||||
|
for row in rows:
|
||||||
|
extension = "png" if row.content_type == "image/png" else "jpg"
|
||||||
|
staging_key = f"staging/{row.chat_id}/{row.id}.{extension}"
|
||||||
|
|
||||||
|
if not await object_exists(staging_key):
|
||||||
|
continue
|
||||||
|
|
||||||
|
candidates += 1
|
||||||
|
|
||||||
|
if not apply:
|
||||||
|
print(f"DRY RUN: {staging_key}")
|
||||||
|
continue
|
||||||
|
|
||||||
|
await delete_object(staging_key)
|
||||||
|
print(f"DELETED: {staging_key}")
|
||||||
|
|
||||||
|
print(f"Candidates: {candidates}")
|
||||||
|
|
||||||
|
|
||||||
|
async def main():
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument("--apply", action="store_true")
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
try:
|
||||||
|
await cleanup(args.apply)
|
||||||
|
finally:
|
||||||
|
await engine.dispose()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
asyncio.run(main())
|
||||||
@@ -0,0 +1,177 @@
|
|||||||
|
import json
|
||||||
|
import statistics
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
import matplotlib
|
||||||
|
|
||||||
|
matplotlib.use("Agg")
|
||||||
|
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parents[1]
|
||||||
|
EVIDENCE = ROOT / "evidence"
|
||||||
|
|
||||||
|
MODES = ["baseline", "full", "optimized", "balanced"]
|
||||||
|
LABELS = ["Baseline", "Full", "Head 10%", "Tail"]
|
||||||
|
COLORS = ["#94a3b8", "#5794f2", "#eab308", "#16a34a"]
|
||||||
|
|
||||||
|
plt.rcParams.update({
|
||||||
|
"font.family": "DejaVu Sans",
|
||||||
|
"font.size": 11,
|
||||||
|
"figure.dpi": 150,
|
||||||
|
"axes.spines.top": False,
|
||||||
|
"axes.spines.right": False,
|
||||||
|
})
|
||||||
|
|
||||||
|
data = {
|
||||||
|
mode: [
|
||||||
|
json.loads(
|
||||||
|
(EVIDENCE / f"grade5-{mode}-{i}.json").read_text()
|
||||||
|
)
|
||||||
|
for i in range(1, 4)
|
||||||
|
]
|
||||||
|
for mode in MODES
|
||||||
|
}
|
||||||
|
|
||||||
|
for mode, rows in data.items():
|
||||||
|
assert len(rows) == 3
|
||||||
|
assert all(r["requested_requests"] == 1200 for r in rows)
|
||||||
|
assert all(r["successful_requests"] == 1200 for r in rows)
|
||||||
|
assert all(r["failed_requests"] == 0 for r in rows)
|
||||||
|
|
||||||
|
|
||||||
|
def save(fig, name):
|
||||||
|
fig.tight_layout()
|
||||||
|
path = EVIDENCE / name
|
||||||
|
fig.savefig(path, dpi=180, bbox_inches="tight")
|
||||||
|
plt.close(fig)
|
||||||
|
print(f"Saved: {path}")
|
||||||
|
|
||||||
|
|
||||||
|
def bars(ax, values, title, ylabel):
|
||||||
|
result = ax.bar(LABELS, values, color=COLORS)
|
||||||
|
ax.set_title(title)
|
||||||
|
ax.set_ylabel(ylabel)
|
||||||
|
ax.grid(axis="y", alpha=0.2)
|
||||||
|
ax.set_axisbelow(True)
|
||||||
|
ax.bar_label(result, fmt="%.2f", padding=3)
|
||||||
|
ax.set_ylim(0, max(values) * 1.2 if max(values) else 1)
|
||||||
|
|
||||||
|
|
||||||
|
fig, axes = plt.subplots(1, 3, figsize=(15, 5))
|
||||||
|
|
||||||
|
for ax, metric in zip(axes, ["p50", "p95", "p99"]):
|
||||||
|
values = [
|
||||||
|
statistics.mean(
|
||||||
|
r["successful_latency_ms"][metric]
|
||||||
|
for r in data[mode]
|
||||||
|
)
|
||||||
|
for mode in MODES
|
||||||
|
]
|
||||||
|
|
||||||
|
bars(ax, values, metric, "Latency, ms")
|
||||||
|
|
||||||
|
fig.suptitle("HTTP latency: mean of three experiments")
|
||||||
|
save(fig, "grade5-latency.png")
|
||||||
|
|
||||||
|
|
||||||
|
fig, axes = plt.subplots(2, 2, figsize=(12, 9))
|
||||||
|
|
||||||
|
for ax, group, metric, title, unit in [
|
||||||
|
(
|
||||||
|
axes[0][0], "application_total", "cpu_mean_percent",
|
||||||
|
"Application CPU", "CPU, %"
|
||||||
|
),
|
||||||
|
(
|
||||||
|
axes[0][1], "observability_total", "cpu_mean_percent",
|
||||||
|
"Observability CPU", "CPU, %"
|
||||||
|
),
|
||||||
|
(
|
||||||
|
axes[1][0], "application_total", "ram_mean_mib",
|
||||||
|
"Application RAM", "RAM, MiB"
|
||||||
|
),
|
||||||
|
(
|
||||||
|
axes[1][1], "observability_total", "ram_mean_mib",
|
||||||
|
"Observability RAM", "RAM, MiB"
|
||||||
|
),
|
||||||
|
]:
|
||||||
|
values = [
|
||||||
|
statistics.mean(
|
||||||
|
r["resources"][group][metric]
|
||||||
|
for r in data[mode]
|
||||||
|
)
|
||||||
|
for mode in MODES
|
||||||
|
]
|
||||||
|
|
||||||
|
bars(ax, values, title, unit)
|
||||||
|
|
||||||
|
fig.suptitle("Resource consumption under identical workload")
|
||||||
|
save(fig, "grade5-resources.png")
|
||||||
|
|
||||||
|
|
||||||
|
fig, axes = plt.subplots(1, 2, figsize=(12, 5))
|
||||||
|
|
||||||
|
for ax, metric, title in [
|
||||||
|
(
|
||||||
|
axes[0],
|
||||||
|
"otelcol_receiver_accepted_spans",
|
||||||
|
"Collector ingress",
|
||||||
|
),
|
||||||
|
(
|
||||||
|
axes[1],
|
||||||
|
"otelcol_exporter_sent_spans",
|
||||||
|
"Collector export",
|
||||||
|
),
|
||||||
|
]:
|
||||||
|
values = [
|
||||||
|
sum(r["collector_deltas"][metric] for r in data[mode])
|
||||||
|
for mode in MODES
|
||||||
|
]
|
||||||
|
|
||||||
|
result = ax.bar(LABELS, values, color=COLORS)
|
||||||
|
ax.bar_label(result, fmt="%.0f", padding=3)
|
||||||
|
ax.set_title(title)
|
||||||
|
ax.set_ylabel("Spans")
|
||||||
|
ax.set_ylim(0, max(values) * 1.2)
|
||||||
|
ax.grid(axis="y", alpha=0.2)
|
||||||
|
ax.set_axisbelow(True)
|
||||||
|
|
||||||
|
fig.suptitle("Trace volume: total across three experiments")
|
||||||
|
save(fig, "grade5-ingest.png")
|
||||||
|
|
||||||
|
|
||||||
|
fig, ax = plt.subplots(figsize=(10, 6))
|
||||||
|
|
||||||
|
scenarios = ["normal", "error", "slow"]
|
||||||
|
positions = list(range(len(scenarios)))
|
||||||
|
width = 0.24
|
||||||
|
|
||||||
|
for index, mode in enumerate(MODES[1:]):
|
||||||
|
report = json.loads(
|
||||||
|
(EVIDENCE / f"grade5-retention-{mode}.json").read_text()
|
||||||
|
)
|
||||||
|
|
||||||
|
values = [
|
||||||
|
report["summary"][scenario]["retention_percent"]
|
||||||
|
for scenario in scenarios
|
||||||
|
]
|
||||||
|
|
||||||
|
result = ax.bar(
|
||||||
|
[x + (index - 1) * width for x in positions],
|
||||||
|
values,
|
||||||
|
width,
|
||||||
|
label=LABELS[index + 1],
|
||||||
|
color=COLORS[index + 1],
|
||||||
|
)
|
||||||
|
|
||||||
|
ax.bar_label(result, fmt="%.0f%%", padding=3)
|
||||||
|
|
||||||
|
ax.set_xticks(positions, ["Normal", "Error", "Slow"])
|
||||||
|
ax.set_ylabel("Trace retention, %")
|
||||||
|
ax.set_ylim(0, 115)
|
||||||
|
ax.set_title("Retention of controlled HTTP traces")
|
||||||
|
ax.legend()
|
||||||
|
ax.grid(axis="y", alpha=0.2)
|
||||||
|
ax.set_axisbelow(True)
|
||||||
|
|
||||||
|
save(fig, "grade5-retention.png")
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
|
||||||
|
import argparse
|
||||||
|
import asyncio
|
||||||
|
from uuid import UUID
|
||||||
|
|
||||||
|
from sqlalchemy import text
|
||||||
|
|
||||||
|
from src.database import SessionFactory, engine
|
||||||
|
|
||||||
|
|
||||||
|
async def replay(job_id: UUID):
|
||||||
|
async with SessionFactory() as session:
|
||||||
|
async with session.begin():
|
||||||
|
result = await session.execute(
|
||||||
|
text("""
|
||||||
|
SELECT j.id, j.attachment_id, j.status,
|
||||||
|
j.generation, a.status AS attachment_status
|
||||||
|
FROM attachment_jobs j
|
||||||
|
JOIN attachments a ON a.id = j.attachment_id
|
||||||
|
WHERE j.id = :job_id
|
||||||
|
FOR UPDATE OF j, a
|
||||||
|
"""),
|
||||||
|
{"job_id": job_id},
|
||||||
|
)
|
||||||
|
|
||||||
|
row = result.one_or_none()
|
||||||
|
|
||||||
|
if row is None:
|
||||||
|
print("REJECTED: job not found")
|
||||||
|
return
|
||||||
|
|
||||||
|
if row.status != "failed" or row.attachment_status != "failed":
|
||||||
|
print("REJECTED: job and attachment must be failed")
|
||||||
|
return
|
||||||
|
|
||||||
|
await session.execute(
|
||||||
|
text("""
|
||||||
|
UPDATE attachment_jobs
|
||||||
|
SET status = 'queued',
|
||||||
|
generation = generation + 1,
|
||||||
|
attempt = 1,
|
||||||
|
published_at = NULL,
|
||||||
|
started_at = NULL,
|
||||||
|
execution_id = NULL,
|
||||||
|
next_attempt_at = NULL,
|
||||||
|
last_error_code = NULL,
|
||||||
|
finished_at = NULL,
|
||||||
|
failed_published_at = NULL
|
||||||
|
WHERE id = :job_id
|
||||||
|
"""),
|
||||||
|
{"job_id": job_id},
|
||||||
|
)
|
||||||
|
|
||||||
|
await session.execute(
|
||||||
|
text("""
|
||||||
|
UPDATE attachments
|
||||||
|
SET status = 'queued',
|
||||||
|
error_code = NULL,
|
||||||
|
updated_at = now()
|
||||||
|
WHERE id = :attachment_id
|
||||||
|
"""),
|
||||||
|
{"attachment_id": row.attachment_id},
|
||||||
|
)
|
||||||
|
|
||||||
|
print(
|
||||||
|
f"REPLAY ACCEPTED: job={job_id}, "
|
||||||
|
f"generation={row.generation + 1}"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
async def main():
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument("job_id", type=UUID)
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
try:
|
||||||
|
await replay(args.job_id)
|
||||||
|
finally:
|
||||||
|
await engine.dispose()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
asyncio.run(main())
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
docker compose restart postgres redis api-1 api-2
|
||||||
@@ -0,0 +1,379 @@
|
|||||||
|
import argparse
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
import statistics
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
import tempfile
|
||||||
|
import time
|
||||||
|
import urllib.parse
|
||||||
|
import urllib.request
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parents[1]
|
||||||
|
os.chdir(ROOT)
|
||||||
|
|
||||||
|
SERVICES = [
|
||||||
|
"api-1",
|
||||||
|
"api-2",
|
||||||
|
"dispatcher",
|
||||||
|
"worker",
|
||||||
|
]
|
||||||
|
|
||||||
|
MONITORED = SERVICES + [
|
||||||
|
"otel-collector",
|
||||||
|
"prometheus",
|
||||||
|
"loki",
|
||||||
|
"tempo",
|
||||||
|
]
|
||||||
|
|
||||||
|
MODES = {
|
||||||
|
"baseline": ("0", "0.0"),
|
||||||
|
"full": ("1", "1.0"),
|
||||||
|
"optimized": ("1", "0.1"),
|
||||||
|
"balanced": ("1", "1.0"),
|
||||||
|
}
|
||||||
|
|
||||||
|
METRICS = [
|
||||||
|
"otelcol_receiver_accepted_spans",
|
||||||
|
"otelcol_receiver_refused_spans",
|
||||||
|
"otelcol_exporter_sent_spans",
|
||||||
|
"otelcol_exporter_send_failed_spans",
|
||||||
|
"otelcol_receiver_accepted_log_records",
|
||||||
|
"otelcol_receiver_refused_log_records",
|
||||||
|
"otelcol_exporter_sent_log_records",
|
||||||
|
"otelcol_exporter_send_failed_log_records",
|
||||||
|
"otelcol_receiver_accepted_metric_points",
|
||||||
|
"otelcol_receiver_refused_metric_points",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def command(args, **kwargs):
|
||||||
|
return subprocess.run(args, check=True, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
def prometheus(query):
|
||||||
|
url = (
|
||||||
|
"http://localhost:9090/api/v1/query?"
|
||||||
|
+ urllib.parse.urlencode({"query": query})
|
||||||
|
)
|
||||||
|
|
||||||
|
with urllib.request.urlopen(url, timeout=10) as response:
|
||||||
|
result = json.load(response)
|
||||||
|
|
||||||
|
if result["status"] != "success":
|
||||||
|
raise RuntimeError("Prometheus query failed")
|
||||||
|
|
||||||
|
return result["data"]["result"]
|
||||||
|
|
||||||
|
|
||||||
|
def snapshot():
|
||||||
|
result = {}
|
||||||
|
|
||||||
|
for name in METRICS:
|
||||||
|
rows = prometheus(f"sum({name})")
|
||||||
|
result[name] = float(rows[0]["value"][1]) if rows else 0.0
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
def switch_mode(mode):
|
||||||
|
enabled, ratio = MODES[mode]
|
||||||
|
|
||||||
|
env = dict(os.environ)
|
||||||
|
env["TELEMETRY_ENABLED"] = enabled
|
||||||
|
env["TELEMETRY_TRACE_SAMPLE_RATIO"] = ratio
|
||||||
|
env["TELEMETRY_BENCHMARK_ENABLED"] = "0"
|
||||||
|
env["TELEMETRY_COLLECTOR_CONFIG"] = (
|
||||||
|
"config-balanced.yaml"
|
||||||
|
if mode == "balanced"
|
||||||
|
else "config.yaml"
|
||||||
|
)
|
||||||
|
|
||||||
|
command(
|
||||||
|
[
|
||||||
|
"docker", "compose", "up", "-d",
|
||||||
|
"--no-deps", "otel-collector",
|
||||||
|
],
|
||||||
|
env=env,
|
||||||
|
)
|
||||||
|
|
||||||
|
time.sleep(20)
|
||||||
|
|
||||||
|
command(
|
||||||
|
[
|
||||||
|
"docker", "compose", "up", "-d",
|
||||||
|
"--no-deps", *SERVICES,
|
||||||
|
],
|
||||||
|
env=env,
|
||||||
|
)
|
||||||
|
|
||||||
|
deadline = time.monotonic() + 120
|
||||||
|
|
||||||
|
while time.monotonic() < deadline:
|
||||||
|
ready = True
|
||||||
|
|
||||||
|
for service in ["api-1", "api-2"]:
|
||||||
|
cid = subprocess.check_output(
|
||||||
|
["docker", "compose", "ps", "-q", service],
|
||||||
|
text=True,
|
||||||
|
).strip()
|
||||||
|
|
||||||
|
if not cid:
|
||||||
|
ready = False
|
||||||
|
break
|
||||||
|
|
||||||
|
status = subprocess.check_output(
|
||||||
|
[
|
||||||
|
"docker", "inspect",
|
||||||
|
"--format", "{{.State.Health.Status}}",
|
||||||
|
cid,
|
||||||
|
],
|
||||||
|
text=True,
|
||||||
|
).strip()
|
||||||
|
|
||||||
|
if status != "healthy":
|
||||||
|
ready = False
|
||||||
|
break
|
||||||
|
|
||||||
|
if ready:
|
||||||
|
break
|
||||||
|
|
||||||
|
time.sleep(3)
|
||||||
|
else:
|
||||||
|
raise RuntimeError("API replicas are not healthy")
|
||||||
|
|
||||||
|
command(["make", "test"])
|
||||||
|
time.sleep(15)
|
||||||
|
|
||||||
|
|
||||||
|
def container_ids():
|
||||||
|
result = {}
|
||||||
|
|
||||||
|
for service in MONITORED:
|
||||||
|
cid = subprocess.check_output(
|
||||||
|
["docker", "compose", "ps", "-q", service],
|
||||||
|
text=True,
|
||||||
|
).strip()
|
||||||
|
|
||||||
|
if not cid:
|
||||||
|
raise RuntimeError(f"Container missing: {service}")
|
||||||
|
|
||||||
|
result[cid[:12]] = service
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
def memory_mib(value):
|
||||||
|
value = value.split("/")[0].strip()
|
||||||
|
match = re.fullmatch(r"([\d.]+)\s*([A-Za-z]+)", value)
|
||||||
|
|
||||||
|
if not match:
|
||||||
|
raise ValueError(f"Unknown memory format: {value}")
|
||||||
|
|
||||||
|
number, unit = match.groups()
|
||||||
|
|
||||||
|
factors = {
|
||||||
|
"B": 1 / 1048576,
|
||||||
|
"KiB": 1 / 1024,
|
||||||
|
"MiB": 1,
|
||||||
|
"GiB": 1024,
|
||||||
|
"kB": 1000 / 1048576,
|
||||||
|
"MB": 1000000 / 1048576,
|
||||||
|
"GB": 1000000000 / 1048576,
|
||||||
|
}
|
||||||
|
|
||||||
|
return float(number) * factors[unit]
|
||||||
|
|
||||||
|
|
||||||
|
def docker_sample(ids):
|
||||||
|
output = subprocess.check_output(
|
||||||
|
[
|
||||||
|
"docker", "stats", "--no-stream",
|
||||||
|
"--format", "{{json .}}",
|
||||||
|
*ids,
|
||||||
|
],
|
||||||
|
text=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
result = {"timestamp": time.time(), "services": {}}
|
||||||
|
|
||||||
|
for line in output.splitlines():
|
||||||
|
row = json.loads(line)
|
||||||
|
service = ids[row["ID"][:12]]
|
||||||
|
|
||||||
|
result["services"][service] = {
|
||||||
|
"cpu_percent": float(row["CPUPerc"].rstrip("%")),
|
||||||
|
"memory_mib": memory_mib(row["MemUsage"]),
|
||||||
|
}
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
def summarize_resources(samples):
|
||||||
|
result = {}
|
||||||
|
|
||||||
|
groups = {
|
||||||
|
**{service: [service] for service in MONITORED},
|
||||||
|
"application_total": SERVICES,
|
||||||
|
"observability_total": [
|
||||||
|
"otel-collector", "prometheus", "loki", "tempo"
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
for name, services in groups.items():
|
||||||
|
cpu = []
|
||||||
|
ram = []
|
||||||
|
|
||||||
|
for sample in samples:
|
||||||
|
rows = sample["services"]
|
||||||
|
|
||||||
|
if all(service in rows for service in services):
|
||||||
|
cpu.append(sum(
|
||||||
|
rows[service]["cpu_percent"]
|
||||||
|
for service in services
|
||||||
|
))
|
||||||
|
ram.append(sum(
|
||||||
|
rows[service]["memory_mib"]
|
||||||
|
for service in services
|
||||||
|
))
|
||||||
|
|
||||||
|
if cpu:
|
||||||
|
result[name] = {
|
||||||
|
"samples": len(cpu),
|
||||||
|
"cpu_mean_percent": round(statistics.mean(cpu), 3),
|
||||||
|
"cpu_peak_percent": round(max(cpu), 3),
|
||||||
|
"ram_mean_mib": round(statistics.mean(ram), 3),
|
||||||
|
"ram_peak_mib": round(max(ram), 3),
|
||||||
|
}
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
def experiment(mode, repeat, args):
|
||||||
|
name = f"{mode}-{repeat}"
|
||||||
|
output = ROOT / "evidence" / f"grade5-{name}.json"
|
||||||
|
|
||||||
|
print(f"\n=== Experiment {name} ===", flush=True)
|
||||||
|
|
||||||
|
switch_mode(mode)
|
||||||
|
ids = container_ids()
|
||||||
|
|
||||||
|
with tempfile.TemporaryDirectory() as directory:
|
||||||
|
marker = Path(directory) / "start"
|
||||||
|
|
||||||
|
process = subprocess.Popen([
|
||||||
|
sys.executable,
|
||||||
|
"scripts/benchmark_telemetry.py",
|
||||||
|
"--mode", name,
|
||||||
|
"--requests", str(args.requests),
|
||||||
|
"--rate", str(args.rate),
|
||||||
|
"--workers", str(args.workers),
|
||||||
|
"--warmup", str(args.warmup),
|
||||||
|
"--start-marker", str(marker),
|
||||||
|
"--output", str(output),
|
||||||
|
])
|
||||||
|
|
||||||
|
try:
|
||||||
|
deadline = time.monotonic() + 180
|
||||||
|
|
||||||
|
while not marker.exists():
|
||||||
|
if process.poll() is not None:
|
||||||
|
raise RuntimeError("Benchmark exited before measurement")
|
||||||
|
|
||||||
|
if time.monotonic() > deadline:
|
||||||
|
raise RuntimeError("Benchmark warmup timeout")
|
||||||
|
|
||||||
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
before = snapshot()
|
||||||
|
marker.unlink()
|
||||||
|
|
||||||
|
samples = []
|
||||||
|
|
||||||
|
while process.poll() is None:
|
||||||
|
samples.append(docker_sample(ids))
|
||||||
|
time.sleep(1)
|
||||||
|
|
||||||
|
if process.wait() != 0:
|
||||||
|
raise RuntimeError("Benchmark failed")
|
||||||
|
|
||||||
|
finally:
|
||||||
|
if process.poll() is None:
|
||||||
|
process.terminate()
|
||||||
|
process.wait()
|
||||||
|
|
||||||
|
time.sleep(40 if mode == "balanced" else 15)
|
||||||
|
after = snapshot()
|
||||||
|
|
||||||
|
report = json.loads(output.read_text())
|
||||||
|
|
||||||
|
samples = [
|
||||||
|
sample for sample in samples
|
||||||
|
if report["started_at_unix"]
|
||||||
|
<= sample["timestamp"]
|
||||||
|
<= report["finished_at_unix"]
|
||||||
|
]
|
||||||
|
|
||||||
|
if not samples:
|
||||||
|
raise RuntimeError("No resource samples")
|
||||||
|
|
||||||
|
deltas = {
|
||||||
|
name: round(after[name] - before[name], 3)
|
||||||
|
for name in METRICS
|
||||||
|
}
|
||||||
|
|
||||||
|
if any(value < 0 for value in deltas.values()):
|
||||||
|
raise RuntimeError("Collector counter reset detected")
|
||||||
|
|
||||||
|
report["collector_before"] = before
|
||||||
|
report["collector_after"] = after
|
||||||
|
report["collector_deltas"] = deltas
|
||||||
|
report["resources"] = summarize_resources(samples)
|
||||||
|
report["resource_samples"] = samples
|
||||||
|
|
||||||
|
output.write_text(
|
||||||
|
json.dumps(report, indent=2, ensure_ascii=False) + "\n"
|
||||||
|
)
|
||||||
|
|
||||||
|
print(f"Saved: {output}", flush=True)
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument("--requests", type=int, default=1200)
|
||||||
|
parser.add_argument("--rate", type=float, default=20)
|
||||||
|
parser.add_argument("--workers", type=int, default=16)
|
||||||
|
parser.add_argument("--warmup", type=int, default=100)
|
||||||
|
parser.add_argument("--repeats", type=int, default=3)
|
||||||
|
parser.add_argument("--mode", choices=list(MODES))
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
if min(
|
||||||
|
args.requests, args.rate, args.workers, args.repeats
|
||||||
|
) <= 0 or args.warmup < 0:
|
||||||
|
parser.error("Invalid experiment parameters")
|
||||||
|
|
||||||
|
orders = [
|
||||||
|
["baseline", "full", "optimized"],
|
||||||
|
["full", "optimized", "baseline"],
|
||||||
|
["optimized", "baseline", "full"],
|
||||||
|
]
|
||||||
|
|
||||||
|
try:
|
||||||
|
for repeat in range(1, args.repeats + 1):
|
||||||
|
selected = (
|
||||||
|
[args.mode] if args.mode
|
||||||
|
else orders[(repeat - 1) % len(orders)]
|
||||||
|
)
|
||||||
|
for mode in selected:
|
||||||
|
experiment(mode, repeat, args)
|
||||||
|
|
||||||
|
finally:
|
||||||
|
print("\nRestoring full telemetry", flush=True)
|
||||||
|
switch_mode("full")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
: "${TARGET_INSTANCE_ID:?}"
|
||||||
|
|
||||||
|
case "$TARGET_INSTANCE_ID" in
|
||||||
|
api-1|api-2)
|
||||||
|
docker compose stop "$TARGET_INSTANCE_ID"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unknown instance: $TARGET_INSTANCE_ID" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
import base64
|
||||||
|
import binascii
|
||||||
|
import json
|
||||||
|
from datetime import datetime
|
||||||
|
from uuid import UUID
|
||||||
|
|
||||||
|
|
||||||
|
def encode_cursor(
|
||||||
|
chat_id: UUID,
|
||||||
|
created_at: datetime,
|
||||||
|
message_id: UUID,
|
||||||
|
) -> str:
|
||||||
|
data = {
|
||||||
|
"chat_id": str(chat_id),
|
||||||
|
"created_at": created_at.isoformat(),
|
||||||
|
"message_id": str(message_id),
|
||||||
|
}
|
||||||
|
|
||||||
|
raw = json.dumps(
|
||||||
|
data,
|
||||||
|
separators=(",", ":"),
|
||||||
|
).encode("utf-8")
|
||||||
|
|
||||||
|
return base64.urlsafe_b64encode(raw).decode("ascii")
|
||||||
|
|
||||||
|
|
||||||
|
def decode_cursor(cursor: str) -> tuple[UUID, datetime, UUID]:
|
||||||
|
try:
|
||||||
|
raw = base64.urlsafe_b64decode(cursor.encode("ascii"))
|
||||||
|
|
||||||
|
data = json.loads(raw.decode("utf-8"))
|
||||||
|
|
||||||
|
if not isinstance(data, dict):
|
||||||
|
raise ValueError("Invalid cursor")
|
||||||
|
|
||||||
|
if set(data.keys()) != {
|
||||||
|
"chat_id",
|
||||||
|
"created_at",
|
||||||
|
"message_id",
|
||||||
|
}:
|
||||||
|
raise ValueError("Invalid cursor")
|
||||||
|
|
||||||
|
chat_id = UUID(data["chat_id"])
|
||||||
|
created_at = datetime.fromisoformat(data["created_at"])
|
||||||
|
message_id = UUID(data["message_id"])
|
||||||
|
|
||||||
|
if created_at.tzinfo is None or created_at.utcoffset() is None:
|
||||||
|
raise ValueError("Invalid cursor")
|
||||||
|
|
||||||
|
return chat_id, created_at, message_id
|
||||||
|
|
||||||
|
except (
|
||||||
|
ValueError,
|
||||||
|
KeyError,
|
||||||
|
TypeError,
|
||||||
|
UnicodeError,
|
||||||
|
binascii.Error,
|
||||||
|
json.JSONDecodeError,
|
||||||
|
) as exc:
|
||||||
|
raise ValueError("Invalid cursor") from exc
|
||||||
|
|
||||||
|
|
||||||
|
def encode_chat_cursor(user_id: UUID, created_at: datetime, chat_id: UUID) -> str:
|
||||||
|
data = {
|
||||||
|
"user_id": str(user_id),
|
||||||
|
"created_at": created_at.isoformat(),
|
||||||
|
"chat_id": str(chat_id),
|
||||||
|
}
|
||||||
|
raw = json.dumps(data, separators=(",", ":")).encode("utf-8")
|
||||||
|
return base64.urlsafe_b64encode(raw).decode("ascii")
|
||||||
|
|
||||||
|
|
||||||
|
def decode_chat_cursor(cursor: str) -> tuple[UUID, datetime, UUID]:
|
||||||
|
try:
|
||||||
|
raw = base64.b64decode(cursor.encode("ascii"), altchars=b"-_", validate=True)
|
||||||
|
data = json.loads(raw.decode("utf-8"))
|
||||||
|
if not isinstance(data, dict) or set(data) != {"user_id", "created_at", "chat_id"}:
|
||||||
|
raise ValueError("Invalid cursor")
|
||||||
|
user_id = UUID(data["user_id"])
|
||||||
|
created_at = datetime.fromisoformat(data["created_at"])
|
||||||
|
chat_id = UUID(data["chat_id"])
|
||||||
|
if created_at.tzinfo is None or created_at.utcoffset() is None:
|
||||||
|
raise ValueError("Invalid cursor")
|
||||||
|
return user_id, created_at, chat_id
|
||||||
|
except (ValueError, TypeError, KeyError, UnicodeError, binascii.Error, json.JSONDecodeError) as exc:
|
||||||
|
raise ValueError("Invalid cursor") from exc
|
||||||
@@ -0,0 +1,179 @@
|
|||||||
|
from collections.abc import AsyncIterator
|
||||||
|
|
||||||
|
import socket
|
||||||
|
from threading import Lock
|
||||||
|
|
||||||
|
from sqlalchemy.pool import AsyncAdaptedQueuePool
|
||||||
|
from sqlalchemy.util.queue import AsyncAdaptedQueue
|
||||||
|
|
||||||
|
from sqlalchemy import event, text
|
||||||
|
from opentelemetry import trace
|
||||||
|
from opentelemetry.trace import SpanKind, Status, StatusCode
|
||||||
|
from sqlalchemy.exc import SQLAlchemyError
|
||||||
|
from sqlalchemy.ext.asyncio import (
|
||||||
|
AsyncSession,
|
||||||
|
async_sessionmaker,
|
||||||
|
create_async_engine,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
DATABASE_URL_FILE = "/run/secrets/database_url"
|
||||||
|
|
||||||
|
POOL_SIZE = 5
|
||||||
|
MAX_OVERFLOW = 5
|
||||||
|
POOL_TIMEOUT_SECONDS = 5
|
||||||
|
DB_CONNECT_TIMEOUT_SECONDS = 5
|
||||||
|
|
||||||
|
|
||||||
|
def read_database_url() -> str:
|
||||||
|
with open(DATABASE_URL_FILE, encoding="utf-8") as file:
|
||||||
|
return file.read().strip()
|
||||||
|
|
||||||
|
|
||||||
|
class MeasuredQueue(AsyncAdaptedQueue):
|
||||||
|
def __init__(self, *args, **kwargs):
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
|
self.waiting = 0
|
||||||
|
self.waiting_lock = Lock()
|
||||||
|
|
||||||
|
def get(self, block=True, timeout=None):
|
||||||
|
waiting = block and self.empty()
|
||||||
|
|
||||||
|
if waiting:
|
||||||
|
with self.waiting_lock:
|
||||||
|
self.waiting += 1
|
||||||
|
|
||||||
|
try:
|
||||||
|
return super().get(block, timeout)
|
||||||
|
finally:
|
||||||
|
if waiting:
|
||||||
|
with self.waiting_lock:
|
||||||
|
self.waiting -= 1
|
||||||
|
|
||||||
|
|
||||||
|
class MeasuredPool(AsyncAdaptedQueuePool):
|
||||||
|
_queue_class = MeasuredQueue
|
||||||
|
|
||||||
|
def connect(self):
|
||||||
|
tracer = trace.get_tracer("messenger.database")
|
||||||
|
|
||||||
|
with tracer.start_as_current_span(
|
||||||
|
"postgresql.pool.acquire",
|
||||||
|
kind=SpanKind.CLIENT,
|
||||||
|
attributes={
|
||||||
|
"db.system.name": "postgresql",
|
||||||
|
"db.operation.name": "CONNECT",
|
||||||
|
"server.address": "postgres",
|
||||||
|
},
|
||||||
|
record_exception=False,
|
||||||
|
set_status_on_exception=False,
|
||||||
|
) as span:
|
||||||
|
try:
|
||||||
|
connection = super().connect()
|
||||||
|
except BaseException as exc:
|
||||||
|
span.set_attribute(
|
||||||
|
"error.type", type(exc).__name__
|
||||||
|
)
|
||||||
|
span.set_status(Status(StatusCode.ERROR))
|
||||||
|
raise
|
||||||
|
|
||||||
|
span.set_status(Status(StatusCode.OK))
|
||||||
|
return connection
|
||||||
|
|
||||||
|
def waiting_count(self):
|
||||||
|
with self._pool.waiting_lock:
|
||||||
|
return self._pool.waiting
|
||||||
|
|
||||||
|
|
||||||
|
database_url = read_database_url()
|
||||||
|
|
||||||
|
engine = create_async_engine(
|
||||||
|
database_url,
|
||||||
|
poolclass=MeasuredPool,
|
||||||
|
pool_size=POOL_SIZE,
|
||||||
|
max_overflow=MAX_OVERFLOW,
|
||||||
|
pool_timeout=POOL_TIMEOUT_SECONDS,
|
||||||
|
connect_args={
|
||||||
|
"timeout": DB_CONNECT_TIMEOUT_SECONDS,
|
||||||
|
},
|
||||||
|
pool_pre_ping=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
@event.listens_for(engine.sync_engine, "before_cursor_execute")
|
||||||
|
def before_cursor_execute(conn, cursor, statement, parameters, context, executemany):
|
||||||
|
operation = statement.lstrip().split(None, 1)
|
||||||
|
operation = operation[0].upper() if operation else "OTHER"
|
||||||
|
|
||||||
|
if operation not in {
|
||||||
|
"SELECT", "INSERT", "UPDATE", "DELETE",
|
||||||
|
"WITH", "CREATE", "ALTER", "DROP",
|
||||||
|
}:
|
||||||
|
operation = "OTHER"
|
||||||
|
|
||||||
|
tracer = trace.get_tracer("messenger.database")
|
||||||
|
|
||||||
|
manager = tracer.start_as_current_span(
|
||||||
|
f"postgresql.{operation}",
|
||||||
|
kind=SpanKind.CLIENT,
|
||||||
|
attributes={
|
||||||
|
"db.system.name": "postgresql",
|
||||||
|
"db.operation.name": operation,
|
||||||
|
"server.address": "postgres",
|
||||||
|
},
|
||||||
|
record_exception=False,
|
||||||
|
set_status_on_exception=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
span = manager.__enter__()
|
||||||
|
context._messenger_db_span = (manager, span)
|
||||||
|
|
||||||
|
|
||||||
|
def finish_database_span(context, failed=False):
|
||||||
|
if context is None:
|
||||||
|
return
|
||||||
|
|
||||||
|
state = getattr(context, "_messenger_db_span", None)
|
||||||
|
|
||||||
|
if state is None:
|
||||||
|
return
|
||||||
|
|
||||||
|
context._messenger_db_span = None
|
||||||
|
manager, span = state
|
||||||
|
|
||||||
|
span.set_status(
|
||||||
|
Status(StatusCode.ERROR if failed else StatusCode.OK)
|
||||||
|
)
|
||||||
|
|
||||||
|
manager.__exit__(None, None, None)
|
||||||
|
|
||||||
|
|
||||||
|
@event.listens_for(engine.sync_engine, "after_cursor_execute")
|
||||||
|
def after_cursor_execute(conn, cursor, statement, parameters, context, executemany):
|
||||||
|
finish_database_span(context)
|
||||||
|
|
||||||
|
|
||||||
|
@event.listens_for(engine.sync_engine, "handle_error")
|
||||||
|
def handle_database_error(exception_context):
|
||||||
|
finish_database_span(
|
||||||
|
exception_context.execution_context,
|
||||||
|
failed=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
SessionFactory = async_sessionmaker(
|
||||||
|
bind=engine,
|
||||||
|
expire_on_commit=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
async def get_db_session() -> AsyncIterator[AsyncSession]:
|
||||||
|
async with SessionFactory() as session:
|
||||||
|
yield session
|
||||||
|
|
||||||
|
|
||||||
|
async def ping_database() -> bool:
|
||||||
|
try:
|
||||||
|
async with engine.connect() as connection:
|
||||||
|
await connection.execute(text("SELECT 1"))
|
||||||
|
return True
|
||||||
|
except (SQLAlchemyError, OSError):
|
||||||
|
return False
|
||||||