Package io.opentelemetry.api.metrics
Interface AsynchronousInstrument.Builder
-
- All Superinterfaces:
Instrument.Builder
- All Known Subinterfaces:
DoubleSumObserver.Builder
,DoubleUpDownSumObserver.Builder
,DoubleValueObserver.Builder
,LongSumObserver.Builder
,LongUpDownSumObserver.Builder
,LongValueObserver.Builder
- Enclosing interface:
- AsynchronousInstrument<R extends AsynchronousInstrument.Result>
public static interface AsynchronousInstrument.Builder extends Instrument.Builder
Builder class forAsynchronousInstrument
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsynchronousInstrument<?>
build()
Builds and returns aInstrument
with the desired options.-
Methods inherited from interface io.opentelemetry.api.metrics.Instrument.Builder
setDescription, setUnit
-
-
-
-
Method Detail
-
build
AsynchronousInstrument<?> build()
Description copied from interface:Instrument.Builder
Builds and returns aInstrument
with the desired options.- Specified by:
build
in interfaceInstrument.Builder
- Returns:
- a
Instrument
with the desired options.
-
-