Class DefaultJerseyObservationConvention

java.lang.Object
org.glassfish.jersey.micrometer.server.DefaultJerseyObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<JerseyContext>, JerseyObservationConvention

public class DefaultJerseyObservationConvention extends Object implements JerseyObservationConvention
Default implementation for JerseyObservationConvention.
Since:
2.41
Author:
Marcin Grzejszczak
  • Constructor Details

    • DefaultJerseyObservationConvention

      public DefaultJerseyObservationConvention(String metricsName)
  • Method Details

    • getLowCardinalityKeyValues

      public io.micrometer.common.KeyValues getLowCardinalityKeyValues(JerseyContext context)
      Specified by:
      getLowCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<JerseyContext>
    • getName

      public String getName()
      Specified by:
      getName in interface io.micrometer.observation.ObservationConvention<JerseyContext>
    • getContextualName

      @Nullable public String getContextualName(JerseyContext context)
      Specified by:
      getContextualName in interface io.micrometer.observation.ObservationConvention<JerseyContext>