HttpSender

zio.blocks.telemetry.otel.HttpSender
See theHttpSender companion object
trait HttpSender

SPI for sending OTLP export payloads over HTTP. Implementations must be synchronous (blocking). Retry and backoff are handled by the caller (BatchProcessor). shutdown() should release any held resources (connections, thread pools).

Attributes

Companion
object
Source
HttpSender.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def send(url: String, headers: Map[String, String], body: Array[Byte]): HttpResponse

Attributes

Source
HttpSender.scala
def shutdown(): Unit

Attributes

Source
HttpSender.scala