Class OtelAttributes
java.lang.Object
codes.grow.packages.tempo.tracing.OtelAttributes
Converts SDK attribute values (
AttrValue: String, numbers, Boolean, lists, maps) into
OpenTelemetry Attributes. Integral numbers become longs, other numbers doubles; lists of
one primitive kind become array attributes, mixed lists string arrays; nested maps are flattened
with dotted keys ({"http": {"method": "GET"}} → http.method); null values
are skipped.-
Method Summary
-
Method Details
-
from
Converts a map.- Parameters:
attributes- attribute values (may benull)- Returns:
- OpenTelemetry attributes
-