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

OpenTelemetry.Trace.OtlpTraceExporterHelperExtensions

public static class OtlpTraceExporterHelperExtensions
Extension methods to simplify registering of the OpenTelemetry Protocol (OTLP) exporter.
namespace OpenTelemetry.Trace { public static class OtlpTraceExporterHelperExtensions { public static TracerProviderBuilder AddOtlpExporter(this TracerProviderBuilder builder); public static TracerProviderBuilder AddOtlpExporter(this TracerProviderBuilder builder, Action<OtlpExporterOptions> configure); public static TracerProviderBuilder AddOtlpExporter(this TracerProviderBuilder builder, string name, Action<OtlpExporterOptions> configure); } }