Skip to main content
zerotal

Documentation


Documentation / @zerotal/telemetry / OtlpExporterOptions

Interface: OtlpExporterOptions

Defined in: telemetry/src/exporters/OtlpExporter.ts:4

Properties

endpoint?

optional endpoint?: string

Defined in: telemetry/src/exporters/OtlpExporter.ts:6

OTLP HTTP/JSON endpoint. Default: 'http://localhost:4318/v1/traces'.


headers?

optional headers?: Record<string, string>

Defined in: telemetry/src/exporters/OtlpExporter.ts:8

Extra headers (e.g. { 'x-honeycomb-team': '<api-key>' }).


serviceName?

optional serviceName?: string

Defined in: telemetry/src/exporters/OtlpExporter.ts:10

Service name sent as a resource attribute.


serviceVersion?

optional serviceVersion?: string

Defined in: telemetry/src/exporters/OtlpExporter.ts:12

Service version sent as a resource attribute.