<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.21.0" />

OpenTelemetry.Exporter.IOtlpExporterOptions

Describes the OpenTelemetry Protocol (OTLP) exporter options shared by all signals.

Gets or sets the compression method to use when sending telemetry.

Uri Endpoint { get; set; }

Gets or sets the target to which the exporter is going to send telemetry.

string Headers { get; set; }

Gets or sets optional headers for the connection.

Gets or sets the factory function called to create the HttpClient instance that will be used at runtime to transmit telemetry over HTTP. The returned instance will be reused for all export invocations.

Gets or sets the OTLP transport protocol.

int TimeoutMilliseconds { get; set; }

Gets or sets the max waiting time (in milliseconds) for the backend to process each batch. Default value: 10000.