Class DefaultMongoHandlerObservationConvention

java.lang.Object
org.springframework.data.mongodb.observability.DefaultMongoHandlerObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<MongoHandlerContext>, MongoHandlerObservationConvention

public class DefaultMongoHandlerObservationConvention extends Object implements MongoHandlerObservationConvention
Default MongoHandlerObservationConvention implementation.
Since:
4.0.0
Author:
Greg Turnquist
  • Constructor Details

    • DefaultMongoHandlerObservationConvention

      public DefaultMongoHandlerObservationConvention()
  • Method Details

    • getLowCardinalityKeyValues

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

      public io.micrometer.common.KeyValues getHighCardinalityKeyValues(MongoHandlerContext context)
      Specified by:
      getHighCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<MongoHandlerContext>