mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-27 05:31:01 +01:00
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"}