OtelAttribute¶
This docs was updated at: 2026-02-23
com.paragon.telemetry.otel.OtelAttribute ยท Record
OpenTelemetry key-value attribute pair. Used for resources, scopes, and spans.
Follows the OTLP specification for attributes.
Methods¶
ofString¶
Creates a string attribute.
ofBool¶
Creates a boolean attribute.
ofInt¶
Creates an integer attribute.
ofDouble¶
Creates a double attribute.
of¶
Creates an attribute from any value, inferring the type.