Skip to content

Connectum API Reference / @connectum/otel / provider / ResourceAttributeInputs

Interface: ResourceAttributeInputs ​

Defined in: provider.ts:206

Inputs for buildResourceAttributes.

Properties ​

env? ​

optional env?: object

Defined in: provider.ts:213

Environment source (defaults to process.env).

OTEL_RESOURCE_ATTRIBUTES? ​

optional OTEL_RESOURCE_ATTRIBUTES?: string

OTEL_SERVICE_INSTANCE_ID? ​

optional OTEL_SERVICE_INSTANCE_ID?: string


instanceId? ​

optional instanceId?: string

Defined in: provider.ts:210


resourceAttributes? ​

optional resourceAttributes?: Record<string, string | number | boolean>

Defined in: provider.ts:211


serviceName ​

serviceName: string

Defined in: provider.ts:208

The final service name (see resolveServiceName); it is not overridden by OTEL_RESOURCE_ATTRIBUTES.


serviceVersion ​

serviceVersion: string

Defined in: provider.ts:209