Class DefaultJerseyTagsProvider

    • Constructor Detail

      • DefaultJerseyTagsProvider

        public DefaultJerseyTagsProvider()
    • Method Detail

      • httpRequestTags

        public Iterable<io.micrometer.core.instrument.Tag> httpRequestTags​(RequestEvent event)
        Description copied from interface: JerseyTagsProvider
        Provides tags to be associated with metrics for the given event.
        Specified by:
        httpRequestTags in interface JerseyTagsProvider
        Parameters:
        event - the request event
        Returns:
        tags to associate with metrics recorded for the request
      • httpLongRequestTags

        public Iterable<io.micrometer.core.instrument.Tag> httpLongRequestTags​(RequestEvent event)
        Description copied from interface: JerseyTagsProvider
        Provides tags to be associated with the LongTaskTimer which instruments the given long-running event.
        Specified by:
        httpLongRequestTags in interface JerseyTagsProvider
        Parameters:
        event - the request event
        Returns:
        tags to associate with metrics recorded for the request