@@ -48,6 +48,32 @@ SECRET_KEY=please-change-me-to-a-long-random-string
4848# migrations & backfill jobs have run successfully.
4949VECTOR_SEARCH_ENABLED=false
5050
51+ # --------------------------------------------------------------------
52+ # Observability / Telemetry
53+ # --------------------------------------------------------------------
54+ # Enable or disable all observability integrations (Prometheus, OpenTelemetry, Loki).
55+ OBSERVABILITY_ENABLED=true
56+
57+ # --- OpenTelemetry (Traces & Metrics) --------------------------------
58+ # Base OTLP endpoint; for local docker-compose stack use http://localhost:4318
59+ OTEL_EXPORTER_OTLP_ENDPOINT=http://replace-me:4318
60+
61+ # Protocol can be "grpc" (4317) or "http" (4318). Only grpc supported right now.
62+ # OTEL_EXPORTER_OTLP_PROTOCOL=grpc
63+
64+ # Example auth header – uncomment if your collector expects mcp-token header.
65+ # OTEL_EXPORTER_OTLP_HEADERS=mcp-token=REPLACE_ME_TOKEN
66+
67+ # Toggle traces / metrics export (true/false)
68+ OTEL_TRACES_ENABLED=true
69+ OTEL_METRICS_ENABLED=false
70+
71+ # --- Loki -------------------------------------------------------------
72+ # Ship structured logs to Loki. Ensure logging-loki dependency installed.
73+ # LOKI_ENABLED=false
74+ # LOKI_ENDPOINT=http://loki:3100/loki/api/v1
75+ # LOKI_EXTRA_LABELS=team=backend,feature=killrvideo
76+
5177#######################################################################
5278# End of file
5379#######################################################################
0 commit comments