forked from mtusi2026/mtusi2026lab6
lab6
This commit is contained in:
+18
-3
@@ -158,11 +158,26 @@ ADMISSION_MAX_PENDING=200
|
||||
ADMISSION_MAX_STAGED_BYTES=2147483648
|
||||
ADMISSION_MAX_CONCURRENT_UPLOADS=8
|
||||
|
||||
# --- Lab6: observability (to implement) -------------------------------------
|
||||
# --- Lab6: observability -----------------------------------------------------
|
||||
# SDK/Collector settings; OTLP traffic must never carry message bodies,
|
||||
# attachment bytes, credentials or user/chat/message ids as metric labels.
|
||||
OTEL_SERVICE_NAME=messenger-api
|
||||
# worker and relay override this with a distinct service.name in compose.yaml.
|
||||
# Service names are set per service in compose.yaml (API/worker/relay must differ).
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
|
||||
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
|
||||
OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=lab
|
||||
OTEL_METRIC_EXPORT_INTERVAL=15000
|
||||
TELEMETRY_ENABLED=1
|
||||
PROMETHEUS_PORT=9090
|
||||
LOKI_PORT=3100
|
||||
TEMPO_PORT=3200
|
||||
GRAFANA_PORT=3000
|
||||
OTEL_COLLECTOR_CPU_LIMIT=0.25
|
||||
OTEL_COLLECTOR_MEM_LIMIT=192M
|
||||
PROMETHEUS_CPU_LIMIT=0.50
|
||||
PROMETHEUS_MEM_LIMIT=320M
|
||||
LOKI_CPU_LIMIT=0.50
|
||||
LOKI_MEM_LIMIT=320M
|
||||
TEMPO_CPU_LIMIT=0.25
|
||||
TEMPO_MEM_LIMIT=768M
|
||||
GRAFANA_CPU_LIMIT=0.25
|
||||
GRAFANA_MEM_LIMIT=512M
|
||||
|
||||
Reference in New Issue
Block a user