mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
8cc86f25c0
The `unless` set operator can be used to return all vector elements from the LHS which do not match the elements on the RHS. A use case is to return all metrics for nodes which do not have a specific role: node_load1 unless on(instance) chef_role{role="app"} |
||
---|---|---|
.. | ||
aggregators.test | ||
functions.test | ||
histograms.test | ||
legacy.test | ||
literals.test | ||
operators.test | ||
selectors.test |