feat: add OpenTelemetry SDK, collector and telemetry stores
Collector (contrib), Prometheus, Loki, Tempo and Grafana with provisioning from git; SDK in API and worker with level 3 metrics, traces and logs carrying trace_id/span_id; telemetry off by default outside the stand; broker healthcheck runs as the broker user so a fresh stand starts once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -298,6 +298,10 @@ def main() -> int:
|
||||
container,
|
||||
"-e",
|
||||
f"DATABASE__NAME={test_db}",
|
||||
# временный прогон — без телеметрии: в Loki и Prometheus рабочего
|
||||
# стенда не попадает (design change otel-telemetry, решение 20)
|
||||
"-e",
|
||||
"TELEMETRY__ENABLED=false",
|
||||
"-p",
|
||||
f"127.0.0.1:{port}:{app_port}",
|
||||
"api",
|
||||
@@ -315,6 +319,8 @@ def main() -> int:
|
||||
worker,
|
||||
"-e",
|
||||
f"DATABASE__NAME={test_db}",
|
||||
"-e",
|
||||
"TELEMETRY__ENABLED=false",
|
||||
"worker",
|
||||
quiet=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user