Class InstrumentationScopeInfoBuilder
java.lang.Object
io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
A builder for
InstrumentationScopeInfo.- Since:
- 1.18.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Attributesprivate final Stringprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Return aInstrumentationScopeInfowith the configuration of this builder.setAttributes(Attributes attributes) Set the attributes.setSchemaUrl(String schemaUrl) Set the schema URL.setVersion(String version) Set the version.
-
Field Details
-
name
-
version
-
schemaUrl
-
attributes
-
-
Constructor Details
-
InstrumentationScopeInfoBuilder
InstrumentationScopeInfoBuilder(String name)
-
-
Method Details
-
setVersion
Set the version. -
setSchemaUrl
Set the schema URL. -
setAttributes
Set the attributes. -
build
Return aInstrumentationScopeInfowith the configuration of this builder.
-