When looking at OpenTelemetry’s docs on the types of attribute values, I stumbled upon this typespec:
unicode:unicode_binary() |
atom() |
number() |
boolean() |
[unicode:unicode_binary() | atom() | float() | integer() | boolean()] |
{unicode:unicode_binary() | atom() | float() | integer() | boolean()}.
Can somebody tell me what does the last one mean? Is it like “a tuple with a single element that can be of the following types”? Or does it mean a “a tuple with an arbitrary amount of elements, each of which can be of the following types”? Or is it something else?