ExporterConfig

zio.blocks.telemetry.otel.ExporterConfig
final case class ExporterConfig(endpoint: String = ..., headers: Map[String, String] = ..., timeout: Duration = ..., maxQueueSize: Int = ..., maxBatchSize: Int = ..., flushIntervalMillis: Long = ...)

Configuration for OTLP JSON exporters.

Value parameters

endpoint

collector base URL (default http://localhost:4318)

flushIntervalMillis

milliseconds between automatic background flushes

headers

extra HTTP headers sent with every export (e.g. auth tokens); redacted in toString

maxBatchSize

maximum items sent in a single export request

maxQueueSize

maximum items buffered before oldest are dropped

timeout

connect and read timeout per HTTP request

Attributes

Source
ExporterConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
ExporterConfig.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala