chore(dev): add local OpenTelemetry backend configuration

This commit is contained in:
Anish Sarkar 2026-05-21 23:00:56 +05:30
parent 15458157b9
commit 60049936e3
2 changed files with 19 additions and 1 deletions

View file

@ -303,8 +303,17 @@ LANGSMITH_PROJECT=surfsense
# SURFSENSE_ENABLE_BUSY_MUTEX=false
# SURFSENSE_ENABLE_LLM_TOOL_SELECTOR=false # adds a per-turn LLM call
# Observability — OTel (also requires OTEL_EXPORTER_OTLP_ENDPOINT)
# Observability - OTel
# SURFSENSE_ENABLE_OTEL=false
# OpenTelemetry - endpoint enables export; absent = no-op.
# Production should point at an OTel Collector. For local docker-compose.dev.yml,
# 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
# Skills + subagents
# SURFSENSE_ENABLE_SKILLS=false