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 DoubleHistogram
private 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 recordinglong
values.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, wait
Methods inherited from interface io.opentelemetry.api.metrics.DoubleHistogramBuilder
setExplicitBucketBoundariesAdvice
Methods 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:DoubleHistogramBuilder
Sets the description for this instrument.- Specified by:
setDescription
in interfaceDoubleHistogramBuilder
- Parameters:
description
- The description.- See Also:
-
setUnit
Description copied from interface:DoubleHistogramBuilder
Sets the unit of measure for this instrument.- Specified by:
setUnit
in interfaceDoubleHistogramBuilder
- Parameters:
unit
- The unit. Instrument units must be 63 or fewer ASCII characters.- See Also:
-
ofLongs
Description copied from interface:DoubleHistogramBuilder
Sets the Counter for recordinglong
values.- Specified by:
ofLongs
in interfaceDoubleHistogramBuilder
-
build
Description copied from interface:DoubleHistogramBuilder
Builds and returns a Histogram instrument with the configuration.- Specified by:
build
in interfaceDoubleHistogramBuilder
- Returns:
- The Histogram instrument.
-