Connectum API Reference / @connectum/otel / getOTLPSettings
Function: getOTLPSettings()
getOTLPSettings():
OTLPSettings
Defined in: packages/otel/src/config.ts:65
Gets OTLP exporter settings from environment variables
Environment variables:
- OTEL_TRACES_EXPORTER: Trace exporter type (console|otlp/http|otlp/grpc|none)
- OTEL_METRICS_EXPORTER: Metric exporter type (console|otlp/http|otlp/grpc|none)
- OTEL_LOGS_EXPORTER: Logs exporter type (console|otlp/http|otlp/grpc|none)
Returns
OTLP settings object
