Class CamelServletObservationConvention

java.lang.Object
org.springframework.http.server.observation.DefaultServerRequestObservationConvention
org.qubership.integration.platform.engine.camel.metrics.CamelServletObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<org.springframework.http.server.observation.ServerRequestObservationContext>, org.springframework.http.server.observation.ServerRequestObservationConvention

@Component public class CamelServletObservationConvention extends org.springframework.http.server.observation.DefaultServerRequestObservationConvention
  • Field Summary

    Fields inherited from interface io.micrometer.observation.ObservationConvention

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micrometer.common.KeyValues
    getLowCardinalityKeyValues(org.springframework.http.server.observation.ServerRequestObservationContext context)
     

    Methods inherited from class org.springframework.http.server.observation.DefaultServerRequestObservationConvention

    exception, getContextualName, getHighCardinalityKeyValues, getName, httpUrl, method, outcome, status, uri

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.http.server.observation.ServerRequestObservationConvention

    supportsContext
  • Constructor Details

    • CamelServletObservationConvention

      @Autowired public CamelServletObservationConvention(GatewayHttpRegistry httpRegistry)
  • Method Details

    • getLowCardinalityKeyValues

      @NotNull public io.micrometer.common.KeyValues getLowCardinalityKeyValues(@NotNull org.springframework.http.server.observation.ServerRequestObservationContext context)
      Specified by:
      getLowCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<org.springframework.http.server.observation.ServerRequestObservationContext>
      Overrides:
      getLowCardinalityKeyValues in class org.springframework.http.server.observation.DefaultServerRequestObservationConvention