类 TomcatMetricsBinder

  • 所有已实现的接口:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>

    public class TomcatMetricsBinder
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
    Binds TomcatMetrics in response to the ApplicationStartedEvent.
    从以下版本开始:
    2.1.0
    • 构造器详细资料

      • TomcatMetricsBinder

        public TomcatMetricsBinder​(io.micrometer.core.instrument.MeterRegistry meterRegistry)
      • TomcatMetricsBinder

        public TomcatMetricsBinder​(io.micrometer.core.instrument.MeterRegistry meterRegistry,
                                   Iterable<io.micrometer.core.instrument.Tag> tags)
    • 方法详细资料

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.boot.context.event.ApplicationStartedEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>