Class MicrometerMetricsCaptor.MicroTimerBuilder
java.lang.Object
org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.MicroTimerBuilder
- All Implemented Interfaces:
MetricsCaptor.TimerBuilder
- Enclosing class:
- MicrometerMetricsCaptor
protected static class MicrometerMetricsCaptor.MicroTimerBuilder
extends Object
implements MetricsCaptor.TimerBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final io.micrometer.core.instrument.MeterRegistry -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the timer.description(String desc) Add the description.Add a tag.
-
Field Details
-
meterRegistry
protected final io.micrometer.core.instrument.MeterRegistry meterRegistry
-
-
Method Details
-
tag
Description copied from interface:MetricsCaptor.TimerBuilderAdd a tag.- Specified by:
tagin interfaceMetricsCaptor.TimerBuilder- Parameters:
key- the key.value- the value.- Returns:
- the builder.
-
description
Description copied from interface:MetricsCaptor.TimerBuilderAdd the description.- Specified by:
descriptionin interfaceMetricsCaptor.TimerBuilder- Parameters:
desc- the description.- Returns:
- the builder.
-
build
Description copied from interface:MetricsCaptor.TimerBuilderBuild the timer.- Specified by:
buildin interfaceMetricsCaptor.TimerBuilder- Returns:
- the timer.
-