Class RtStatComposite

java.lang.Object
org.apache.dubbo.metrics.report.AbstractMetricsExport
org.apache.dubbo.metrics.data.RtStatComposite
All Implemented Interfaces:
MetricsExport

public class RtStatComposite extends AbstractMetricsExport
The data container of the rt dimension, including application, service, and method levels, if there is no actual call to the existing call method, the key will not be displayed when exporting (to be optimized)
  • Constructor Details

  • Method Details

    • init

      public void init(MetricsPlaceValue... placeValues)
    • calcServiceKeyRt

      public void calcServiceKeyRt(String registryOpType, Long responseTime, Metric key)
    • calcServiceKeyRt

      public void calcServiceKeyRt(Invocation invocation, String registryOpType, Long responseTime)
    • calcMethodKeyRt

      public void calcMethodKeyRt(Invocation invocation, String registryOpType, Long responseTime)
    • export

      public List<MetricSample> export(MetricsCategory category)
      Description copied from interface: MetricsExport
      export all.
    • getRtStats

      public List<LongContainer<? extends Number>> getRtStats()
    • calSamplesChanged

      public boolean calSamplesChanged()
      Description copied from interface: MetricsExport
      Check if samples have been changed. Note that this method will reset the changed flag to false using CAS.
      Returns:
      true if samples have been changed