Class DefaultJerseyTagsProvider
java.lang.Object
org.glassfish.jersey.micrometer.server.DefaultJerseyTagsProvider
- All Implemented Interfaces:
JerseyTagsProvider
Default implementation for
JerseyTagsProvider
.- Since:
- 2.41
- Author:
- Michael Weirauch, Johnny Lim
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIterable<io.micrometer.core.instrument.Tag>
httpLongRequestTags
(RequestEvent event) Provides tags to be associated with theLongTaskTimer
which instruments the given long-runningevent
.Iterable<io.micrometer.core.instrument.Tag>
httpRequestTags
(RequestEvent event) Provides tags to be associated with metrics for the givenevent
.
-
Constructor Details
-
DefaultJerseyTagsProvider
public DefaultJerseyTagsProvider()
-
-
Method Details
-
httpRequestTags
Description copied from interface:JerseyTagsProvider
Provides tags to be associated with metrics for the givenevent
.- Specified by:
httpRequestTags
in interfaceJerseyTagsProvider
- Parameters:
event
- the request event- Returns:
- tags to associate with metrics recorded for the request
-
httpLongRequestTags
Description copied from interface:JerseyTagsProvider
Provides tags to be associated with theLongTaskTimer
which instruments the given long-runningevent
.- Specified by:
httpLongRequestTags
in interfaceJerseyTagsProvider
- Parameters:
event
- the request event- Returns:
- tags to associate with metrics recorded for the request
-