Class MicrometerServerMetricsContext

java.lang.Object
org.apache.cxf.metrics.micrometer.MicrometerServerMetricsContext
All Implemented Interfaces:
MetricsContext

public class MicrometerServerMetricsContext extends Object
  • Constructor Details

  • Method Details

    • start

      public void start(Exchange ex)
      Description copied from interface: MetricsContext
      Will be called at the start of invoke (or when added to a started MessageMetrics). This is when the metrics should increment "inFlight" counts and other stats. There is no need to record a "start time" as the invoke time will be passed into the stop method.
    • stop

      public void stop(long timeInNS, long inSize, long outSize, Exchange ex)
      Description copied from interface: MetricsContext
      Called when the invocation is complete.
    • getAllTags

      protected Iterable<io.micrometer.core.instrument.Tag> getAllTags(Exchange ex)
    • record

      protected void record(org.apache.cxf.metrics.micrometer.MicrometerMetricsContext.TimingContext timingContext, Exchange ex)
    • start

      protected void start(Message request, Exchange ex)
    • stop

      protected void stop(Message request, long timeInNS, long inSize, long outSize, Exchange ex)
    • getAllTags

      protected Iterable<io.micrometer.core.instrument.Tag> getAllTags(Exchange ex, boolean client)
    • record

      protected void record(org.apache.cxf.metrics.micrometer.MicrometerMetricsContext.TimingContext timingContext, Exchange ex, boolean client)