Skip to content

//misk-metrics-digester/misk.metrics.digester

Package-level declarations

Types

Name Summary
FakeDigest [jvm]
class FakeDigest : TDigest<FakeDigest>
Simulates VeneurDigest for testing purposes
MergingDigest [jvm]
class MergingDigest(compression: Double)
Provides an implementation of t-digest to be used to send histogram data
SlidingWindowDigest [jvm]
class SlidingWindowDigest<T : TDigest<T>>@JvmOverloadsconstructor(windower: Windower, tDigest: () -> T, utcNowClock: Clock = Clock.systemUTC())
SlidingWindowDigest approximates quantiles of data for a trailing time period. It is thread-safe.
Snapshot [jvm]
data class Snapshot(val quantileVals: List<Double>, val count: Long, val sum: Double)
Snapshot is the state of a SlidingWindowDigest at a point in time.
TDigest [jvm]
interface TDigest<T : TDigest<T>>
TDigest abstract common methods for t-digest implementations
VeneurDigest [jvm]
class VeneurDigest : TDigest<VeneurDigest>
Wraps an adapted t-digest implementation from Stripe’s Veneur project
Window [jvm]
data class Window(val start: ZonedDateTime, val end: ZonedDateTime)
Window represents a time range
WindowDigest [jvm]
data class WindowDigest<T : TDigest<T>>(val window: Window, val digest: T)
WindowDigest holds a t-digest whose data points are scoped to a specific time window.
Windower [jvm]
class Windower(windowSecs: Int, stagger: Int)
Windower contains multiple windows with a specified duration