Class ExtendedDefaultMeter.NoopLongHistogramBuilder
java.lang.Object
io.opentelemetry.api.incubator.metrics.ExtendedDefaultMeter.NoopLongHistogramBuilder
- All Implemented Interfaces:
ExtendedLongHistogramBuilder, LongHistogramBuilder
- Enclosing class:
ExtendedDefaultMeter
private static class ExtendedDefaultMeter.NoopLongHistogramBuilder
extends Object
implements ExtendedLongHistogramBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns a Histogram instrument with the configuration.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 ExtendedLongHistogramBuilder
setAttributesAdviceMethods inherited from interface LongHistogramBuilder
setExplicitBucketBoundariesAdvice
-
Field Details
-
NOOP
-
-
Constructor Details
-
NoopLongHistogramBuilder
private NoopLongHistogramBuilder()
-
-
Method Details
-
setDescription
Description copied from interface:LongHistogramBuilderSets the description for this instrument.- Specified by:
setDescriptionin interfaceLongHistogramBuilder- Parameters:
description- The description.- See Also:
-
setUnit
Description copied from interface:LongHistogramBuilderSets the unit of measure for this instrument.- Specified by:
setUnitin interfaceLongHistogramBuilder- Parameters:
unit- The unit. Instrument units must be 63 or fewer ASCII characters.- See Also:
-
build
Description copied from interface:LongHistogramBuilderBuilds and returns a Histogram instrument with the configuration.- Specified by:
buildin interfaceLongHistogramBuilder- Returns:
- The Histogram instrument.
-