Class MetricsApplicationEventListener
java.lang.Object
io.micrometer.core.instrument.binder.jersey.server.MetricsApplicationEventListener
- All Implemented Interfaces:
org.glassfish.jersey.server.monitoring.ApplicationEventListener
@Deprecated
public class MetricsApplicationEventListener
extends Object
implements org.glassfish.jersey.server.monitoring.ApplicationEventListener
Deprecated.
since 1.13.0 use the jersey-micrometer module in the Jersey project instead
The Micrometer
ApplicationEventListener which registers
RequestEventListener for instrumenting Jersey server requests.- Since:
- 1.8.0
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsApplicationEventListener(MeterRegistry registry, JerseyTagsProvider tagsProvider, String metricName, boolean autoTimeRequests) Deprecated.MetricsApplicationEventListener(MeterRegistry registry, JerseyTagsProvider tagsProvider, String metricName, boolean autoTimeRequests, AnnotationFinder annotationFinder) Deprecated. -
Method Summary
-
Constructor Details
-
MetricsApplicationEventListener
public MetricsApplicationEventListener(MeterRegistry registry, JerseyTagsProvider tagsProvider, String metricName, boolean autoTimeRequests) Deprecated. -
MetricsApplicationEventListener
public MetricsApplicationEventListener(MeterRegistry registry, JerseyTagsProvider tagsProvider, String metricName, boolean autoTimeRequests, AnnotationFinder annotationFinder) Deprecated.
-
-
Method Details
-
onEvent
public void onEvent(org.glassfish.jersey.server.monitoring.ApplicationEvent event) Deprecated.- Specified by:
onEventin interfaceorg.glassfish.jersey.server.monitoring.ApplicationEventListener
-
onRequest
public org.glassfish.jersey.server.monitoring.RequestEventListener onRequest(org.glassfish.jersey.server.monitoring.RequestEvent requestEvent) Deprecated.- Specified by:
onRequestin interfaceorg.glassfish.jersey.server.monitoring.ApplicationEventListener
-