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<LongWithAttributes> observer, MetricRecorder<Instrument> recorder) -
Method Summary
Methods inherited from class org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
close, run
Methods inherited from class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
call, getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.AutoCloseable
close
Methods inherited from interface org.elasticsearch.telemetry.metric.Instrument
getName
-
Constructor Details
-
RecordingLongGauge
public RecordingLongGauge(String name, Supplier<LongWithAttributes> observer, MetricRecorder<Instrument> recorder)
-