Skip to main content

Module gauge

Module gauge 

Source
Expand description

A gauge metric is an instantaneous reading of a particular value (org.apache.kafka.common.metrics.Gauge).

Traits§

Gauge
A gauge metric is an instantaneous reading of a particular value.

Functions§

new
A Gauge that calls function, standing in for a Java lambda implementing Gauge (e.g. (config, now) -> metrics.size()): function is MetricValueProvider::value. A method Java adds later as an overload of value gets its own factory, with_<parameter>.