Interface JerseyTagsProvider

All Known Implementing Classes:
DefaultJerseyTagsProvider

public interface JerseyTagsProvider
Provides Tags for Jersey request metrics.
Since:
1.8.0
  • Method Summary

    Modifier and Type
    Method
    Description
    httpLongRequestTags(org.glassfish.jersey.server.monitoring.RequestEvent event)
    Provides tags to be associated with the LongTaskTimer which instruments the given long-running event.
    httpRequestTags(org.glassfish.jersey.server.monitoring.RequestEvent event)
    Provides tags to be associated with metrics for the given event.
  • Method Details

    • httpRequestTags

      Iterable<Tag> httpRequestTags(org.glassfish.jersey.server.monitoring.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<Tag> httpLongRequestTags(org.glassfish.jersey.server.monitoring.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