feat(env): add SURFSENSE_ENV variable for deployment environment and update observability resource attributes

This commit is contained in:
Anish Sarkar 2026-05-23 02:13:24 +05:30
parent df698e0216
commit 4c8d47617d
4 changed files with 26 additions and 9 deletions

View file

@ -7,6 +7,9 @@
# SurfSense version (use "latest" or a specific version like "0.0.14")
SURFSENSE_VERSION=latest
# Deployment environment: dev or production
SURFSENSE_ENV=production
# ------------------------------------------------------------------------------
# Core Settings
# ------------------------------------------------------------------------------
@ -309,7 +312,7 @@ STT_SERVICE=local/base
# SURFSENSE_ENABLE_OTEL=true
# OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
# OTEL_EXPORTER_OTLP_PROTOCOL=grpc
# OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=production,service.namespace=surfsense
# OTEL_RESOURCE_ATTRIBUTES=service.namespace=surfsense
#
# Emergency kill switch.
# OTEL_SDK_DISABLED=true