Class MicrometerHolder
java.lang.Object
org.springframework.kafka.support.micrometer.MicrometerHolder
A wrapper for micrometer timers when available on the class path.
- Since:
- 2.5
- Author:
- Gary Russell
-
Constructor Summary
ConstructorDescriptionMicrometerHolder
(ApplicationContext context, String name, String timerName, String timerDesc, Map<String, String> tags) Create an instance with the provided properties. -
Method Summary
-
Constructor Details
-
MicrometerHolder
public MicrometerHolder(@Nullable ApplicationContext context, String name, String timerName, String timerDesc, Map<String, String> tags) Create an instance with the provided properties.- Parameters:
context
- the application context from which to obtain the meter registry.name
- the value of the 'name' tag.timerName
- the timer name.timerDesc
- the timer description.tags
- additional tags.
-
-
Method Details