Class RecordingMeterRegistry

java.lang.Object
org.elasticsearch.telemetry.RecordingMeterRegistry
All Implemented Interfaces:
MeterRegistry

public class RecordingMeterRegistry extends Object implements MeterRegistry
A MeterRegistry that records all instrument invocations. Tests can subclass this class and extend the build[Instrument] methods to do their own validations at instrument registration time and/or provide their own instruments.