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.
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.