Skip to content

Http

const Http: Struct<{
compression: withDecodingDefaultKey<
Literals<readonly ["none", "gzip"]>,
never
>
exportInterval: withDecodingDefaultKey<
Union<readonly [Finite, FiniteFromString]>,
never
>
headers: withDecodingDefaultKey<
$Record<String, RedactedFromValue<String>>,
never
>
maxBatchSize: withDecodingDefaultKey<
Union<readonly [Int, FiniteFromString]>,
never
>
resource: withDecodingDefaultKey<
Struct<{
attributes: withDecodingDefaultKey<
$Record<String, Codec<Json, Json, never, never>>,
never
>
serviceVersion: withDecodingDefaultKey<String, never>
}>,
never
>
serialization: withDecodingDefaultKey<
Literals<readonly ["json", "protobuf"]>,
never
>
serviceName: String
shutdownTimeout: withDecodingDefaultKey<
Union<readonly [Finite, FiniteFromString]>,
never
>
url: String
}>

Defined in: Config.ts:12

Options supported by Effect’s OTLP/HTTP tracer. Durations are milliseconds.