Interface MetricsRenderer
-
- All Superinterfaces:
io.micrometer.core.instrument.binder.MeterBinder
- All Known Implementing Classes:
MetricsBinderRendererAdapter
public interface MetricsRenderer extends io.micrometer.core.instrument.binder.MeterBinderAn updatedableMeterBinderthat allows updates of metrics beyondMeterBinder.bindTo(MeterRegistry)This allows encapsulation of logic for doing things like callingCounter.increment()- Author:
- Adam Gibson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricsConfigconfig()The configuration for the metricsvoidupdateMetrics(java.lang.Object... args)Updates the metrics based on given arguments.
-
-
-
Method Detail
-
config
MetricsConfig config()
The configuration for the metrics- Returns:
-
updateMetrics
void updateMetrics(java.lang.Object... args)
Updates the metrics based on given arguments.- Parameters:
args-
-
-