Package io.opentelemetry.sdk.common
Class InstrumentationScopeInfoBuilder
java.lang.Object
io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
A builder for
InstrumentationScopeInfo.- Since:
- 1.18.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Return aInstrumentationScopeInfowith the configuration of this builder.setAttributes(io.opentelemetry.api.common.Attributes attributes) Set the attributes.setSchemaUrl(String schemaUrl) Set the schema URL.setVersion(String version) Set the version.
-
Method Details
-
setVersion
Set the version. -
setSchemaUrl
Set the schema URL. -
setAttributes
public InstrumentationScopeInfoBuilder setAttributes(io.opentelemetry.api.common.Attributes attributes) Set the attributes. -
build
Return aInstrumentationScopeInfowith the configuration of this builder.
-