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 aInstrumentwith the desired options.-
Methods inherited from interface io.opentelemetry.api.metrics.InstrumentBuilder
setDescription, setUnit
-
-
-
-
Method Detail
-
build
SynchronousInstrument<?> build()
Description copied from interface:InstrumentBuilderBuilds and returns aInstrumentwith the desired options.- Specified by:
buildin interfaceInstrumentBuilder- Returns:
- a
Instrumentwith the desired options.
-
-