OtelAttributeValue¶
This docs was updated at: 2026-02-23
com.paragon.telemetry.otel.OtelAttributeValue ยท Record
OpenTelemetry attribute value wrapper supporting different value types. Only one of the value fields should be set.
Follows the OTLP specification for attribute values.
Methods¶
ofString¶
Creates a string attribute value.
ofBool¶
Creates a boolean attribute value.
ofInt¶
Creates an integer attribute value.
ofDouble¶
Creates a double attribute value.
of¶
Creates an attribute value from any object, inferring the correct type.