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

OpenTelemetry.Exporter.OtlpExportProtocol

public enum OtlpExportProtocol
Supported by OTLP exporter protocol types according to the specification https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md.
namespace OpenTelemetry.Exporter { public enum OtlpExportProtocol : byte { Grpc, HttpProtobuf } }