Package org.elasticsearch.telemetry
Class RecordingInstruments.RecordingLongGauge
java.lang.Object
org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
org.elasticsearch.telemetry.RecordingInstruments.RecordingLongGauge
- All Implemented Interfaces:
AutoCloseable,Runnable,Instrument,LongGauge
- Enclosing class:
RecordingInstruments
public static class RecordingInstruments.RecordingLongGauge
extends RecordingInstruments.CallbackRecordingInstrument
implements LongGauge
-
Field Summary
Fields inherited from class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
name -
Constructor Summary
ConstructorsConstructorDescriptionRecordingLongGauge(String name, Supplier<Collection<LongWithAttributes>> observer, MetricRecorder<Instrument> recorder) -
Method Summary
Methods inherited from class org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
close, runMethods inherited from class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
call, getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.elasticsearch.telemetry.metric.Instrument
getName
-
Constructor Details
-
RecordingLongGauge
public RecordingLongGauge(String name, Supplier<Collection<LongWithAttributes>> observer, MetricRecorder<Instrument> recorder)
-