Skip to content
6 changes: 6 additions & 0 deletions docs/how-tos/chain-events/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ OTEL_ENABLED=true
OTEL_SERVICE_NAME=trustvc-chain-events
OTEL_EXPORTER_OTLP_ENDPOINT=https://your-otlp-endpoint
OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION=explicit_bucket_histogram
Comment thread
manishdex25 marked this conversation as resolved.
Outdated
```

### Optional Variables

| Variable | Default | Description |
|---|---|---|
| `OTEL_EXPORTER_OTLP_HEADERS` | — | Auth headers required by your backend (see examples below) |
| `OTEL_INSTANCE_ID` | `<hostname>-<pid>` | Custom instance identifier shown in metrics labels |
| `OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION` | — | Set to `explicit_bucket_histogram` for Prometheus-compatible histograms |
Expand Down
Loading