feat(observability): integrate OpenTelemetry collector and configuration for enhanced telemetry

This commit is contained in:
Anish Sarkar 2026-05-23 00:17:23 +05:30
parent 51e4d8b489
commit df698e0216
6 changed files with 160 additions and 7 deletions

View file

@ -310,10 +310,9 @@ LANGSMITH_PROJECT=surfsense
# use http://otel-lgtm:4317 instead.
# OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
# OTEL_EXPORTER_OTLP_PROTOCOL=grpc # or http/protobuf
# OTEL_SERVICE_NAME=surfsense-backend
# OTEL_RESOURCE_ATTRIBUTES=deployment.environment=production
# OTEL_METRIC_EXPORT_INTERVAL=60000 # ms
# OTEL_SDK_DISABLED=false # spec kill-switch
# OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=production,service.namespace=surfsense
# OTEL_METRIC_EXPORT_INTERVAL=300000 # ms; 5 minutes
# OTEL_SDK_DISABLED=true # emergency kill-switch
# Skills + subagents
# SURFSENSE_ENABLE_SKILLS=false