Resource attributes
- Last Updated: October 14, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The resource attributes are key-value pairs that describe the entity generating telemetry data,
such as the service name, version, or location. You can configure these attributes using
the resource_attributes property in the configuration file. The values
you set for this property are attached to every OpenTelemetry (OTel) span to provide
context about source from which the telemetry originates.
The following example shows how to specify the
resource_attributes property in
the configuration file:
|
Note: If you do not specify this property, the
default value is set to the standard resource attribute
service.name with the value
OpenEdge.You can also set the resource attributes using OTel SDK standard environment variable,
OTEL_RESOURCE_ATTRIBUTES. For example:
|
Note: If the same resource attribute is defined in
both the configuration file and the
OTEL_RESOURCE_ATTRIBUTES
environment variable, the value in the configuration file takes precedence.