Configuration options

Table 1. Optional configuration options
key type default value description

certificate

 

Trusted certificates.

client.certificate

 

TLS certificate.

client.key

 

TLS client key.

compression

CompressionType (GZIP, NONE)

 

Compression the exporter uses.

Allowed values:

  • GZIP: GZIP compression.

  • NONE: No compression.

endpoint

URI

 

Endpoint of the collector to which the exporter should transmit.

headers

Map<string, string>

 

Headers added to each export message.

protocol

OtlpExporterProtocolType (HTTP_PROTO, GRPC)

OtlpExporterProtocolType.DEFAULT

Exporter protocol type.

Allowed values:

  • HTTP_PROTO: http/proto protocol type.

  • GRPC: grpc protocol type.

retry-policy

RetryPolicy

 

Retry policy.

timeout

Duration

 

Exporter timeout.