Class DefaultMeter.NoopDoubleHistogramBuilder
java.lang.Object
io.opentelemetry.api.metrics.DefaultMeter.NoopDoubleHistogramBuilder
- All Implemented Interfaces:
DoubleHistogramBuilder
- Enclosing class:
DefaultMeter
private static class DefaultMeter.NoopDoubleHistogramBuilder
extends Object
implements DoubleHistogramBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DoubleHistogramprivate static final LongHistogramBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns a Histogram instrument with the configuration.ofLongs()Sets the Counter for recordinglongvalues.setDescription(String description) Sets the description for this instrument.Sets the unit of measure for this instrument.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DoubleHistogramBuilder
setExplicitBucketBoundariesAdvice
-
Field Details
-
NOOP
-
NOOP_LONG_HISTOGRAM_BUILDER
-
-
Constructor Details
-
NoopDoubleHistogramBuilder
private NoopDoubleHistogramBuilder()
-
-
Method Details
-
setDescription
Description copied from interface:DoubleHistogramBuilderSets the description for this instrument.- Specified by:
setDescriptionin interfaceDoubleHistogramBuilder- Parameters:
description- The description.- See Also:
-
setUnit
Description copied from interface:DoubleHistogramBuilderSets the unit of measure for this instrument.- Specified by:
setUnitin interfaceDoubleHistogramBuilder- Parameters:
unit- The unit. Instrument units must be 63 or fewer ASCII characters.- See Also:
-
ofLongs
Description copied from interface:DoubleHistogramBuilderSets the Counter for recordinglongvalues.- Specified by:
ofLongsin interfaceDoubleHistogramBuilder
-
build
Description copied from interface:DoubleHistogramBuilderBuilds and returns a Histogram instrument with the configuration.- Specified by:
buildin interfaceDoubleHistogramBuilder- Returns:
- The Histogram instrument.
-