Loading lib/labkit/rate_limit/README.md +1 −3 Original line number Diff line number Diff line Loading @@ -182,9 +182,7 @@ used against non-String values (e.g. matching a 503 status against `{ re: '^5' } `oneOf` is set membership via `Set#include?` (`eql?`/`hash` equality, no coercion): it agrees with `eq` for Strings, Symbols, booleans, nil, and same-class numerics, but cross-type numerics differ (`1 == 1.0`, yet `{ oneOf: [1] }` does not match `1.0`). The name follows the runbooks' PromQL selector convention (`selectors.libsonnet`), avoiding the `in` keyword in languages labkit targets (Python). A bare Array is rejected; membership must `{ oneOf: [1] }` does not match `1.0`). A bare Array is rejected; membership must be spelled `{ oneOf: [...] }` explicitly. Glob and prefix matchers are intentionally out of scope. Loading Loading
lib/labkit/rate_limit/README.md +1 −3 Original line number Diff line number Diff line Loading @@ -182,9 +182,7 @@ used against non-String values (e.g. matching a 503 status against `{ re: '^5' } `oneOf` is set membership via `Set#include?` (`eql?`/`hash` equality, no coercion): it agrees with `eq` for Strings, Symbols, booleans, nil, and same-class numerics, but cross-type numerics differ (`1 == 1.0`, yet `{ oneOf: [1] }` does not match `1.0`). The name follows the runbooks' PromQL selector convention (`selectors.libsonnet`), avoiding the `in` keyword in languages labkit targets (Python). A bare Array is rejected; membership must `{ oneOf: [1] }` does not match `1.0`). A bare Array is rejected; membership must be spelled `{ oneOf: [...] }` explicitly. Glob and prefix matchers are intentionally out of scope. Loading