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

OpenTelemetry.Trace.OtlpTraceExporterHelperExtensions

public static class OtlpTraceExporterHelperExtensions
Extension methods to simplify registering of the OpenTelemetry Protocol (OTLP) exporter.
public static TracerProviderBuilder AddOtlpExporter(this TracerProviderBuilder builder)

Adds OpenTelemetry Protocol (OTLP) exporter to the TracerProvider.

public static TracerProviderBuilder AddOtlpExporter(this TracerProviderBuilder builder, Action<OtlpExporterOptions> configure)

Adds OpenTelemetry Protocol (OTLP) exporter to the TracerProvider.

public static TracerProviderBuilder AddOtlpExporter(this TracerProviderBuilder builder, string name, Action<OtlpExporterOptions> configure)

Adds OpenTelemetry Protocol (OTLP) exporter to the TracerProvider.