OtlpHttpEdge
constructor(client: HttpClient, endpoint: String, store: DurableStore, maxSentIds: Int = DEFAULT_MAX_SENT_IDS, wire: OtlpWireFormat = OtlpWireFormat.JSON)
Parameters
client
caller-owned Ktor HttpClient — it owns the engine, timeouts, TLS, and any auth headers. kuilt does not create or close it.
endpoint
collector base URL, e.g. https://collector:4318. Any trailing / is trimmed, so .../:4318/ and .../:4318 are one collector. The sent-set StoreKey identifies the endpoint by a 128-bit SHA-256 tag rather than by the URL, so two collectors never share a sent-set, the key is a fixed width whatever the URL's length, and a URL carrying credentials never reaches a filename. Length is unconstrained here.
store
durable persistence for the per-endpoint sent-set.
maxSentIds
cap on the span/log sent-set size (drop-oldest). Metrics are naturally bounded by series count.
wire
OTLP wire encoding to emit. Defaults to OtlpWireFormat.JSON.