ScoutApm.Logging.OTLP.Exporter (scout_apm v2.0.0)
Copy MarkdownHTTP transport for sending logs to an OTLP collector.
Sends log records via HTTP POST to the /v1/logs endpoint. Supports gzip compression for payloads over 1KB.
Summary
Functions
Exports a batch of log records to the configured OTLP endpoint. Returns :ok on success or {:error, reason} on failure.
Functions
@spec export([ScoutApm.Logging.LogRecord.t()]) :: :ok | {:error, term()}
Exports a batch of log records to the configured OTLP endpoint. Returns :ok on success or {:error, reason} on failure.