Interface JerseyTagsProvider
- All Known Implementing Classes:
DefaultJerseyTagsProvider
public interface JerseyTagsProvider
Provides
Tags
for Jersey request metrics.- Since:
- 1.8.0
-
Method Summary
Modifier and TypeMethodDescriptionhttpLongRequestTags
(org.glassfish.jersey.server.monitoring.RequestEvent event) Provides tags to be associated with theLongTaskTimer
which instruments the given long-runningevent
.httpRequestTags
(org.glassfish.jersey.server.monitoring.RequestEvent event) Provides tags to be associated with metrics for the givenevent
.
-
Method Details
-
httpRequestTags
Provides tags to be associated with metrics for the givenevent
.- Parameters:
event
- the request event- Returns:
- tags to associate with metrics recorded for the request
-
httpLongRequestTags
Provides tags to be associated with theLongTaskTimer
which instruments the given long-runningevent
.- Parameters:
event
- the request event- Returns:
- tags to associate with metrics recorded for the request
-