<PackageReference Include="Serilog.Sinks.OpenTelemetry" Version="4.2.0" />

Serilog.Sinks.OpenTelemetry.Exporters.GrpcExporter

Implements an IExporter that sends OpenTelemetry Log requests over gRPC.
public GrpcExporter(string logsEndpoint, string tracesEndpoint, IReadOnlyDictionary<string, string> headers, HttpMessageHandler httpMessageHandler = null)

Creates a new instance of a GrpcExporter that writes an ExportLogsServiceRequest to a gRPC endpoint.

public void Dispose()

public void Export(ExportLogsServiceRequest request)

public void Export(ExportTraceServiceRequest request)