observe

suspend fun observe(value: Double)

Observes a value and updates the summary metrics accordingly. This method is thread-safe and can be called concurrently.

Parameters

value

The value to observe. Must be a finite double.

Throws

if the value is NaN or infinite.