Commit 5635079b authored by Ralf's avatar Ralf
Browse files

include all gateways in summed rules

parent 71b3a1ea
......@@ -2,13 +2,13 @@ groups:
- name: summed_traffic
rules:
- record: total_traffic_rx_bits_per_second
expr: 'sum(rate(statistics_traffic{mtype="user",type="rx",nodeid!~"ca:fe:ba:be:00:..|eeeeeeee00.."}[3m]))*8'
expr: 'sum(rate(statistics_traffic{mtype="user",type="rx",nodeid!~"ca:fe:ba:be:..:..|eeeeeeee...."}[3m]))*8'
- record: total_traffic_tx_bits_per_second
expr: 'sum(rate(statistics_traffic{mtype="user",type="tx",nodeid!~"ca:fe:ba:be:00:..|eeeeeeee00.."}[3m]))*8'
expr: 'sum(rate(statistics_traffic{mtype="user",type="tx",nodeid!~"ca:fe:ba:be:..:..|eeeeeeee...."}[3m]))*8'
- record: avg_traffic_mgmt_rx_bits_per_second
expr: 'avg(rate(statistics_traffic{mtype="mgmt",type="rx",nodeid!~"ca:fe:ba:be:00:..|eeeeeeee00.."}[3m]))*8'
expr: 'avg(rate(statistics_traffic{mtype="mgmt",type="rx",nodeid!~"ca:fe:ba:be:..:..|eeeeeeee...."}[3m]))*8'
- record: avg_traffic_mgmt_tx_bits_per_second
expr: 'avg(rate(statistics_traffic{mtype="mgmt",type="tx",nodeid!~"ca:fe:ba:be:00:..|eeeeeeee00.."}[3m]))*8'
expr: 'avg(rate(statistics_traffic{mtype="mgmt",type="tx",nodeid!~"ca:fe:ba:be:..:..|eeeeeeee...."}[3m]))*8'
- record: node_network_l2tp_rx_bits_per_second
expr: 'sum(rate(node_network_receive_bytes_total{device=~"l2tp.*"}[3m])*8) without (device)'
- record: node_network_l2tp_tx_bits_per_second
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment