R5SteadyStateDetector

A steady state detector for metrics, using R5SteadyStateDetector

Parameters

mean

The sample mean of the source metric

k

the number of crossings to wait for

period

the number of samples to look at before resetting the window

Inheritors

Constructors

Link copied to clipboard
constructor(mean: ContinuousMetric, k: Int, period: Int)

Functions

Link copied to clipboard
override fun isSteady(currentTime: Instant): Boolean

Takes a time and returns true if the metric is steady.