You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Attribute value 0x0 cast as integer instead of string and there is no way to specify type #373
I am trying to set an attribute with a string value 0x0, however regardless of the quote configuration I use, the value of the attribute is set as an integer with the value of 0.
For example --attrs key1="0x0" or --attrs 'key1=0x0'. There just seems to be no way for the attribute value to have a string type 0x0.
I am using otel-desktop-viewer to view the trace outputs.
changed the title [-]Some attribute values are cast as integers instead of strings and there is no way to specify type[/-][+]Attribute value `0x0` cast as integer instead of string and there is no way to specify type[/+]on Apr 17, 2025
This is probably because I have some automatic type coersion happening. I'm starting to pick up maintenance on a fork at https://github.com/tobert/otel-cli could you please submit the request there? Otherwise I'll try to get back here and look at this soon.
Activity
[-]Some attribute values are cast as integers instead of strings and there is no way to specify type[/-][+]Attribute value `0x0` cast as integer instead of string and there is no way to specify type[/+]tobert commentedon Apr 21, 2025
This is probably because I have some automatic type coersion happening. I'm starting to pick up maintenance on a fork at https://github.com/tobert/otel-cli could you please submit the request there? Otherwise I'll try to get back here and look at this soon.