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 aInstrumentwith 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.BuilderBuilds and returns aInstrumentwith the desired options.- Specified by:
buildin interfaceInstrument.Builder- Returns:
- a
Instrumentwith the desired options.
-
-