mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
chore(dev): add local OpenTelemetry backend configuration
This commit is contained in:
parent
15458157b9
commit
60049936e3
2 changed files with 19 additions and 1 deletions
|
|
@ -78,6 +78,15 @@ services:
|
|||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
otel-lgtm:
|
||||
image: grafana/otel-lgtm:latest
|
||||
ports:
|
||||
- "${OTEL_GRPC_PORT:-4317}:4317"
|
||||
- "${OTEL_HTTP_PORT:-4318}:4318"
|
||||
- "${OTEL_GRAFANA_PORT:-3001}:3000"
|
||||
- "${OTEL_TEMPO_PORT:-3200}:3200"
|
||||
restart: unless-stopped
|
||||
|
||||
searxng:
|
||||
image: searxng/searxng:2026.3.13-3c1f68c59
|
||||
ports:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue