Package io.opentelemetry.api.metrics
Interface SynchronousInstrumentBuilder
-
- All Superinterfaces:
InstrumentBuilder
- All Known Subinterfaces:
DoubleCounterBuilder
,DoubleUpDownCounterBuilder
,DoubleValueRecorderBuilder
,LongCounterBuilder
,LongUpDownCounterBuilder
,LongValueRecorderBuilder
public interface SynchronousInstrumentBuilder extends InstrumentBuilder
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.InstrumentBuilder
setDescription, setUnit
-
-
-
-
Method Detail
-
build
SynchronousInstrument<?> build()
Description copied from interface:InstrumentBuilder
Builds and returns aInstrument
with the desired options.- Specified by:
build
in interfaceInstrumentBuilder
- Returns:
- a
Instrument
with the desired options.
-
-