Package io.opentelemetry.sdk.common
Class InstrumentationScopeInfoBuilder
java.lang.Object
io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
A builder for
InstrumentationScopeInfo
.- Since:
- 1.18.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Attributes
private final String
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Return aInstrumentationScopeInfo
with 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 aInstrumentationScopeInfo
with the configuration of this builder.
-