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
Modifier 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.TimerBuilder
Add a tag.- Specified by:
tag
in interfaceMetricsCaptor.TimerBuilder
- Parameters:
key
- the key.value
- the value.- Returns:
- the builder.
-
description
Description copied from interface:MetricsCaptor.TimerBuilder
Add the description.- Specified by:
description
in interfaceMetricsCaptor.TimerBuilder
- Parameters:
desc
- the description.- Returns:
- the builder.
-
build
Description copied from interface:MetricsCaptor.TimerBuilder
Build the timer.- Specified by:
build
in interfaceMetricsCaptor.TimerBuilder
- Returns:
- the timer.
-