Class LatencyHistogram

java.lang.Object
io.streamnative.oxia.client.metrics.LatencyHistogram

public class LatencyHistogram extends Object
  • Method Details

    • 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)