Class ResourceModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ResourceModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class ResourceModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfigure resource attributes.Configure resource attributes.Configure resource schema URL.inthashCode()setAttributes(List<AttributeNameValueModel> attributes) setAttributesList(String attributesList) setExtensionProperty(String name, Object value) setSchemaUrl(String schemaUrl) toString()
-
Constructor Details
-
ResourceModel
public ResourceModel()
-
-
Method Details
-
getAttributes
Configure resource attributes. Entries have higher priority than entries from .resource.attributes_list.If omitted, no resource attributes are added.
-
setAttributes
-
getSchemaUrl
Configure resource schema URL.If omitted or null, no schema URL is used.
-
setSchemaUrl
-
getAttributesList
Configure resource attributes. Entries have lower priority than entries from .resource.attributes.The value is a list of comma separated key-value pairs matching the format of OTEL_RESOURCE_ATTRIBUTES. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration for details.
If omitted or null, no resource attributes are added.
-
setAttributesList
-
getExtensionProperties
-
setExtensionProperty
-
toString
-
hashCode
public int hashCode() -
equals
-