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
Add "get[Low|High]CardinalityKeyValue()" on "Observation.Context"
Add two new methods `getLowCardinalityKeyValue` and
`getHighCardinalityKeyValue`.
Also, changes the internal holder from `Set` to `Map`.
Prior to this change, the usage of `LinkedHashSet` allowed multiple
`KeyValue`s with the same key. It was deduped when converted to
`KeyValues`, but it is not an ideal implementation.
This change replaces the `LinkedHashSet` with `LinkedHashMap` using the
key from `KeyValue` as a map key. This way, when a new `KeyValue` is
added, it will override the old `KeyValue` with the same key.
0 commit comments