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