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
- Since:
- 5.0.4
- Author:
- Gary Russell, Artem Bilan
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final io.micrometer.core.instrument.MeterRegistry
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Build the timer.description(String desc) Add the description.Add a tag.
- 
Field Details- 
meterRegistryprotected final io.micrometer.core.instrument.MeterRegistry meterRegistry
 
- 
- 
Method Details- 
tagDescription copied from interface:MetricsCaptor.TimerBuilderAdd a tag.- Specified by:
- tagin interface- MetricsCaptor.TimerBuilder
- Parameters:
- key- the key.
- value- the value.
- Returns:
- the builder.
 
- 
descriptionDescription copied from interface:MetricsCaptor.TimerBuilderAdd the description.- Specified by:
- descriptionin interface- MetricsCaptor.TimerBuilder
- Parameters:
- desc- the description.
- Returns:
- the builder.
 
- 
buildDescription copied from interface:MetricsCaptor.TimerBuilderBuild the timer.- Specified by:
- buildin interface- MetricsCaptor.TimerBuilder
- Returns:
- the timer.
 
 
-