类 LatencyHistogram

java.lang.Object
org.apache.pulsar.client.impl.metrics.LatencyHistogram

public class LatencyHistogram extends Object
  • 字段详细资料

  • 方法详细资料

    • withAttributes

      public LatencyHistogram withAttributes(io.opentelemetry.api.common.Attributes attributes)
      Create a new histograms that inherits the old histograms attributes and adds new ones.
    • recordSuccess

      public void recordSuccess(long latencyNanos)
    • recordFailure

      public void recordFailure(long latencyNanos)