Interface JerseyTagsProvider
-
- All Known Implementing Classes:
DefaultJerseyTagsProvider
public interface JerseyTagsProviderProvidesTagsfor Jersey request metrics.- Since:
- 2.41
- Author:
- Michael Weirauch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<io.micrometer.core.instrument.Tag>httpLongRequestTags(RequestEvent event)Provides tags to be associated with theLongTaskTimerwhich instruments the given long-runningevent.Iterable<io.micrometer.core.instrument.Tag>httpRequestTags(RequestEvent event)Provides tags to be associated with metrics for the givenevent.
-
-
-
Method Detail
-
httpRequestTags
Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(RequestEvent event)
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
Iterable<io.micrometer.core.instrument.Tag> httpLongRequestTags(RequestEvent event)
Provides tags to be associated with theLongTaskTimerwhich instruments the given long-runningevent.- Parameters:
event- the request event- Returns:
- tags to associate with metrics recorded for the request
-
-