Class LoggingMeasurementRecorder
java.lang.Object
dk.cloudcreate.essentials.shared.measurement.LoggingMeasurementRecorder
- All Implemented Interfaces:
MeasurementRecorder
A
MeasurementRecorder implementation that logs the measurement using configurable thresholds.-
Constructor Summary
ConstructorsConstructorDescriptionLoggingMeasurementRecorder(org.slf4j.Logger logger, LogThresholds thresholds) Constructs a new LoggingMeasurementRecorder. -
Method Summary
Modifier and TypeMethodDescriptionvoidrecord(MeasurementContext context, Duration duration) Records the given duration using the provided measurement context.
-
Constructor Details
-
Method Details