Package io.opentelemetry.api.metrics
Interface SynchronousInstrument.Builder
-
- All Superinterfaces:
Instrument.Builder
- All Known Subinterfaces:
DoubleCounter.Builder
,DoubleUpDownCounter.Builder
,DoubleValueRecorder.Builder
,LongCounter.Builder
,LongUpDownCounter.Builder
,LongValueRecorder.Builder
- Enclosing interface:
- SynchronousInstrument<B extends SynchronousInstrument.BoundInstrument>
public static interface SynchronousInstrument.Builder extends Instrument.Builder
Builder class forSynchronousInstrument
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SynchronousInstrument<?>
build()
Builds and returns aInstrument
with the desired options.-
Methods inherited from interface io.opentelemetry.api.metrics.Instrument.Builder
setDescription, setUnit
-
-
-
-
Method Detail
-
build
SynchronousInstrument<?> 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.
-
-