Interface: OTLPExporterConfig

@ottrelite/interop-otel.OTLPExporterConfig

Configuration options for the OTLP exporter.

Table of contents

Properties

Properties

caCertString

Optional caCertString: string

Custom CA SSL certificate for the exporter.


clientCertString

Optional clientCertString: string

Custom client SSL certificate for the exporter.


compression

Optional compression: OTLPExporterCompression

Compression used by the exporter.


endpoint

endpoint: string

The endpoint URL for the OTLP exporter. Must not end with the suffix (e.g. /traces or /metrics) - it will be added automatically.

Example

"http://localhost:4318/v1/"

headers

Optional headers: Record<string, string>

Headers for the HTTP exporter.

Remarks

This field is only applicable when the protocol is set to "http/protobuf".


protocol

Optional protocol: OTLPExporterProtocol

The protocol used by the OTLP exporter.


retryPolicyOptions

Optional retryPolicyOptions: RetryPolicyOptions

Options controlling how the exporter behaves in case of upload failures.


skipInsecureSSLVerification

Optional skipInsecureSSLVerification: boolean

Set to true to disable SSL.


timeoutMillis

Optional timeoutMillis: number

Export timeout in milliseconds.

Need to boost your app's performance?
We help React Native teams enhance speed, responsiveness, and efficiency.