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
Currently, there seems to be no way to add array or key-value attributes using the --attrs argument.
For example, the attribute container.image.tags has a type of string[] (documentation).
It would be helpful to enable creating spans with array attributes such as otel-cli span --attrs "container.image.tags=[aaa,bbb]"
Alternatively, introducing a new argument such as --attrs-json to allow specifying attributes in JSON would also be a viable.
The text was updated successfully, but these errors were encountered:
Hi,
Currently, there seems to be no way to add array or key-value attributes using the
--attrs
argument.For example, the attribute
container.image.tags
has a type ofstring[]
(documentation).It would be helpful to enable creating spans with array attributes such as
otel-cli span --attrs "container.image.tags=[aaa,bbb]"
Alternatively, introducing a new argument such as
--attrs-json
to allow specifying attributes in JSON would also be a viable.The text was updated successfully, but these errors were encountered: