-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
Currently we have instance:node_network_receive_bytes_excluding_lo:rate:
node_exporter/docs/node-mixin/rules/rules.libsonnet
Lines 83 to 97 in 6a3051a
| record: 'instance:node_network_receive_bytes_excluding_lo:rate%(rateInterval)s' % $._config, | |
| expr: ||| | |
| sum without (device) ( | |
| rate(node_network_receive_bytes_total{%(nodeExporterSelector)s, device!="lo"}[%(rateInterval)s]) | |
| ) | |
| ||| % $._config, | |
| }, | |
| { | |
| record: 'instance:node_network_transmit_bytes_excluding_lo:rate%(rateInterval)s' % $._config, | |
| expr: ||| | |
| sum without (device) ( | |
| rate(node_network_transmit_bytes_total{%(nodeExporterSelector)s, device!="lo"}[%(rateInterval)s]) | |
| ) | |
| ||| % $._config, | |
| }, |
The resulting is used in at least one dashboard:
| row.new('Network') |
On nodes that have virtual links, e.g. bond interfaces this dashboard shows multiples of the actual bandwidth, since virtual and the underlying physical interfaces are aggregated.
I propose to add a rule only for physical interfaces and use that in the dashboard.
The implementation would look very similar to diskSelector or `fsSelector:
| fsSelector: 'fstype!=""', |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels