Interface JerseyTagsProvider
- All Known Implementing Classes:
DefaultJerseyTagsProvider
public interface JerseyTagsProvider
Provides
Tags for Jersey request metrics.- Since:
- 2.41
- Author:
- Michael Weirauch
-
Method Summary
Modifier and TypeMethodDescriptionIterable<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 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 theLongTaskTimerwhich instruments the given long-runningevent.- Parameters:
event- the request event- Returns:
- tags to associate with metrics recorded for the request
-