Skip to content

Commit 532ae0e

Browse files
committed
doc
1 parent fb79875 commit 532ae0e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/opentelemetry.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,17 @@ OTEL_METRICS_EXPORTER=none
3131
# Force sampling while debugging
3232
OTEL_TRACES_SAMPLER=always_on
3333

34-
# Optional: increase verbosity
34+
# Increase verbosity
3535
OTEL_LOG_LEVEL=debug
3636

37-
# Optional: override the service name (defaults to opencollective-api)
37+
# Override the service name (defaults to opencollective-api)
3838
OTEL_SERVICE_NAME=opencollective-api
39+
40+
# Disable the SDK entirely
41+
OTEL_SDK_DISABLED=true
3942
```
4043

4144
Notes:
4245

4346
- The SDK defaults to `http://localhost:4318/v1/traces` when no traces endpoint is set.
4447
- If `OTEL_SERVICE_NAME` is not set, the bootstrap sets it to `opencollective-api`.
45-
- Sequelize spans are enabled via `@opentelemetry/instrumentation-sequelize` in `server/open-telemetry.ts`.

0 commit comments

Comments
 (0)