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 Type
    Method
    Description
    Iterable<io.micrometer.core.instrument.Tag>
    Provides tags to be associated with the LongTaskTimer which instruments the given long-running event.
    Iterable<io.micrometer.core.instrument.Tag>
    Provides tags to be associated with metrics for the given event.
  • Method Details

    • httpRequestTags

      Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(RequestEvent event)
      Provides tags to be associated with metrics for the given event.
      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 the LongTaskTimer which instruments the given long-running event.
      Parameters:
      event - the request event
      Returns:
      tags to associate with metrics recorded for the request