mirror of
https://github.com/mauricioabh/arbpulse.git
synced 2026-07-28 08:07:43 +00:00
feat(observability): gate Sentry tracing spans behind SENTRY_TRACING
Spans are now created and exported to Sentry only when SENTRY_TRACING is enabled (default off), keeping 24/7 operation within the free-tier span quota. Error monitoring stays always-on. Includes OpenSpec change gate-sentry-spans (proposal, design, specs, tasks). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,6 +27,10 @@ RECORD_FEED=false
|
||||
|
||||
# Observability — https://sentry.io (project: arbpulse)
|
||||
SENTRY_DSN=
|
||||
# Tracing/spans gate — default off. Error monitoring is always on when SENTRY_DSN
|
||||
# is set; spans are only created/exported when SENTRY_TRACING is enabled. Kept off
|
||||
# by default so 24/7 operation stays within Sentry's free-tier span quota.
|
||||
SENTRY_TRACING=false
|
||||
# Structured logs (pino); correlation IDs on REST, SSE, and WS hot path
|
||||
LOG_LEVEL=info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user