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
Because a key in a matchspec acts as a match and not an equality check the ets lookups based on keys using attributes in metrics will result in incorrect results. For example, an empty set of attributes #{} would match any metric, no matter the attributes it has, when used in an ets match/select.
I believe moving to a guard check will slow the key lookup down so we must convert attributes to a list when used in a metric key.
The text was updated successfully, but these errors were encountered:
Because a key in a matchspec acts as a match and not an equality check the ets lookups based on keys using attributes in metrics will result in incorrect results. For example, an empty set of attributes
#{}
would match any metric, no matter the attributes it has, when used in an ets match/select.I believe moving to a guard check will slow the key lookup down so we must convert attributes to a list when used in a metric key.
The text was updated successfully, but these errors were encountered: