This commit is contained in:
Vladislav Kunetskiy
2026-11-05 02:09:39 +03:00
parent edc2a405ee
commit b53ecba3e6
132 changed files with 10121 additions and 119 deletions
+25
View File
@@ -0,0 +1,25 @@
# Lab6 evidence
- `smoke.txt` — `make test` with the telemetry profile running.
- `telemetry.txt` — `make test-observability`: Prometheus/Loki/Tempo/Grafana
queries, route-label validation, forbidden-sentinel search.
- `unit-test.txt` — `make unit-test` (`go test -race -shuffle=on`).
- `stand.txt` — `docker compose --profile telemetry ps`.
- `metrics.txt` — actual sample counts from Prometheus for the required signal set.
- `queries/promql.txt` — PromQL used by dashboards and alerts.
- `tempo-search.json`, `trace-pipeline.json` — raw Tempo responses for an
upload trace; `trace-retry.txt` — attempt=2 trace after a transient fault;
traces include API, relay `job.publish`, worker `job.process`, S3 and DB
child spans.
- Track 2 evidence is generated by `scripts/lab6_track2.py`; raw CSV/JSON and
`plan.md` belong in `track2/`. The full run needs the documented 3-hour window;
short runs are explicitly not evidence of the 6h slow-burn window.
- `storage-down.txt`, `db-down.txt` — telemetry-storage and PostgreSQL
outage observations (API continues; bounded Collector queues).
- `track2/overdue-alert.txt` — JobsOverdue firing/resolved.
- `regression/` is for the lab5 regression commands (`test-queue`,
`test-faults`, `test-attachments`, `test-presign`, `test-idempotency`,
`test-lb-readiness`, persistence/failover).
No tokens, signed URLs, message bodies or images are stored here. The
`scripts/check_evidence.py` scanner is part of `make test-observability`.
+10
View File
@@ -0,0 +1,10 @@
Collector down scenario (local, 2026-11-04)
==========================================
$ docker compose --env-file .env stop otel-collector
$ curl up{job=otel-collector}
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"up","instance":"otel-collector:8889","job":"otel-collector"},"value":[1793801606.395,"0"]}]}}
$ curl /api/v1/alerts
{"status":"success","data":{"alerts":[{"labels":{"alertname":"CollectorDroppedTelemetry","severity":"warning"},"annotations":{"runbook":"infra/runbooks/telemetry-backend-down.md","summary":"Collector is dropping or refusing telemetry"},"state":"firing","activeAt":"2026-11-04T14:07:53.187213033Z","value":"1.380952380952381e-01"},{"labels":{"alertname":"TelemetryCollectorDown","component":"telemetry","instance":"otel-collector:8889","job":"otel-collector","severity":"warning"},"annotations":{"runbook":"infra/runbooks/telemetry-backend-down.md","summary":"OTel Collector is unavailable; application keeps running"},"state":"pending","activeAt":"2026-11-04T14:11:28.187213033Z","value":"0e+00"}]}}
$ make test
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 tests/smoke.py --base-url "http://localhost:8080"
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
+16
View File
@@ -0,0 +1,16 @@
PostgreSQL unavailable (local, 2026-11-04)
===========================================
$ docker compose --env-file .env stop postgres
Container mtusi-messenger-lab6-postgres-1 Stopped
$ load during outage: bootstrap could not get a ready API through the LB
(readiness 503; HAProxy removed the DB-dependent replicas)
$ sum(rate(haproxy_frontend_http_responses_total{proxy="http_front",code=~"5.."}[1m]))
{"value":"0.017931433566648815"}
$ curl /health/ready
503
$ docker compose --env-file .env start postgres
$ make test after restore
PASS: lab6 public API scenario
Result: DB outage is visible as edge 5xx/readiness loss; after PostgreSQL
returns, the public smoke passes. No accepted upload is lost (queue/relay
evidence from the worker scenario remains zero-loss).
+13
View File
@@ -0,0 +1,13 @@
PostgreSQL pause (short burst) — local check
=============================================
$ docker compose --env-file .env pause postgres
$ python3 scripts/lab6_load.py --rate 1 --duration 8 --upload-ratio 0 --deadline 5
messages were attempted during a frozen DB; client deadline errors are bad.
$ sum(rate(haproxy_frontend_http_responses_total{proxy="http_front",code=~"5.."}[1m]))
-> 0.017002102915598543
$ slo:api_error_ratio:5m -> 0
$ docker compose --env-file .env unpause postgres
$ make test -> PASS lab6 public API scenario
$ Prometheus alerts -> []
Interpretation: a short sub-5m burst is below the multi-window page threshold;
this is the expected no-page control, not evidence of a sustained incident.
+25
View File
@@ -0,0 +1,25 @@
{
"base_url": "http://localhost:8080",
"rate": 0.5,
"duration_s": 8.36,
"scheduled": 5,
"counters": {
"accepted": 5,
"ready": 5,
"failed": 0,
"messages": 0,
"uploads": 5
},
"failures": 0,
"failure_samples": [],
"latency_ms": {
"p50": null,
"p95": null,
"p99": null
},
"ttr_ms": {
"p50": 349.0,
"p95": 359.9,
"p99": 359.9
}
}
+16
View File
@@ -0,0 +1,16 @@
messenger_http_server_requests_total: 33
http_server_request_duration_seconds_bucket: 396
messenger_jobs_accepted_total: 2
messenger_jobs_processed_total: 1
messenger_jobs_ready_within_budget_total: 1
messenger_job_duration_seconds_bucket: 11
messenger_job_time_to_ready_seconds_bucket: 10
messenger_jobs_overdue: 1
messenger_queue_oldest_job_age_seconds: 1
messenger_outbox_oldest_unpublished_age_seconds: 1
messenger_worker_busy: 1
messenger_db_pool_used: 4
messenger_process_cpu_seconds_total: 4
rabbitmq_queue_messages_ready: 2
otelcol_exporter_queue_size: 2
haproxy_frontend_http_responses_total: 12
+29
View File
@@ -0,0 +1,29 @@
# Actual PromQL used by the provisioned dashboards and alert rules.
sum(rate(messenger_http_server_requests_total[5m]))
slo:api_error_ratio:5m
histogram_quantile(0.50, sum by (le) (rate(http_server_request_duration_seconds_bucket[5m])))
histogram_quantile(0.95, sum by (le) (rate(http_server_request_duration_seconds_bucket[5m])))
histogram_quantile(0.99, sum by (le) (rate(http_server_request_duration_seconds_bucket[5m])))
sum(rate(messenger_jobs_processed_total{outcome="succeeded"}[5m]))
sum(rate(messenger_jobs_processed_total{outcome="failed"}[5m]))
sum(rate(messenger_jobs_processed_total{outcome="retried"}[5m]))
histogram_quantile(0.50, sum by (le) (rate(messenger_job_duration_seconds_bucket[5m])))
histogram_quantile(0.95, sum by (le) (rate(messenger_job_duration_seconds_bucket[5m])))
histogram_quantile(0.99, sum by (le) (rate(messenger_job_duration_seconds_bucket[5m])))
histogram_quantile(0.95, sum by (le) (rate(messenger_job_time_to_ready_seconds_bucket[5m])))
slo:ttr_bad_ratio:5m
max(rabbitmq_queue_messages_ready{queue="attachment.process.v1"})
max(messenger_queue_oldest_job_age_seconds)
max(messenger_jobs_overdue)
max(messenger_outbox_oldest_unpublished_age_seconds)
sum(messenger_worker_busy)
sum(messenger_worker_capacity)
sum(messenger_db_pool_used)
sum(messenger_db_pool_idle)
sum(messenger_db_pool_max)
sum(rate(messenger_db_pool_empty_acquire_total[5m]))
max(messenger_process_cpu_seconds_total)
max(messenger_process_memory_usage_bytes)
otelcol_exporter_queue_size
otelcol_exporter_send_failed_spans
sum(rate(haproxy_frontend_http_responses_total{proxy="http_front",code=~"5.."}[5m]))
+24
View File
@@ -0,0 +1,24 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/attachments_negative.py --base-url "http://localhost:8080"
10 MiB + 1 body: 413
empty body: 415
corrupt PNG (IDAT CRC): 415
MIME spoof (PNG declared as JPEG): 415
structurally valid PNG with non-zlib IDAT: 415
valid zlib, empty PNG raster: 415
valid zlib, invalid PNG scanline filter: 415
invalid PNG color type/bit depth pair: 415
duplicate PNG IHDR: 415
trailing bytes after PNG zlib stream: 415
tRNS on RGBA PNG: 415
short tRNS on RGB PNG: 415
PLTE entries exceed palette bit depth: 415
palette tRNS exceeds PLTE entries: 415
dangerous filenames: 400
foreign attachment metadata/content: 404
empty text without attachments: 400
attachment from another chat: 404
11 attachment ids: 400
duplicate attachment ids: 400
attachment-only message: 201
anonymous direct S3 GET: 403
PASS: lab4 attachment negative scenarios
+4
View File
@@ -0,0 +1,4 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 97, "failed_attempts": 0, "first_recovery_seconds": 3.068}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+14
View File
@@ -0,0 +1,14 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/lab5_faults.py --base-url "http://localhost:8080"
permanent failure: failed/injected_failure, content 409, failed attachment not linkable, registry visible
replay: failed -> queued -> ready, one thumbnail
replay ready job: refused
replay older failed version while v2 queued: refused, state intact
v2 published after older replay refusal
replay of failed reprocess: queued projection restored, then ready at pipeline 2
transient exhaustion: attempts=5, retry_exhausted, four retries, DLQ message present
crash after first variant: redelivered, same three variants, attempts=2
crash after commit before ack: ready remains, redelivery is a no-op
crash after claim before side effect: requeued, attempts=2, ready
outbox gap: crash before publish recovered through the relay, outbox published, ready
lease expiry: paused worker, reaper requeued, stale attempt fenced, ready
PASS: lab5 level 4 fault injection
+3
View File
@@ -0,0 +1,3 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/idempotency_parallel.py --base-url "http://localhost:8080"
{"replay": {"workers": 12, "instances": ["8f0e5bdd7998", "e8d2415b9c96"], "message_id": "01a1a763-5b9b-7a27-994f-78248c9271aa"}, "conflict": {"workers": 12, "accepted": 1, "conflicts": 11}, "stable_body": {"message_id": "01a1a763-5bd8-778e-ba62-16240fa3ec36"}, "key_required": {"status": 400}}
PASS: параллельный повтор с одним Idempotency-Key создаёт ровно одно сообщение
+3
View File
@@ -0,0 +1,3 @@
go test -tags=integration -p 1 -count=1 -timeout=15m ./internal/storage/postgres ./internal/storage/redis
ok mtusi-messenger/internal/storage/postgres 8.003s
ok mtusi-messenger/internal/storage/redis 1.133s
+20
View File
@@ -0,0 +1,20 @@
/Users/vladislav/Projects/mtusi2026lab6/bin/golangci-lint run -v
level=info msg="golangci-lint has version 2.13.2 built with go1.27.1 from (unknown, modified: ?, mod sum: \"h1:bCyq3E4vo9qwzifjpzJqYndEt7Ncva80qkk8G2B4TXU=\") on (unknown)"
level=info msg="[config_reader] Config search paths: [./ /Users/vladislav/Projects/mtusi2026lab6 /Users/vladislav/Projects /Users/vladislav /Users /]"
level=info msg="[config_reader] Used config file .golangci.yml"
level=info msg="[config_reader] Module name \"mtusi-messenger\""
level=info msg="[goenv] Read go env for 5.163584ms: map[string]string{\"GOCACHE\":\"/Users/vladislav/Library/Caches/go-build\", \"GOROOT\":\"/opt/homebrew/Cellar/go/1.27.1/libexec\"}"
level=info msg="[lintersdb] Active 50 linters: [asasalint bodyclose canonicalheader containedctx contextcheck copyloopvar depguard durationcheck errcheck errname errorlint exhaustive exptostd fatcontext forbidigo forcetypeassert gocheckcompilerdirectives gocritic gofumpt goimports gomoddirectives gosec govet ineffassign intrange makezero misspell musttag nilerr nilnil noctx nolintlint perfsprint prealloc reassign recvcheck revive rowserrcheck sloglint sqlclosecheck staticcheck testifylint thelper tparallel unconvert unparam unused usestdlibvars usetesting wastedassign]"
level=info msg="[loader] Using build tags: [integration]"
level=info msg="[loader] Go packages loading at mode 8767 (compiled_files|deps|files|imports|types_sizes|exports_file|name) took 363.317916ms"
level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 9.772458ms"
level=info msg="[linters_context/goanalysis] analyzers took 10.930463359s with top 10 stages: revive: 2.628586625s, goimports: 1.744804s, gosec: 899.898833ms, unparam: 692.242917ms, wastedassign: 325.500166ms, gocritic: 151.973916ms, buildir: 143.08475ms, gofumpt: 134.217041ms, forbidigo: 133.863209ms, buildssa: 114.559414ms"
level=info msg="[runner/exclusion_rules] Skipped 14 issues by rules: [Path: \"_test\\\\.go\", Linters: \"gosec, prealloc, forcetypeassert, unparam\"]"
level=info msg="[runner] Issues before processing: 893, after processing: 0"
level=info msg="[runner] Processors filtering stat (in/out): path_absoluter: 893/893, cgo: 893/893, exclusion_paths: 893/893, generated_file_filter: 893/304, filename_unadjuster: 893/893, invalid_issue: 893/893, path_relativity: 893/893, nolint_filter: 6/0, exclusion_rules: 304/6"
level=info msg="[runner] processing took 3.351875ms with stages: generated_file_filter: 2.096458ms, nolint_filter: 636.084µs, path_relativity: 291.167µs, exclusion_rules: 290.125µs, invalid_issue: 13.834µs, cgo: 11.916µs, path_absoluter: 6.458µs, filename_unadjuster: 2.75µs, sort_results: 791ns, max_same_issues: 584ns, fixer: 334ns, exclusion_paths: 292ns, max_from_linter: 167ns, diff: 166ns, uniq_by_line: 166ns, path_prettifier: 166ns, max_per_file_from_linter: 125ns, source_code: 125ns, path_shortener: 84ns, severity-rules: 83ns"
level=info msg="[runner] linters took 1.75139825s with stages: goanalysis_metalinter: 1.74801175s"
0 issues.
level=info msg="File cache stats: 0 entries of total size 0B"
level=info msg="Memory: 23 samples, avg is 358.6MB, max is 642.8MB"
level=info msg="Execution took 2.130137542s"
+15
View File
@@ -0,0 +1,15 @@
"workload": "closed-loop POST messages; no automatic retries",
"requested_duration_seconds": 30,
"elapsed_seconds": 30.009,
"concurrency": 4,
"successful_requests": 30857,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 1028.26,
"successful_latency_ms": {
"p50": 2.846,
"p95": 9.485,
"p99": 17.614
},
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
}
+3
View File
@@ -0,0 +1,3 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+10
View File
@@ -0,0 +1,10 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/presign_flow.py --base-url "http://localhost:8080"
happy path: direct PUT 200, complete queued, ready after worker
message with attachment downloaded as the second chat member
repeated complete is idempotent
foreign complete: 404
complete before PUT: 409
wrong completion checksum: 409
oversized direct PUT: 403 from S3; complete: 409 (nothing stored)
same-size overwrite: last PUT wins, checksum verified
PASS: lab4 presigned upload flow
+11
View File
@@ -0,0 +1,11 @@
$ make test-queue
worker down: 202 queued, content 409, queued attachment linked, API restarted
worker restarted: ready, thumbnail and original downloadable, staging cleared
broker down: upload accepted into outbox
broker + relay recovered: queued job reached ready
stack restart: ready attachment and original preserved
worker down: reprocess pipeline 2 accepted, v1 audit event recorded, upload still queued
worker up: reprocessed upload reached ready at pipeline 2, v1 superseded
worker down: reprocess pipeline 3 refused, v1 job untouched
worker up: preserved upload reached ready at pipeline 1
PASS: lab5 async worker/broker durability
+8
View File
@@ -0,0 +1,8 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 scripts/lab5_track2.py --base-url "http://localhost:8080"
Dduplicate_before_effect rep=1: PASS
Dstale_version_after_v2 rep=1: PASS
Dduplicate_before_effect rep=2: PASS
Dstale_version_after_v2 rep=2: PASS
Dduplicate_before_effect rep=3: PASS
Dstale_version_after_v2 rep=3: PASS
PASS: track2 6/6 scenarios
+2
View File
@@ -0,0 +1,2 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 tests/smoke.py --base-url "http://localhost:8080"
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
+15
View File
@@ -0,0 +1,15 @@
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
mtusi-messenger-lab6-api-1 mtusi-messenger:lab6 "/usr/local/bin/mess…" api 59 seconds ago Up 57 seconds (healthy) 8080/tcp
mtusi-messenger-lab6-api-2 mtusi-messenger:lab6 "/usr/local/bin/mess…" api 59 seconds ago Up 57 seconds (healthy) 8080/tcp
mtusi-messenger-lab6-broker-1 rabbitmq:4.3.7-management-alpine@sha256:1528a88eebf2bc4d0ab7e9d5d9bc542e9bdf5e1b105e65848fcf8de5c2186528 "docker-entrypoint.s…" broker 3 hours ago Up 26 minutes (healthy) 4369/tcp, 5671-5672/tcp, 15671/tcp, 15691-15692/tcp, 25672/tcp, 127.0.0.1:15672->15672/tcp
mtusi-messenger-lab6-grafana-1 grafana/grafana:13.2.5@sha256:9f7aa1e1e3246aade5792d35a738049f7f32f89cd51d1956cf426a4e86268a84 "/run.sh" grafana 3 hours ago Up 31 minutes (healthy) 127.0.0.1:3000->3000/tcp
mtusi-messenger-lab6-lb-1 haproxy:3.2-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122 "docker-entrypoint.s…" lb 3 hours ago Up 26 minutes 127.0.0.1:8404->8404/tcp, 127.0.0.1:8080->80/tcp
mtusi-messenger-lab6-loki-1 grafana/loki:3.6.4@sha256:be31579ac047e9f78b81e48f3b69d3af709e7299b431d5aa78bcda43382f9511 "/usr/bin/loki -conf…" loki 3 hours ago Up 7 minutes 127.0.0.1:3100->3100/tcp
mtusi-messenger-lab6-otel-collector-1 otel/opentelemetry-collector-contrib:0.164.0@sha256:340c9ca6a36617084c6661bdc4f0fe92b7cda5a805d61673ec8db375fddc522b "/otelcol-contrib --…" otel-collector 31 minutes ago Up 56 seconds 4317-4318/tcp, 55679/tcp
mtusi-messenger-lab6-postgres-1 postgres:18-alpine@sha256:77f585114c32fbca283dc835b0596f4e52b51b4c6662d7810b2f4084f60a1873 "docker-entrypoint.s…" postgres 3 hours ago Up 5 minutes (healthy) 5432/tcp
mtusi-messenger-lab6-prometheus-1 prom/prometheus:v3.15.1@sha256:fa3302279710be2f21a8301ec17a8b4f2301fd829bd113839b3b6b02b6f191a2 "/bin/prometheus --c…" prometheus 59 seconds ago Up 59 seconds (healthy) 127.0.0.1:9090->9090/tcp
mtusi-messenger-lab6-redis-1 redis:7.4-alpine@sha256:858f009f9709ce576febc734aa78b8f6d624b82571f9ddb6bda4377c833b3499 "docker-entrypoint.s…" redis 3 hours ago Up 26 minutes (healthy) 6379/tcp
mtusi-messenger-lab6-relay-1 mtusi-messenger:lab6 "/usr/local/bin/relay" relay 59 seconds ago Up 57 seconds (healthy) 8080/tcp, 127.0.0.1:8082->8082/tcp
mtusi-messenger-lab6-seaweedfs-1 chrislusf/seaweedfs:3.80@sha256:1055999e08eed1789b0ae45d235126e4495e23d3fb9d6396293fd42539b1ae6a "/entrypoint.sh serv…" seaweedfs 3 hours ago Up 26 minutes (healthy) 7333/tcp, 8080/tcp, 8888/tcp, 9333/tcp, 18080/tcp, 18888/tcp, 19333/tcp, 127.0.0.1:8333->8333/tcp
mtusi-messenger-lab6-tempo-1 grafana/tempo:2.9.0@sha256:65a5789759435f1ef696f1953258b9bbdb18eb571d5ce711ff812d2e128288a4 "/tempo -config.file…" tempo 28 minutes ago Up 7 minutes 127.0.0.1:3200->3200/tcp
mtusi-messenger-lab6-worker-1 mtusi-messenger:lab6 "/usr/local/bin/work…" worker 59 seconds ago Up 57 seconds (healthy) 8080/tcp, 127.0.0.1:8081->8081/tcp
+20
View File
@@ -0,0 +1,20 @@
Telemetry storage down (local, 2026-11-04)
==========================================
$ docker compose --env-file .env stop loki tempo
Container mtusi-messenger-lab6-loki-1 Stopping
Container mtusi-messenger-lab6-tempo-1 Stopped
Container mtusi-messenger-lab6-loki-1 Stopped
$ make test
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 tests/smoke.py --base-url "http://localhost:8080"
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
$ collector queue after 20s
[{'metric': {'__name__': 'otelcol_exporter_queue_size', 'data_type': 'logs', 'exporter': 'otlp_http/loki', 'instance': 'otel-collector:8888', 'job': 'otel-collector-self'}, 'value': [1793810852.186, '21950']}, {'metric': {'__name__': 'otelcol_exporter_queue_size', 'data_type': 'traces', 'exporter': 'otlp_grpc/tempo', 'instance': 'otel-collector:8888', 'job': 'otel-collector-self'}, 'value': [1793810852.186, '47471']}]
$ RSS app/collector
mtusi-messenger-lab6-api-2 190.6MiB / 256MiB
mtusi-messenger-lab6-api-1 191.2MiB / 256MiB
mtusi-messenger-lab6-relay-1 15.76MiB / 128MiB
mtusi-messenger-lab6-worker-1 13.85MiB / 1GiB
mtusi-messenger-lab6-otel-collector-1 86.08MiB / 192MiB
$ docker compose start loki tempo
Container mtusi-messenger-lab6-loki-1 Started
Container mtusi-messenger-lab6-tempo-1 Started
+5
View File
@@ -0,0 +1,5 @@
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 scripts/check_evidence.py
PASS: evidence has no obvious secrets, signed URLs or bearer tokens
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 scripts/lab6_verify.py --base-url "http://localhost:8080"
NOTE: created request_id=lab6-verify-4bb0892c6612450eaaa6eef0fc44e854
PASS: lab6 strict telemetry gate (signals, trace/log correlation, labels, Grafana, rules, privacy sentinels)
+148
View File
@@ -0,0 +1,148 @@
{
"traces": [
{
"traceID": "ab5d63adca313645838a34fc3ad7f8ca",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802395453580634",
"durationMs": 331
},
{
"traceID": "5cf3ce94777116f51994548bcf747052",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802394113546330",
"durationMs": 684
},
{
"traceID": "280c2940aca363c6df3cdb2f96d49986",
"rootServiceName": "messenger-relay",
"rootTraceName": "job.requeue",
"startTimeUnixNano": "1793802302815608431",
"durationMs": 10295
},
{
"traceID": "2baabe5633a1fdffc903471dbf0ad125",
"rootServiceName": "<root span not yet received>",
"startTimeUnixNano": "1793802286828434101",
"durationMs": 26284
},
{
"traceID": "82ccdbe9637df43f06ffe9395c93b2c0",
"rootServiceName": "<root span not yet received>",
"startTimeUnixNano": "1793802283997651340",
"durationMs": 66
},
{
"traceID": "8f101cc3cd1062641cd9eaa83c59c643",
"rootServiceName": "messenger-relay",
"rootTraceName": "job.requeue",
"startTimeUnixNano": "1793802249508919589",
"durationMs": 1057
},
{
"traceID": "61b680a368c7eec86c2102ea3615e732",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802231049714535",
"durationMs": 6522
},
{
"traceID": "1767197f0752b7ebbfff4207d9ce968",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802229382459658",
"durationMs": 5632
},
{
"traceID": "3a1357d5589a82f6a6c0c39e705f3ecb",
"rootServiceName": "messenger-relay",
"rootTraceName": "job.requeue",
"startTimeUnixNano": "1793802226689471392",
"durationMs": 1053
},
{
"traceID": "74f025e1b6e88b5d9cfdc4f99069efdf",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802208176199125",
"durationMs": 6582
},
{
"traceID": "b9167e578de7e82af6e6105d5ec0a2e9",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802200775289740",
"durationMs": 4342
},
{
"traceID": "14e39e95e83064c0adfcba0877b44c49",
"rootServiceName": "messenger-relay",
"rootTraceName": "job.publish",
"startTimeUnixNano": "1793802200114468641",
"durationMs": 36
},
{
"traceID": "887eb29fbf7ad92e0c27c32e027f32b0",
"rootServiceName": "messenger-relay",
"rootTraceName": "job.publish",
"startTimeUnixNano": "1793802197116311702",
"durationMs": 9
},
{
"traceID": "5672c6454888c536c5f006c8266522a4",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802194349063459",
"durationMs": 2399
},
{
"traceID": "40ef0be37efbba23776a3dc2b83bd7f5",
"rootServiceName": "messenger-relay",
"rootTraceName": "job.publish",
"startTimeUnixNano": "1793802192116769803",
"durationMs": 1754
},
{
"traceID": "c16f04beae65b3b9f62855e8a7ea984e",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802188641651123",
"durationMs": 481
},
{
"traceID": "c7c01244d150f988c198e5b23767d8c2",
"rootServiceName": "messenger-relay",
"rootTraceName": "job.publish",
"startTimeUnixNano": "1793802186116479256",
"durationMs": 46
},
{
"traceID": "2abac52091c4e48c83f257b01c8b9afb",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802180136938542",
"durationMs": 987
},
{
"traceID": "c21959639cf799d78b3dd30fa8fb14cc",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802140038435535",
"durationMs": 108
},
{
"traceID": "b9e0d22c746e6dedefd32b6ea29682e0",
"rootServiceName": "messenger-api",
"rootTraceName": "POST /api/v1/chats/{chat_id}/attachments",
"startTimeUnixNano": "1793802138735163857",
"durationMs": 427
}
],
"metrics": {
"inspectedTraces": 3709,
"inspectedBytes": "595516",
"completedJobs": 1,
"totalJobs": 1
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
trace_id=280c2940aca363c6df3cdb2f96d49986
messenger-relay job.publish attempt=2 parent=BnhRFOI4G5c=
messenger-worker job.process attempt=2 parent=4J4JtxSlLP0=
@@ -0,0 +1,4 @@
{
"aborted_utc": "2026-11-04T19:13:03Z",
"error": "RuntimeError('warmup: load failed rc=1 failures=120')"
}
@@ -0,0 +1,37 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 4195.02,
"scheduled": 840,
"counters": {
"accepted": 145,
"ready": 145,
"failed": 120,
"messages": 672,
"uploads": 145,
"dropped": 0
},
"failures": 120,
"failure_samples": [
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/attachments: expected [202], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a7ba-a276-7cfc-8da8-7629b0bd07f2/messages: expected [201], received 401"
],
"latency_ms": {
"p50": 9.7,
"p95": 13.9,
"p99": 27.2
},
"ttr_ms": {
"p50": 661.2,
"p95": 1278.4,
"p99": 1288.2
}
}
+4
View File
@@ -0,0 +1,4 @@
observed_utc,alert,state,active_at,value,injection_utc
2026-11-04T23:06:11Z,DBPoolSaturated,pending,2026-11-04T23:02:48.187213033Z,"""3.3898419994644047e-03""",
2026-11-04T23:06:56Z,APIErrorBudgetSlowBurn,firing,2026-11-04T23:06:53.187213033Z,"""4.4048551292090836e-02""",
2026-11-04T23:07:46Z,DBPoolSaturated,resolved,,,
1 observed_utc alert state active_at value injection_utc
2 2026-11-04T23:06:11Z DBPoolSaturated pending 2026-11-04T23:02:48.187213033Z "3.3898419994644047e-03"
3 2026-11-04T23:06:56Z APIErrorBudgetSlowBurn firing 2026-11-04T23:06:53.187213033Z "4.4048551292090836e-02"
4 2026-11-04T23:07:46Z DBPoolSaturated resolved
+37
View File
@@ -0,0 +1,37 @@
{
"base_url": "http://localhost:8080",
"rate": 0.5,
"duration_s": 138.01,
"scheduled": 70,
"counters": {
"accepted": 3,
"ready": 3,
"failed": 62,
"messages": 56,
"uploads": 3,
"dropped": 0
},
"failures": 62,
"failure_samples": [
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a8d0-15a4-7499-8666-676db3cf53c8/messages: expected [201], received 503"
],
"latency_ms": {
"p50": 6.2,
"p95": 10.7,
"p99": 10.7
},
"ttr_ms": {
"p50": 327.8,
"p95": 329.0,
"p99": 329.0
}
}
+6
View File
@@ -0,0 +1,6 @@
{
"scenario": "burst",
"injection_utc": "2026-11-04T23:06:16Z",
"restore_utc": "2026-11-04T23:08:16Z",
"duration_seconds": 120
}
+52
View File
@@ -0,0 +1,52 @@
observed_utc,alert,state,active_at,value,injection_utc
2026-11-04T19:28:22Z,QueueMetricsStale,pending,2026-11-04T19:27:48.187213033Z,1e+00,
2026-11-04T19:28:32Z,QueueMetricsStale,resolved,,,
2026-11-04T19:28:52Z,TTRErrorBudgetFastBurn,firing,2026-11-04T19:28:38.187213033Z,3.3333333333333326e-01,
2026-11-04T19:29:22Z,TTRErrorBudgetFastBurn,resolved,,,
2026-11-04T20:28:04Z,DBPoolSaturated,pending,2026-11-04T20:27:58.187213033Z,1.3601139775513188e-02,
2026-11-04T20:33:05Z,DBPoolSaturated,firing,2026-11-04T20:27:58.187213033Z,3.3969814422903804e-03,
2026-11-04T20:33:05Z,DBPoolSaturated,resolved,,,
2026-11-04T20:36:05Z,DBPoolSaturated,resolved,,,
2026-11-04T21:00:36Z,DBPoolSaturated,pending,2026-11-04T21:00:33.187213033Z,2.0338983050847456e-02,2026-11-04T20:58:26Z
2026-11-04T21:05:36Z,DBPoolSaturated,resolved,,,2026-11-04T20:58:26Z
2026-11-04T21:13:56Z,APIErrorBudgetSlowBurn,firing,2026-11-04T21:13:53.187213033Z,3.044280442804428e-02,2026-11-04T21:10:21Z
2026-11-04T21:15:26Z,QueueMetricsStale,pending,2026-11-04T21:15:18.187213033Z,1e+00,2026-11-04T21:10:21Z
2026-11-04T21:15:36Z,APIErrorBudgetFastBurn,firing,2026-11-04T21:15:28.187213033Z,7.369323050556983e-02,2026-11-04T21:10:21Z
2026-11-04T21:17:26Z,QueueMetricsStale,firing,2026-11-04T21:15:18.187213033Z,1e+00,2026-11-04T21:10:21Z
2026-11-04T21:17:26Z,QueueMetricsStale,resolved,,,2026-11-04T21:10:21Z
2026-11-04T21:25:37Z,DBPoolSaturated,pending,2026-11-04T21:25:33.187213033Z,1.0169457052687956e-02,2026-11-04T21:10:21Z
2026-11-04T21:25:37Z,QueueMetricsStale,resolved,,,2026-11-04T21:10:21Z
2026-11-04T21:30:07Z,APIErrorBudgetFastBurn,resolved,,,2026-11-04T21:10:21Z
2026-11-04T21:30:37Z,DBPoolSaturated,firing,2026-11-04T21:25:33.187213033Z,3.389807526728633e-03,2026-11-04T21:10:21Z
2026-11-04T21:30:37Z,DBPoolSaturated,resolved,,,2026-11-04T21:10:21Z
2026-11-04T21:30:47Z,DBPoolSaturated,resolved,,,2026-11-04T21:10:21Z
2026-11-04T21:54:08Z,APIErrorBudgetSlowBurn,resolved,,,2026-11-04T21:10:21Z
2026-11-04T22:01:58Z,DBPoolSaturated,pending,2026-11-04T22:01:48.187213033Z,3.389853490532139e-03,2026-11-04T21:10:21Z
2026-11-04T22:06:49Z,DBPoolSaturated,resolved,,,2026-11-04T21:10:21Z
2026-11-04T22:25:40Z,DBPoolSaturated,pending,2026-11-04T22:25:33.187213033Z,6.779638035125306e-03,2026-11-04T21:10:21Z
2026-11-04T22:30:40Z,DBPoolSaturated,firing,2026-11-04T22:25:33.187213033Z,3.3897845452943018e-03,2026-11-04T22:30:24Z
2026-11-04T22:30:40Z,DBPoolSaturated,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:30:50Z,DBPoolSaturated,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:31:10Z,JobsOverdue,pending,2026-11-04T22:31:03.187213033Z,3e+00,2026-11-04T22:30:24Z
2026-11-04T22:32:10Z,DBPoolSaturated,pending,2026-11-04T22:32:03.187213033Z,3.3898649816777792e-03,2026-11-04T22:30:24Z
2026-11-04T22:32:40Z,QueueOldestJobAgeHigh,pending,2026-11-04T22:32:33.187213033Z,1.32959697e+02,2026-11-04T22:30:24Z
2026-11-04T22:33:10Z,JobsOverdue,firing,2026-11-04T22:31:03.187213033Z,2e+01,2026-11-04T22:30:24Z
2026-11-04T22:33:10Z,JobsOverdue,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:37:00Z,DBPoolSaturated,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:40:40Z,QueueOldestJobAgeCritical,pending,2026-11-04T22:40:33.187213033Z,6.12958759e+02,2026-11-04T22:30:24Z
2026-11-04T22:42:40Z,QueueOldestJobAgeHigh,firing,2026-11-04T22:32:33.187213033Z,7.32958909e+02,2026-11-04T22:30:24Z
2026-11-04T22:42:40Z,QueueOldestJobAgeHigh,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:45:41Z,JobsOverdue,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:45:41Z,QueueOldestJobAgeCritical,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:45:41Z,QueueOldestJobAgeHigh,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:46:21Z,TTRErrorBudgetFastBurn,firing,2026-11-04T22:46:18.187213033Z,1.5503875968992242e-01,2026-11-04T22:30:24Z
2026-11-04T22:47:31Z,TTRErrorBudgetFastBurn,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:47:41Z,TTRErrorBudgetFastBurn,firing,2026-11-04T22:47:33.187213033Z,1.5625e-01,2026-11-04T22:30:24Z
2026-11-04T22:48:31Z,TTRErrorBudgetFastBurn,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:49:11Z,TTRErrorBudgetFastBurn,firing,2026-11-04T22:49:03.187213033Z,1.6535433070866146e-01,2026-11-04T22:30:24Z
2026-11-04T22:49:31Z,TTRErrorBudgetFastBurn,resolved,,,2026-11-04T22:30:24Z
2026-11-04T22:58:11Z,TTRErrorBudgetFastBurn,firing,2026-11-04T22:58:08.187213033Z,1.640625e-01,2026-11-04T22:30:24Z
2026-11-04T22:58:21Z,TTRErrorBudgetFastBurn,resolved,,,2026-11-04T22:30:24Z
2026-11-04T23:02:42Z,TTRErrorBudgetFastBurn,firing,2026-11-04T23:02:38.187213033Z,1.6279069767441856e-01,2026-11-04T22:30:24Z
2026-11-04T23:02:52Z,DBPoolSaturated,pending,2026-11-04T23:02:48.187213033Z,3.389830508474576e-03,2026-11-04T22:30:24Z
2026-11-04T23:02:52Z,TTRErrorBudgetFastBurn,resolved,,,2026-11-04T22:30:24Z
1 observed_utc alert state active_at value injection_utc
2 2026-11-04T19:28:22Z QueueMetricsStale pending 2026-11-04T19:27:48.187213033Z 1e+00
3 2026-11-04T19:28:32Z QueueMetricsStale resolved
4 2026-11-04T19:28:52Z TTRErrorBudgetFastBurn firing 2026-11-04T19:28:38.187213033Z 3.3333333333333326e-01
5 2026-11-04T19:29:22Z TTRErrorBudgetFastBurn resolved
6 2026-11-04T20:28:04Z DBPoolSaturated pending 2026-11-04T20:27:58.187213033Z 1.3601139775513188e-02
7 2026-11-04T20:33:05Z DBPoolSaturated firing 2026-11-04T20:27:58.187213033Z 3.3969814422903804e-03
8 2026-11-04T20:33:05Z DBPoolSaturated resolved
9 2026-11-04T20:36:05Z DBPoolSaturated resolved
10 2026-11-04T21:00:36Z DBPoolSaturated pending 2026-11-04T21:00:33.187213033Z 2.0338983050847456e-02 2026-11-04T20:58:26Z
11 2026-11-04T21:05:36Z DBPoolSaturated resolved 2026-11-04T20:58:26Z
12 2026-11-04T21:13:56Z APIErrorBudgetSlowBurn firing 2026-11-04T21:13:53.187213033Z 3.044280442804428e-02 2026-11-04T21:10:21Z
13 2026-11-04T21:15:26Z QueueMetricsStale pending 2026-11-04T21:15:18.187213033Z 1e+00 2026-11-04T21:10:21Z
14 2026-11-04T21:15:36Z APIErrorBudgetFastBurn firing 2026-11-04T21:15:28.187213033Z 7.369323050556983e-02 2026-11-04T21:10:21Z
15 2026-11-04T21:17:26Z QueueMetricsStale firing 2026-11-04T21:15:18.187213033Z 1e+00 2026-11-04T21:10:21Z
16 2026-11-04T21:17:26Z QueueMetricsStale resolved 2026-11-04T21:10:21Z
17 2026-11-04T21:25:37Z DBPoolSaturated pending 2026-11-04T21:25:33.187213033Z 1.0169457052687956e-02 2026-11-04T21:10:21Z
18 2026-11-04T21:25:37Z QueueMetricsStale resolved 2026-11-04T21:10:21Z
19 2026-11-04T21:30:07Z APIErrorBudgetFastBurn resolved 2026-11-04T21:10:21Z
20 2026-11-04T21:30:37Z DBPoolSaturated firing 2026-11-04T21:25:33.187213033Z 3.389807526728633e-03 2026-11-04T21:10:21Z
21 2026-11-04T21:30:37Z DBPoolSaturated resolved 2026-11-04T21:10:21Z
22 2026-11-04T21:30:47Z DBPoolSaturated resolved 2026-11-04T21:10:21Z
23 2026-11-04T21:54:08Z APIErrorBudgetSlowBurn resolved 2026-11-04T21:10:21Z
24 2026-11-04T22:01:58Z DBPoolSaturated pending 2026-11-04T22:01:48.187213033Z 3.389853490532139e-03 2026-11-04T21:10:21Z
25 2026-11-04T22:06:49Z DBPoolSaturated resolved 2026-11-04T21:10:21Z
26 2026-11-04T22:25:40Z DBPoolSaturated pending 2026-11-04T22:25:33.187213033Z 6.779638035125306e-03 2026-11-04T21:10:21Z
27 2026-11-04T22:30:40Z DBPoolSaturated firing 2026-11-04T22:25:33.187213033Z 3.3897845452943018e-03 2026-11-04T22:30:24Z
28 2026-11-04T22:30:40Z DBPoolSaturated resolved 2026-11-04T22:30:24Z
29 2026-11-04T22:30:50Z DBPoolSaturated resolved 2026-11-04T22:30:24Z
30 2026-11-04T22:31:10Z JobsOverdue pending 2026-11-04T22:31:03.187213033Z 3e+00 2026-11-04T22:30:24Z
31 2026-11-04T22:32:10Z DBPoolSaturated pending 2026-11-04T22:32:03.187213033Z 3.3898649816777792e-03 2026-11-04T22:30:24Z
32 2026-11-04T22:32:40Z QueueOldestJobAgeHigh pending 2026-11-04T22:32:33.187213033Z 1.32959697e+02 2026-11-04T22:30:24Z
33 2026-11-04T22:33:10Z JobsOverdue firing 2026-11-04T22:31:03.187213033Z 2e+01 2026-11-04T22:30:24Z
34 2026-11-04T22:33:10Z JobsOverdue resolved 2026-11-04T22:30:24Z
35 2026-11-04T22:37:00Z DBPoolSaturated resolved 2026-11-04T22:30:24Z
36 2026-11-04T22:40:40Z QueueOldestJobAgeCritical pending 2026-11-04T22:40:33.187213033Z 6.12958759e+02 2026-11-04T22:30:24Z
37 2026-11-04T22:42:40Z QueueOldestJobAgeHigh firing 2026-11-04T22:32:33.187213033Z 7.32958909e+02 2026-11-04T22:30:24Z
38 2026-11-04T22:42:40Z QueueOldestJobAgeHigh resolved 2026-11-04T22:30:24Z
39 2026-11-04T22:45:41Z JobsOverdue resolved 2026-11-04T22:30:24Z
40 2026-11-04T22:45:41Z QueueOldestJobAgeCritical resolved 2026-11-04T22:30:24Z
41 2026-11-04T22:45:41Z QueueOldestJobAgeHigh resolved 2026-11-04T22:30:24Z
42 2026-11-04T22:46:21Z TTRErrorBudgetFastBurn firing 2026-11-04T22:46:18.187213033Z 1.5503875968992242e-01 2026-11-04T22:30:24Z
43 2026-11-04T22:47:31Z TTRErrorBudgetFastBurn resolved 2026-11-04T22:30:24Z
44 2026-11-04T22:47:41Z TTRErrorBudgetFastBurn firing 2026-11-04T22:47:33.187213033Z 1.5625e-01 2026-11-04T22:30:24Z
45 2026-11-04T22:48:31Z TTRErrorBudgetFastBurn resolved 2026-11-04T22:30:24Z
46 2026-11-04T22:49:11Z TTRErrorBudgetFastBurn firing 2026-11-04T22:49:03.187213033Z 1.6535433070866146e-01 2026-11-04T22:30:24Z
47 2026-11-04T22:49:31Z TTRErrorBudgetFastBurn resolved 2026-11-04T22:30:24Z
48 2026-11-04T22:58:11Z TTRErrorBudgetFastBurn firing 2026-11-04T22:58:08.187213033Z 1.640625e-01 2026-11-04T22:30:24Z
49 2026-11-04T22:58:21Z TTRErrorBudgetFastBurn resolved 2026-11-04T22:30:24Z
50 2026-11-04T23:02:42Z TTRErrorBudgetFastBurn firing 2026-11-04T23:02:38.187213033Z 1.6279069767441856e-01 2026-11-04T22:30:24Z
51 2026-11-04T23:02:52Z DBPoolSaturated pending 2026-11-04T23:02:48.187213033Z 3.389830508474576e-03 2026-11-04T22:30:24Z
52 2026-11-04T23:02:52Z TTRErrorBudgetFastBurn resolved 2026-11-04T22:30:24Z
+410
View File
@@ -0,0 +1,410 @@
[
[
"2026-11-04T19:28:22Z",
"QueueMetricsStale",
"pending",
"2026-11-04T19:27:48.187213033Z",
"1e+00",
""
],
[
"2026-11-04T19:28:32Z",
"QueueMetricsStale",
"resolved",
"",
"",
""
],
[
"2026-11-04T19:28:52Z",
"TTRErrorBudgetFastBurn",
"firing",
"2026-11-04T19:28:38.187213033Z",
"3.3333333333333326e-01",
""
],
[
"2026-11-04T19:29:22Z",
"TTRErrorBudgetFastBurn",
"resolved",
"",
"",
""
],
[
"2026-11-04T20:28:04Z",
"DBPoolSaturated",
"pending",
"2026-11-04T20:27:58.187213033Z",
"1.3601139775513188e-02",
""
],
[
"2026-11-04T20:33:05Z",
"DBPoolSaturated",
"firing",
"2026-11-04T20:27:58.187213033Z",
"3.3969814422903804e-03",
""
],
[
"2026-11-04T20:33:05Z",
"DBPoolSaturated",
"resolved",
"",
"",
""
],
[
"2026-11-04T20:36:05Z",
"DBPoolSaturated",
"resolved",
"",
"",
""
],
[
"2026-11-04T21:00:36Z",
"DBPoolSaturated",
"pending",
"2026-11-04T21:00:33.187213033Z",
"2.0338983050847456e-02",
"2026-11-04T20:58:26Z"
],
[
"2026-11-04T21:05:36Z",
"DBPoolSaturated",
"resolved",
"",
"",
"2026-11-04T20:58:26Z"
],
[
"2026-11-04T21:13:56Z",
"APIErrorBudgetSlowBurn",
"firing",
"2026-11-04T21:13:53.187213033Z",
"3.044280442804428e-02",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:15:26Z",
"QueueMetricsStale",
"pending",
"2026-11-04T21:15:18.187213033Z",
"1e+00",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:15:36Z",
"APIErrorBudgetFastBurn",
"firing",
"2026-11-04T21:15:28.187213033Z",
"7.369323050556983e-02",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:17:26Z",
"QueueMetricsStale",
"firing",
"2026-11-04T21:15:18.187213033Z",
"1e+00",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:17:26Z",
"QueueMetricsStale",
"resolved",
"",
"",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:25:37Z",
"DBPoolSaturated",
"pending",
"2026-11-04T21:25:33.187213033Z",
"1.0169457052687956e-02",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:25:37Z",
"QueueMetricsStale",
"resolved",
"",
"",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:30:07Z",
"APIErrorBudgetFastBurn",
"resolved",
"",
"",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:30:37Z",
"DBPoolSaturated",
"firing",
"2026-11-04T21:25:33.187213033Z",
"3.389807526728633e-03",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:30:37Z",
"DBPoolSaturated",
"resolved",
"",
"",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:30:47Z",
"DBPoolSaturated",
"resolved",
"",
"",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T21:54:08Z",
"APIErrorBudgetSlowBurn",
"resolved",
"",
"",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T22:01:58Z",
"DBPoolSaturated",
"pending",
"2026-11-04T22:01:48.187213033Z",
"3.389853490532139e-03",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T22:06:49Z",
"DBPoolSaturated",
"resolved",
"",
"",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T22:25:40Z",
"DBPoolSaturated",
"pending",
"2026-11-04T22:25:33.187213033Z",
"6.779638035125306e-03",
"2026-11-04T21:10:21Z"
],
[
"2026-11-04T22:30:40Z",
"DBPoolSaturated",
"firing",
"2026-11-04T22:25:33.187213033Z",
"3.3897845452943018e-03",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:30:40Z",
"DBPoolSaturated",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:30:50Z",
"DBPoolSaturated",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:31:10Z",
"JobsOverdue",
"pending",
"2026-11-04T22:31:03.187213033Z",
"3e+00",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:32:10Z",
"DBPoolSaturated",
"pending",
"2026-11-04T22:32:03.187213033Z",
"3.3898649816777792e-03",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:32:40Z",
"QueueOldestJobAgeHigh",
"pending",
"2026-11-04T22:32:33.187213033Z",
"1.32959697e+02",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:33:10Z",
"JobsOverdue",
"firing",
"2026-11-04T22:31:03.187213033Z",
"2e+01",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:33:10Z",
"JobsOverdue",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:37:00Z",
"DBPoolSaturated",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:40:40Z",
"QueueOldestJobAgeCritical",
"pending",
"2026-11-04T22:40:33.187213033Z",
"6.12958759e+02",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:42:40Z",
"QueueOldestJobAgeHigh",
"firing",
"2026-11-04T22:32:33.187213033Z",
"7.32958909e+02",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:42:40Z",
"QueueOldestJobAgeHigh",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:45:41Z",
"JobsOverdue",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:45:41Z",
"QueueOldestJobAgeCritical",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:45:41Z",
"QueueOldestJobAgeHigh",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:46:21Z",
"TTRErrorBudgetFastBurn",
"firing",
"2026-11-04T22:46:18.187213033Z",
"1.5503875968992242e-01",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:47:31Z",
"TTRErrorBudgetFastBurn",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:47:41Z",
"TTRErrorBudgetFastBurn",
"firing",
"2026-11-04T22:47:33.187213033Z",
"1.5625e-01",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:48:31Z",
"TTRErrorBudgetFastBurn",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:49:11Z",
"TTRErrorBudgetFastBurn",
"firing",
"2026-11-04T22:49:03.187213033Z",
"1.6535433070866146e-01",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:49:31Z",
"TTRErrorBudgetFastBurn",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:58:11Z",
"TTRErrorBudgetFastBurn",
"firing",
"2026-11-04T22:58:08.187213033Z",
"1.640625e-01",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T22:58:21Z",
"TTRErrorBudgetFastBurn",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T23:02:42Z",
"TTRErrorBudgetFastBurn",
"firing",
"2026-11-04T23:02:38.187213033Z",
"1.6279069767441856e-01",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T23:02:52Z",
"DBPoolSaturated",
"pending",
"2026-11-04T23:02:48.187213033Z",
"3.389830508474576e-03",
"2026-11-04T22:30:24Z"
],
[
"2026-11-04T23:02:52Z",
"TTRErrorBudgetFastBurn",
"resolved",
"",
"",
"2026-11-04T22:30:24Z"
]
]
@@ -0,0 +1,26 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 1195.01,
"scheduled": 240,
"counters": {
"accepted": 48,
"ready": 48,
"failed": 0,
"messages": 192,
"uploads": 48,
"dropped": 0
},
"failures": 0,
"failure_samples": [],
"latency_ms": {
"p50": 4.7,
"p95": 7.0,
"p99": 21.0
},
"ttr_ms": {
"p50": 326.5,
"p95": 942.1,
"p99": 1247.4
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0",
"ttr_bad_5m": "0.08333333333333326",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
+37
View File
@@ -0,0 +1,37 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 715.01,
"scheduled": 144,
"counters": {
"accepted": 24,
"ready": 24,
"failed": 25,
"messages": 115,
"uploads": 24,
"dropped": 0
},
"failures": 25,
"failure_samples": [
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a85a-f8ac-7968-951c-0d94a6468bd7/attachments: expected [202], received 503"
],
"latency_ms": {
"p50": 5.0,
"p95": 7.7,
"p99": 27.8
},
"ttr_ms": {
"p50": 632.0,
"p95": 649.5,
"p99": 661.3
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"active": {
"api_error_5m": "0.06521739130434782",
"api_error_1h": "0.005059021922428331",
"api_error_30m": "0.010489510489510488",
"api_error_6h": "0.003196590303676079",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
},
"after": {
"api_error_5m": "0",
"api_error_1h": "0.021496130696474637",
"api_error_30m": "0.04504504504504504",
"api_error_6h": "0.012013455069678039",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
}
@@ -0,0 +1,26 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 1195.02,
"scheduled": 240,
"counters": {
"accepted": 48,
"ready": 48,
"failed": 0,
"messages": 192,
"uploads": 48,
"dropped": 0
},
"failures": 0,
"failure_samples": [],
"latency_ms": {
"p50": 4.8,
"p95": 7.0,
"p99": 8.2
},
"ttr_ms": {
"p50": 638.4,
"p95": 945.7,
"p99": 954.5
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0.04090909090909091",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0.15748031496062986",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
+58
View File
@@ -0,0 +1,58 @@
[
{
"phase": "warmup",
"started_utc": "2026-11-04T19:28:25Z",
"finished_utc": "2026-11-04T20:38:20Z",
"duration_s": 4195.3,
"injection_utc": "",
"restore_utc": ""
},
{
"phase": "baseline",
"started_utc": "2026-11-04T20:38:20Z",
"finished_utc": "2026-11-04T20:58:15Z",
"duration_s": 1195.6,
"injection_utc": "",
"restore_utc": ""
},
{
"phase": "burst",
"started_utc": "2026-11-04T20:58:16Z",
"finished_utc": "2026-11-04T21:10:11Z",
"duration_s": 715.6,
"injection_utc": "2026-11-04T20:58:26Z",
"restore_utc": "2026-11-04T21:00:26Z"
},
{
"phase": "sustained",
"started_utc": "2026-11-04T21:10:11Z",
"finished_utc": "2026-11-04T21:30:17Z",
"duration_s": 1206.0,
"injection_utc": "2026-11-04T21:10:21Z",
"restore_utc": "2026-11-04T21:25:27Z"
},
{
"phase": "resolution_wait",
"started_utc": "2026-11-04T21:30:17Z",
"finished_utc": "2026-11-04T22:30:14Z",
"duration_s": 3596.5,
"injection_utc": "",
"restore_utc": ""
},
{
"phase": "ttr",
"started_utc": "2026-11-04T22:30:14Z",
"finished_utc": "2026-11-04T22:45:44Z",
"duration_s": 930.8,
"injection_utc": "2026-11-04T22:30:24Z",
"restore_utc": "2026-11-04T22:45:24Z"
},
{
"phase": "false-positive",
"started_utc": "2026-11-04T22:45:44Z",
"finished_utc": "2026-11-04T23:05:40Z",
"duration_s": 1195.4,
"injection_utc": "",
"restore_utc": ""
}
]
@@ -0,0 +1,26 @@
{
"base_url": "http://localhost:8080",
"rate": 1.0,
"duration_s": 2.26,
"scheduled": 3,
"counters": {
"accepted": 2,
"ready": 2,
"failed": 0,
"messages": 1,
"uploads": 2,
"dropped": 0
},
"failures": 0,
"failure_samples": [],
"latency_ms": {
"p50": 4.7,
"p95": 4.7,
"p99": 4.7
},
"ttr_ms": {
"p50": 1240.4,
"p95": 1246.1,
"p99": 1246.1
}
}
@@ -0,0 +1,26 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 3595.96,
"scheduled": 720,
"counters": {
"accepted": 145,
"ready": 145,
"failed": 0,
"messages": 575,
"uploads": 145,
"dropped": 0
},
"failures": 0,
"failure_samples": [],
"latency_ms": {
"p50": 4.5,
"p95": 7.6,
"p99": 13.1
},
"ttr_ms": {
"p50": 1243.8,
"p95": 1268.5,
"p99": 1274.7
}
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0",
"ttr_bad_5m": "0.08333333333333326",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0.06521739130434782",
"api_error_1h": "0.005059021922428331",
"api_error_30m": "0.010489510489510488",
"api_error_6h": "0.003196590303676079",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0.021496130696474637",
"api_error_30m": "0.04504504504504504",
"api_error_6h": "0.012013455069678039",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0.04090909090909091",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0.15748031496062986",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0.04090909090909091",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0.15748031496062986",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0.054344972433709636",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0.029850746268656716",
"api_error_1h": "0.024126455906821963",
"api_error_30m": "0.048739495798319335",
"api_error_6h": "0.01360863444392304",
"ttr_bad_5m": "0.08333333333333326",
"ttr_bad_1h": "0.007194244604316502",
"queue_oldest": "0.443175",
"queue_depth": "1",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0.04081632653061224",
"api_error_1h": "0.19291705498602052",
"api_error_30m": "0.3614931237721022",
"api_error_6h": "0.08614232209737828",
"ttr_bad_5m": "0.09341449406517988",
"ttr_bad_1h": "0.009615384615384581",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0.04438250428816467",
"ttr_bad_5m": null,
"ttr_bad_1h": "0.15564521484105343",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
@@ -0,0 +1,12 @@
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
+82
View File
@@ -0,0 +1,82 @@
# Full Track 2 run
Phases:
```json
[
{
"phase": "warmup",
"started_utc": "2026-11-04T19:28:25Z",
"finished_utc": "2026-11-04T20:38:20Z",
"duration_s": 4195.3,
"injection_utc": "",
"restore_utc": ""
},
{
"phase": "baseline",
"started_utc": "2026-11-04T20:38:20Z",
"finished_utc": "2026-11-04T20:58:15Z",
"duration_s": 1195.6,
"injection_utc": "",
"restore_utc": ""
},
{
"phase": "burst",
"started_utc": "2026-11-04T20:58:16Z",
"finished_utc": "2026-11-04T21:10:11Z",
"duration_s": 715.6,
"injection_utc": "2026-11-04T20:58:26Z",
"restore_utc": "2026-11-04T21:00:26Z"
},
{
"phase": "sustained",
"started_utc": "2026-11-04T21:10:11Z",
"finished_utc": "2026-11-04T21:30:17Z",
"duration_s": 1206.0,
"injection_utc": "2026-11-04T21:10:21Z",
"restore_utc": "2026-11-04T21:25:27Z"
},
{
"phase": "resolution_wait",
"started_utc": "2026-11-04T21:30:17Z",
"finished_utc": "2026-11-04T22:30:14Z",
"duration_s": 3596.5,
"injection_utc": "",
"restore_utc": ""
},
{
"phase": "ttr",
"started_utc": "2026-11-04T22:30:14Z",
"finished_utc": "2026-11-04T22:45:44Z",
"duration_s": 930.8,
"injection_utc": "2026-11-04T22:30:24Z",
"restore_utc": "2026-11-04T22:45:24Z"
},
{
"phase": "false-positive",
"started_utc": "2026-11-04T22:45:44Z",
"finished_utc": "2026-11-04T23:05:40Z",
"duration_s": 1195.4,
"injection_utc": "",
"restore_utc": ""
}
]
```
Final snapshot:
```json
{
"api_error_5m": "0",
"api_error_1h": "0",
"api_error_30m": "0",
"api_error_6h": "0.04090909090909091",
"ttr_bad_5m": "0",
"ttr_bad_1h": "0.15748031496062986",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
}
```
Aborted: False
Restored: True
@@ -0,0 +1,37 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 1195.02,
"scheduled": 240,
"counters": {
"accepted": 13,
"ready": 12,
"failed": 182,
"messages": 192,
"uploads": 13,
"dropped": 0
},
"failures": 182,
"failure_samples": [
"ready: Failure: GET /api/v1/attachments/01a1a865-e530-7199-bfbb-f394966c5da1: expected [200], received 401",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 401",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 503",
"Failure: POST /api/v1/chats/01a1a865-e526-7aba-ba9d-ec6d99010c13/messages: expected [201], received 503"
],
"latency_ms": {
"p50": 4.8,
"p95": 7.0,
"p99": 22.0
},
"ttr_ms": {
"p50": 630.2,
"p95": 644.2,
"p99": 644.2
}
}
+27
View File
@@ -0,0 +1,27 @@
{
"active": {
"api_error_5m": "0.029850746268656716",
"api_error_1h": "0.024126455906821963",
"api_error_30m": "0.048739495798319335",
"api_error_6h": "0.01360863444392304",
"ttr_bad_5m": "0.08333333333333326",
"ttr_bad_1h": "0.007194244604316502",
"queue_oldest": "0.443175",
"queue_depth": "1",
"jobs_overdue": "0",
"worker_busy": "0"
},
"after": {
"api_error_5m": "0.04081632653061224",
"api_error_1h": "0.19291705498602052",
"api_error_30m": "0.3614931237721022",
"api_error_6h": "0.08614232209737828",
"ttr_bad_5m": "0.09341449406517988",
"ttr_bad_1h": "0.009615384615384581",
"queue_oldest": "0",
"queue_depth": "0",
"jobs_overdue": "0",
"worker_busy": "0"
},
"queue_drained": true
}
+79
View File
@@ -0,0 +1,79 @@
# Track 2: полный прогон — TTD/TTR
Прогон: `scripts/lab6_track2_full.py`
Старт: `2026-11-04T19:28:25Z`; завершение: `2026-11-04T23:05:40Z`.
Стенд: 2 API, relay, worker, PostgreSQL, S3, RabbitMQ, OTel Collector,
Prometheus/Loki/Tempo/Grafana. Нагрузка: open-loop 0.2 req/s, 20% uploads,
базовый набор — 2 API-реплики.
## Warmup
- 70 минут, 840 запланированных операций: 672 сообщения, 168 uploads.
- `failed=0`, `dropped=0`; все 168 uploads дошли до `ready`.
- HTTP latency p50/p95/p99 = 5.3 / 10.1 / 15.1 ms.
- TTR p50/p95/p99 = 640.9 / 1246.4 / 1251.9 ms.
- Токен сессии обновлялся за 10 минут до TTL (иначе 70-минутный warmup
получал 401 после 60 минут; этот дефект harness исправлен).
## Burst: 2 минуты PostgreSQL pause
- Инъекция: `20:58:26Z`, восстановление: `21:00:26Z`.
- `DBPoolSaturated` дошёл только до `pending` в `21:00:36Z` (+2m10s),
`resolved` в `21:05:36Z`; **firing/page не было**.
- `APIErrorBudgetFastBurn`/`SlowBurn` не сработали.
- Снимок во время инъекции: `api_error_5m=6.52%`, `api_error_1h=0.51%`,
`api_error_30m=1.05%`; после восстановления `api_error_5m=0`,
`api_error_1h=2.15%`, `api_error_30m=4.50%`.
## Sustained: 15 минут PostgreSQL stop
- Инъекция: `21:10:21Z`; восстановление: `21:25:27Z`;
восстановление readiness/worker подтверждено.
- `APIErrorBudgetSlowBurn`: `firing` в `21:13:56Z` — **TTD 3m35s**
(215 s; alert `active_at=21:13:53Z`).
- `APIErrorBudgetFastBurn`: `firing` в `21:15:36Z` — **TTD 5m15s**
(315 s).
- `QueueMetricsStale`: pending `21:15:26Z`, firing `21:17:26Z`; это
следствие недоступности relay, не отдельный инцидент.
- Снимок во время инъекции: `api_error_5m=2.99%`, `api_error_1h=2.41%`,
`api_error_30m=4.87%`, `queue_oldest=0.44 s`, `queue_depth=1`.
- После восстановления: `api_error_5m=4.08%`, `api_error_1h=19.29%`,
`api_error_30m=36.15%`; `queue_drained=true`.
- `APIErrorBudgetSlowBurn` `resolved` в `21:54:08Z` — **TTR 43m47s**
от инъекции. Это время жизни 6h/30m burn-rate окон, а не время
восстановления процесса; фактическое readiness восстановлено в
`21:25:27Z` (+15m06s).
## TTR: worker остановлен на 15 минут
- Инъекция: `22:30:24Z`; worker восстановлен: `22:45:24Z`.
- `JobsOverdue`: pending `22:31:10Z` (+46 s), firing `22:33:10Z`
(+2m46s); resolved `22:45:41Z` (+17 s после восстановления worker,
+15m17s от инъекции).
- `QueueOldestJobAgeHigh`: pending `22:32:40Z` (+2m16s), firing
`22:42:40Z` (+12m16s); resolved `22:45:41Z`.
- `QueueOldestJobAgeCritical`: pending `22:40:40Z` (+10m16s); до restore
firing не успел; resolved `22:45:41Z`.
- `ttr-load.json`: 180 операций, 20 uploads accepted, 0 ready, 180 failed.
Это ожидаемо: worker остановлен, а клиент ждёт ready только 10 s;
фаза проверяет алерты и восстановление, а не перцентиль TTR.
## False-positive control
- Нормальная нагрузка: `22:45:44Z–23:05:40Z`, новых инъекций нет.
- `TTRErrorBudgetFastBurn` ещё срабатывал в `22:46:21Z–23:02:52Z`
(5 коротких firing/resolved) — это остаточный 1h TTR-бюджет от
предыдущей TTR-фазы, а не новый инцидент. Чистого «нулевого» окна
после TTR не было; ограничение зафиксировано в отчёте.
- Финальный снимок: `api_error_5m=0`, `api_error_30m=0`,
`api_error_1h=0`; `ttr_bad_5m=0`, `ttr_bad_1h=15.75%`;
`queue_oldest=0`, `queue_depth=0`, `jobs_overdue=0`, `worker_busy=0`.
## Ограничения измерений
- Burst и sustained используют один и тот же 1h/6h burn-rate ряд;
остаточные ошибки burst видны в 1h-окне (2.15% после burst), поэтому
sustained TTD — это обнаружение на уже частично израсходованном бюджете.
- `APIErrorBudgetSlowBurn` использует 6h+30m окна; его TTR не равен
времени восстановления сервиса.
- Все компоненты single-node; HA-поведение не заявляется.
+37
View File
@@ -0,0 +1,37 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 895.02,
"scheduled": 180,
"counters": {
"accepted": 20,
"ready": 0,
"failed": 180,
"messages": 0,
"uploads": 20,
"dropped": 0
},
"failures": 180,
"failure_samples": [
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline"
],
"latency_ms": {
"p50": null,
"p95": null,
"p99": null
},
"ttr_ms": {
"p50": null,
"p95": null,
"p99": null
}
}
@@ -0,0 +1,26 @@
{
"base_url": "http://localhost:8080",
"rate": 0.2,
"duration_s": 4195.02,
"scheduled": 840,
"counters": {
"accepted": 168,
"ready": 168,
"failed": 0,
"messages": 672,
"uploads": 168,
"dropped": 0
},
"failures": 0,
"failure_samples": [],
"latency_ms": {
"p50": 5.3,
"p95": 10.1,
"p99": 15.1
},
"ttr_ms": {
"p50": 640.9,
"p95": 1246.4,
"p99": 1251.9
}
}
+9
View File
@@ -0,0 +1,9 @@
Overdue alert evidence (local, 2026-11-04)
=========================================
Worker stopped, one upload accepted as queued.
At +30s: messenger_jobs_overdue = 0
At +150s: messenger_jobs_overdue = 1
At +180s: JobsOverdue = firing (for: 2m); QueueOldestJobAgeHigh = pending
Worker restarted; queue drained.
After drain: messenger_jobs_overdue = 0; Prometheus alerts = [].
This proves a firing -> resolved transition for the time-to-ready incident.
+26
View File
@@ -0,0 +1,26 @@
# Track 2 preregistered plan
Hypothesis: the multi-window fast burn (1h + 5m, 14.4×) stays silent for a
2-minute PostgreSQL burst and fires for a sustained 15-minute outage; the
slow-burn pair (6h + 30m, 6×) is validated synthetically because this stand
cannot accumulate six hours of live data in one run.
SLO windows: 7 days (Prometheus retention). API availability target 99.5%
(budget 50.4 min); time-to-ready target 99% ≤30s (budget 100.8 min).
Phases:
1. Calibrate open-loop upload/message rate; use ≤50% of measured capacity.
2. Warmup ≥70 min so the 1h burn window is full; baseline 20 min.
3. Burst: pause PostgreSQL 2 min. Expected: no fast page; a counterfactual
5m-only alert would have fired. Record edge SLI and per-route diagnostics.
4. Sustained: stop worker, stop PostgreSQL 15 min, restore both. Expected fast
page around 4m19s after injection; measure TTD and TTR_service separately
from TTR_alert (the 1h window clears later).
5. False-positive controls: 4xx traffic, 1% 5xx for 10 min, a 60–90s blip,
then normal load; count evaluations and firing events.
6. Runbook held-out check: another person gets only the alert name/time and uses
Grafana/Prometheus/Loki/Tempo; record transcript and time-to-cause.
Evidence files: `*-load.json`, `*-alerts.csv`, `*-phases.json`,
`runbook-check.md`, `summary.md`. `promtool test rules` covers slow-burn with
synthetic 6h series; no live slow-burn claim is made.
@@ -0,0 +1,6 @@
Debug burst only — not Track 2 evidence
======================================
This 20-second pause was run without the required ≥70-minute warmup. The 1h/6h
burn windows were therefore unfilled, so fast/slow alerts can appear early.
It proves the harness and CSV wiring, not the preregistered hypothesis. Use the
full `plan.md` sequence for an actual Track 2 result.
@@ -0,0 +1,5 @@
observed_utc,alert,state,active_at,value,injection_utc
2026-11-04T13:37:38Z,TTRErrorBudgetFastBurn,firing,2026-11-04T13:37:38.187213033Z,"""1e+00""",
2026-11-04T13:37:38Z,TTRErrorBudgetSlowBurn,firing,2026-11-04T13:37:38.187213033Z,"""1e+00""",
2026-11-04T13:37:43Z,APIErrorBudgetSlowBurn,firing,2026-11-04T13:37:43.187213033Z,"""3.896103896103897e-02""",
2026-11-04T13:37:48Z,APIErrorBudgetFastBurn,firing,2026-11-04T13:37:48.187213033Z,"""8.641975308641976e-02""",
1 observed_utc alert state active_at value injection_utc
2 2026-11-04T13:37:38Z TTRErrorBudgetFastBurn firing 2026-11-04T13:37:38.187213033Z "1e+00"
3 2026-11-04T13:37:38Z TTRErrorBudgetSlowBurn firing 2026-11-04T13:37:38.187213033Z "1e+00"
4 2026-11-04T13:37:43Z APIErrorBudgetSlowBurn firing 2026-11-04T13:37:43.187213033Z "3.896103896103897e-02"
5 2026-11-04T13:37:48Z APIErrorBudgetFastBurn firing 2026-11-04T13:37:48.187213033Z "8.641975308641976e-02"
@@ -0,0 +1,36 @@
{
"base_url": "http://localhost:8080",
"rate": 0.5,
"duration_s": 39.27,
"scheduled": 20,
"counters": {
"accepted": 8,
"ready": 8,
"failed": 12,
"messages": 0,
"uploads": 20
},
"failures": 12,
"failure_samples": [
"Failure: GET /api/v1/attachments/01a1a6c7-7870-7dcc-8438-627d4ec8d291: expected [200], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503",
"Failure: POST /api/v1/chats/01a1a6c7-68b6-783e-89fb-eb78cfc4f8de/attachments: expected [202], received 503"
],
"latency_ms": {
"p50": null,
"p95": null,
"p99": null
},
"ttr_ms": {
"p50": 1264.4,
"p95": 1281.0,
"p99": 1281.0
}
}
@@ -0,0 +1,6 @@
{
"scenario": "burst",
"injection_utc": "2026-11-04T13:37:33Z",
"restore_utc": "2026-11-04T13:37:53Z",
"duration_seconds": 20
}
+43
View File
@@ -0,0 +1,43 @@
env -u APP_ENV -u SERVER_HOST -u SERVER_PORT -u SERVER_READ_HEADER_TIMEOUT -u SERVER_READ_TIMEOUT -u SERVER_SHUTDOWN_TIMEOUT -u SERVER_MAX_BODY_BYTES -u LOG_LEVEL -u LOG_FORMAT -u POSTGRES_HOST -u POSTGRES_PORT -u POSTGRES_DATABASE -u POSTGRES_USER -u POSTGRES_PASSWORD -u POSTGRES_SSL_MODE -u POSTGRES_MAX_CONNS -u POSTGRES_MIN_CONNS -u POSTGRES_MAX_CONN_LIFETIME -u POSTGRES_MAX_CONN_IDLE_TIME -u POSTGRES_CONNECT_TIMEOUT -u POSTGRES_QUERY_TIMEOUT -u REDIS_ENABLED -u REDIS_HOST -u REDIS_PORT -u REDIS_PASSWORD -u REDIS_DB -u REDIS_MAX_RETRIES -u REDIS_DIAL_TIMEOUT -u REDIS_READ_TIMEOUT -u REDIS_WRITE_TIMEOUT -u REDIS_POOL_SIZE -u CACHE_ENABLED -u CACHE_CHAT_LIST_TTL -u CACHE_LOCK_TTL -u CACHE_LOCK_WAIT_TIMEOUT -u SESSION_TTL_SECONDS -u IDEMPOTENCY_TTL_SECONDS -u API_REPLICAS -u API_CPU_LIMIT -u API_MEM_LIMIT -u POSTGRES_MAX_CONNS -u POSTGRES_CPU_LIMIT -u POSTGRES_MEM_LIMIT -u LB_STATS_PORT -u S3_ENDPOINT -u S3_PUBLIC_ENDPOINT -u S3_PORT -u S3_REGION -u S3_BUCKET -u S3_ACCESS_KEY_ID -u S3_SECRET_ACCESS_KEY -u MAX_UPLOAD_BYTES -u MAX_IMAGE_PIXELS -u S3_PRESIGN_TTL -u S3_SWEEP_INTERVAL -u S3_SWEEP_GRACE -u BROKER_USER -u BROKER_PASSWORD -u BROKER_VHOST -u BROKER_URL -u BROKER_EXCHANGE -u BROKER_QUEUE -u BROKER_DLX -u BROKER_DLQ -u BROKER_MANAGEMENT_PORT -u BROKER_CPU_LIMIT -u BROKER_MEM_LIMIT -u WORKER_CONCURRENCY -u WORKER_PREFETCH -u WORKER_CPU_LIMIT -u WORKER_MEM_LIMIT -u WORKER_SHUTDOWN_TIMEOUT -u WORKER_HEALTH_PORT -u PROCESSING_PIPELINE_VERSION -u PROCESSING_MAX_ATTEMPTS -u PROCESSING_JOB_TIMEOUT -u PROCESSING_LEASE_TTL -u PROCESSING_HEARTBEAT -u PROCESSING_RETRY_BASE -u PROCESSING_RETRY_CAP -u OUTBOX_POLL_INTERVAL -u OUTBOX_CLAIM_TTL -u OUTBOX_BATCH -u OUTBOX_REAPER_INTERVAL -u OUTBOX_RECONCILE_AFTER -u OUTBOX_RETENTION -u RELAY_CPU_LIMIT -u RELAY_MEM_LIMIT -u RELAY_HEALTH_PORT -u STAGING_ORPHAN_GRACE -u STAGING_FAILED_RETENTION -u ADMISSION_MAX_PENDING_PER_USER -u ADMISSION_MAX_PENDING -u ADMISSION_MAX_STAGED_BYTES -u ADMISSION_MAX_CONCURRENT_UPLOADS -u OTEL_EXPORTER_OTLP_ENDPOINT -u OTEL_EXPORTER_OTLP_PROTOCOL -u OTEL_RESOURCE_ATTRIBUTES -u OTEL_METRIC_EXPORT_INTERVAL -u TELEMETRY_ENABLED -u PROMETHEUS_PORT -u LOKI_PORT -u TEMPO_PORT -u GRAFANA_PORT -u OTEL_COLLECTOR_CPU_LIMIT -u OTEL_COLLECTOR_MEM_LIMIT -u PROMETHEUS_CPU_LIMIT -u PROMETHEUS_MEM_LIMIT -u LOKI_CPU_LIMIT -u LOKI_MEM_LIMIT -u TEMPO_CPU_LIMIT -u TEMPO_MEM_LIMIT -u GRAFANA_CPU_LIMIT -u GRAFANA_MEM_LIMIT go test -race -shuffle=on -count=1 -timeout=5m ./...
? mtusi-messenger/cmd/jobctl [no test files]
? mtusi-messenger/cmd/messenger [no test files]
? mtusi-messenger/cmd/migrate [no test files]
? mtusi-messenger/cmd/relay [no test files]
? mtusi-messenger/cmd/s3init [no test files]
? mtusi-messenger/cmd/worker [no test files]
? mtusi-messenger/internal/broker [no test files]
ok mtusi-messenger/internal/config 3.198s
ok mtusi-messenger/internal/domain 5.063s
? mtusi-messenger/internal/failpoint [no test files]
ok mtusi-messenger/internal/health 9.434s
ok mtusi-messenger/internal/imagecheck 2.795s
ok mtusi-messenger/internal/imageproc 8.860s
ok mtusi-messenger/internal/logger 5.419s
? mtusi-messenger/internal/outbox [no test files]
ok mtusi-messenger/internal/platform/cache 7.191s
? mtusi-messenger/internal/platform/cache/mocks [no test files]
? mtusi-messenger/internal/platform/instanceid [no test files]
ok mtusi-messenger/internal/platform/objectstore 7.683s
ok mtusi-messenger/internal/platform/password 2.131s
ok mtusi-messenger/internal/platform/token 2.099s
ok mtusi-messenger/internal/service/attachment 9.423s
? mtusi-messenger/internal/service/attachment/mocks [no test files]
ok mtusi-messenger/internal/service/chat 9.939s
? mtusi-messenger/internal/service/chat/mocks [no test files]
ok mtusi-messenger/internal/service/message 10.300s
? mtusi-messenger/internal/service/message/mocks [no test files]
ok mtusi-messenger/internal/service/session 11.441s
? mtusi-messenger/internal/service/session/mocks [no test files]
ok mtusi-messenger/internal/service/user 10.787s
? mtusi-messenger/internal/service/user/mocks [no test files]
ok mtusi-messenger/internal/storage/postgres 11.786s
? mtusi-messenger/internal/storage/postgres/internal/sqlcgen [no test files]
? mtusi-messenger/internal/storage/postgres/migrations [no test files]
? mtusi-messenger/internal/storage/redis [no test files]
? mtusi-messenger/internal/storage/redis/mocks [no test files]
ok mtusi-messenger/internal/telemetry 12.820s
ok mtusi-messenger/internal/transport/rest 14.628s
? mtusi-messenger/internal/transport/rest/internal/oas [no test files]
? mtusi-messenger/internal/transport/rest/mocks [no test files]
? mtusi-messenger/internal/worker [no test files]
? mtusi-messenger/tools/specgen [no test files]
+18
View File
@@ -0,0 +1,18 @@
Worker stop scenario (local, 2026-11-04)
==========================================
$ ./scripts/stop-worker.sh
Container mtusi-messenger-lab6-worker-1 Stopped
$ python3 scripts/lab6_load.py --rate 1 --duration 3 --upload-ratio 1 --deadline 3
(three upload requests were accepted as 202; wait_ready timed out because no worker)
$ max(messenger_queue_oldest_job_age_seconds) after 20s
{"value":"15.218417"} (seconds)
$ max(rabbitmq_queue_messages_ready{queue="attachment.process.v1"})
{"value":"3"}
$ ./scripts/start-worker.sh
Container mtusi-messenger-lab6-worker-1 Healthy
$ max(messenger_queue_oldest_job_age_seconds) after drain
{"value":"0"}
$ max(rabbitmq_queue_messages_ready{queue="attachment.process.v1"}) after drain
{"value":"0"}
Business result: accepted jobs were not lost; worker drain made them ready.
Logs: `job claimed`/`attachment ready` include trace_id; job_id is redacted; bodies and filenames are absent.
+30
View File
@@ -0,0 +1,30 @@
{
"base_url": "http://localhost:8080",
"rate": 1.0,
"duration_s": 5.12,
"scheduled": 3,
"counters": {
"accepted": 3,
"ready": 0,
"failed": 3,
"messages": 0,
"uploads": 3,
"dropped": 0
},
"failures": 3,
"failure_samples": [
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline",
"ready: Failure: attachment did not become ready within test deadline"
],
"latency_ms": {
"p50": null,
"p95": null,
"p99": null
},
"ttr_ms": {
"p50": null,
"p95": null,
"p99": null
}
}