<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.20.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.
Grpc = 0

OTLP over gRPC (corresponds to 'grpc' Protocol configuration option). Used as default.

OTLP over HTTP with protobuf payloads (corresponds to 'http/protobuf' Protocol configuration option).