Skip to content

Connectum API Reference / @connectum/otel / getCollectorOptions

Function: getCollectorOptions() ​

getCollectorOptions(): CollectorOptions

Defined in: config.ts:118

Gets collector endpoint options from environment variables

Environment variables:

  • OTEL_EXPORTER_OTLP_ENDPOINT: Collector endpoint URL; empty is treated as not set

Returns ​

CollectorOptions

Collector options object