Closed Profpatsch closed 3 weeks ago
https://github.com/iand675/hs-opentelemetry/blob/02653bbfa286579be13cef17701da454ac3dfce1/api/src/OpenTelemetry/Attributes.hs#L92-L94
newAttrs should use attributeLengthLimit, otherwise attributes get cut at 128 bytes by default.
attributeLengthLimit
newAttrs = H.insert k (maybe id limitLengths attributeLengthLimit $ toAttribute v) attributes
https://github.com/iand675/hs-opentelemetry/blob/02653bbfa286579be13cef17701da454ac3dfce1/api/src/OpenTelemetry/Attributes.hs#L92-L94
newAttrs should use
attributeLengthLimit
, otherwise attributes get cut at 128 bytes by default.