Class LatencyHistogram
java.lang.Object
io.streamnative.oxia.client.metrics.LatencyHistogram
-
Method Summary
Modifier and TypeMethodDescriptionvoidrecordFailure(long latencyNanos) voidrecordSuccess(long latencyNanos) withAttributes(io.opentelemetry.api.common.Attributes attributes) Create a new histograms that inherits the old histograms attributes and adds new ones.
-
Method Details
-
withAttributes
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)
-