Only noticed this via inspection, didn't run into this in the real world.
OTEL_RESOURCE_ATTRIBUTES=abc=x+y should result in resource attribute with key abc and value x+y.
But because the implementation is using URLDecoder#decode
|
URLDecoder.decode(entry.getValue(), StandardCharsets.UTF_8.displayName())); |
+ is decoded as a space ( )
and this results in a resource attribute with key abc and value x y.