Class ExtendedDefaultMeter.NoopDoubleHistogramBuilder
java.lang.Object
io.opentelemetry.api.incubator.metrics.ExtendedDefaultMeter.NoopDoubleHistogramBuilder
- All Implemented Interfaces:
ExtendedDoubleHistogramBuilder,DoubleHistogramBuilder
- Enclosing class:
ExtendedDefaultMeter
private static class ExtendedDefaultMeter.NoopDoubleHistogramBuilder
extends Object
implements ExtendedDoubleHistogramBuilder
-
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.api.metrics.DoubleHistogramBuilder
setExplicitBucketBoundariesAdviceMethods inherited from interface io.opentelemetry.api.incubator.metrics.ExtendedDoubleHistogramBuilder
setAttributesAdvice
-
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.
-