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
Members list
In this article