Package-level declarations
Types
Where WarpLogRecordExporter publishes the operations it applied.
Controls what happens when the in-memory CRDT buffer reaches maxSpans.
A span's position in kuilt's happens-before relation.
The result of a WarpOtlpBridge.drain call.
A durable, typed-key store that persists serialized CRDT state across process restarts.
The result of a WarpSpanExporter.export or WarpSpanExporter.merge call.
An in-process, non-durable DurableStore for tests and ephemeral scenarios.
Which log records the producer has already delivered to an OtlpEdge, keyed by LogRecord.recordId.
A single log-record shaped to round-trip through OTLP.
Controls what happens when the number of distinct metric series in WarpMetricExporter reaches maxMetrics.
A converged snapshot of every metric series a device holds — counters, gauges, distinct-count estimates, and quantile sketches — bundled into one value that replicates as a whole.
The value-version this producer last delivered for each metric series.
The result of a WarpMetricExporter mutating call.
The kind of measurement a metric tracks.
A single metric data point, rendered from a WarpMetricExporter CRDT (via MetricCatalog) into the shape OTLP puts on the wire. The bridge produces these; an OtlpEdge serializes them — the edge never reaches into the CRDTs directly.
An OTLP-capable edge that WarpOtlpBridge drains converged CRDTs into.
A compact summary of which spans this producer has already delivered to an OtlpEdge, keyed by span id.
A derived causal edge: span fromSpanId could have been caused by the predecessor span identified by linkedTraceId / linkedSpanId.
A completed span record, shaped to round-trip through OTLP.
OTLP span status.
A typed key for DurableStore entries.
Mints causal Dots for spans and tracks the current happens-before frontier.
A CRDT-backed log-record exporter.
A CRDT-backed metric exporter for cumulative sums, gauges, and cardinality estimates.
Drains converged CRDTs — spans, logs, and metrics — to an OTLP-capable OtlpEdge, reconciling each signal by its own producer-local digest so a re-drain sends only what the endpoint lacks.
A CRDT-backed span exporter.
A CRDT-backed, offline-first telemetry surface for Kotlin Multiplatform.
Properties
Default operations per persisted log segment — the ceiling on how many bytes one WarpLogRecordExporter.export rewrites.
Maximum number of LogRecords buffered in memory before eviction.
Default maximum number of distinct metric series buffered in memory.
Maximum number of SpanRecords buffered in memory before eviction.
The default OTLP scale for WarpMetricExporter histograms. Scale 5 gives α ≈ 1.083% — the closest OTLP-aligned accuracy to DDSketch.DEFAULT_RELATIVE_ACCURACY (1%), at ≈32 buckets per power of two.
Largest OTLP exponential-histogram scale (base 2^(2^−20) — ~0.000033% relative accuracy).
Smallest supported OTLP exponential-histogram scale (base 2^32, α ≈ 1 − 4.7·10⁻¹⁰). OTLP itself permits scales down to −10, but below −5 the equivalent DDSketch α rounds to 1.0 in a Double (and at −10 the base 2^1024 overflows entirely), so no valid sketch exists for those scales.
Functions
Derive SpanLinks from the happens-before relation recorded in each span's SpanRecord.causalStamp.
The integer OTLP scale whose base equals a DDSketch's bucket growth factor γ = (1+relativeAccuracy)/(1−relativeAccuracy) — the inverse of alphaForOtlpScale.