Closed
Description
Describe the current state
The attributes are part of the hash used to put InstrumentationScope
as the key for meters and loggers in their respective providers' hashmpas.
What happens if attributes are equal, but placed in the different order? Is the hash going to change?
Theoretically, the same attributes set but in a different order should not produce a separate scope.
Describe the desired state
- understand if the has differs
- if it does, fix the hash calculation, likely by sorting the attributes by key (which is always a
[]const u8