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

OpenTelemetry.Exporter.OtlpExporterOptions

OpenTelemetry Protocol (OTLP) exporter options.
public BatchExportProcessorOptions<Activity> BatchExportProcessorOptions { get; set; }

Gets or sets the BatchExportProcessor options. Ignored unless ExportProcessorType is Batch.

public OtlpExportCompression Compression { get; set; }

public Uri Endpoint { get; set; }

public ExportProcessorType ExportProcessorType { get; set; }

Gets or sets the export processor type to be used with the OpenTelemetry Protocol Exporter. The default value is Batch.

public string Headers { get; set; }

public Func<HttpClient> HttpClientFactory { get; set; }

public int MaxRequestSizeBytes { get; set; }

Gets or sets the maximum size, in bytes, of a request message the exporter will send. Default value: 67108864 (64 MiB).

public int MaxResponseSizeBytes { get; set; }

Gets or sets the maximum size, in bytes, of a response message the exporter will accept. Default value: 4194304 (4 MiB).

public OtlpExportProtocol Protocol { get; set; }

public int TimeoutMilliseconds { get; set; }

public string UserAgentProductIdentifier { get; set; }

Gets or sets a custom user agent identifier. This will be prepended to the default user agent string.

Initializes a new instance of the OtlpExporterOptions class.