public class TomcatMetricsBinder extends Object implements ApplicationListener<ApplicationStartedEvent>, DisposableBean
TomcatMetrics
in response to the ApplicationStartedEvent
.Constructor and Description |
---|
TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry) |
TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry,
Iterable<io.micrometer.core.instrument.Tag> tags) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
onApplicationEvent(ApplicationStartedEvent event) |
public TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
public TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry, Iterable<io.micrometer.core.instrument.Tag> tags)
public void onApplicationEvent(ApplicationStartedEvent event)
onApplicationEvent
in interface ApplicationListener<ApplicationStartedEvent>
public void destroy()
destroy
in interface DisposableBean