ЛР 6: observability OpenTelemetry/Grafana

This commit is contained in:
2026-11-17 17:13:25 +03:00
parent 470d9d6f1e
commit 7a57ae41f4
45 changed files with 3300 additions and 33 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
Final grade-3 verification 2026-11-17T16:49:45.5842888+03:00
PASS scripts/check_contract.py
PASS smoke BASE_URL=http://127.0.0.1:8086
PASS persistence restart.cmd
Compose services up: lb api1 api2 worker postgres s3 broker otel-collector prometheus loki tempo grafana
Prometheus metrics present:
- messenger_http_requests_total
- messenger_http_request_duration_seconds_*
- messenger_jobs_processed_total
- messenger_job_duration_seconds_*
Tempo:
- messenger-api HTTP server traces
- messenger-worker worker.attachment.process
Loki:
- messenger-api http_request logs
- messenger-worker job_started/job_finished
Grafana provisioning:
- datasources: Prometheus, Loki, Tempo
- dashboard: /d/messenger-lab6/messenger-lab6-observability
Binary file not shown.
Binary file not shown.