Class MetricRecorder<I>

java.lang.Object
org.elasticsearch.telemetry.MetricRecorder<I>
Type Parameters:
I - The supertype of the registered instrument.

public class MetricRecorder<I> extends Object
Container for registered Instruments (either Instrument or Otel's versions). Records invocations of the Instruments as Measurements.