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

Serilog.Sinks.OpenTelemetry.Exporters.HttpExporter

Implements an IExporter that sends OpenTelemetry Log requests over HTTP using Protobuf encoding.
public HttpExporter(string logsEndpoint, string tracesEndpoint, IReadOnlyDictionary<string, string> headers, HttpMessageHandler httpMessageHandler = null)

Creates a new instance of an HttpExporter that writes an ExportLogsServiceRequest to a OTLP/HTTP endpoint as a protobuf payload.

public void Dispose()

public void Export(ExportLogsServiceRequest request)

public void Export(ExportTraceServiceRequest request)

Sends the given protobuf request containing OpenTelemetry logs to an OTLP/HTTP endpoint.

Sends the given protobuf request containing OpenTelemetry spans to an OTLP/HTTP endpoint.