Class DefaultServerRequestObservationConvention

java.lang.Object
io.micronaut.micrometer.observation.http.server.instrumentation.DefaultServerRequestObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<ServerRequestObservationContext>, ServerRequestObservationConvention

@Internal public final class DefaultServerRequestObservationConvention extends Object implements ServerRequestObservationConvention
  • Constructor Details

    • DefaultServerRequestObservationConvention

      public DefaultServerRequestObservationConvention()
      Create a convention with the default name "http.server.requests".
    • DefaultServerRequestObservationConvention

      public DefaultServerRequestObservationConvention(String name)
      Create a convention with a custom name.
      Parameters:
      name - the observation name
  • Method Details