2018-05-14 prometheus 计算规则之 by

sort_desc(abs((sum by (instance) ((rate(node_network_receive_bytes_total{device!~"bond.*",device!~"docker.*",device!="lo", tags=~".*LVS.*"}[1m]))  -  (rate(node_network_transmit_bytes_total{device!~"bond.*",device!~"docker.*",device!="lo", tags=~".*LVS.*"}[1m]))))))/1024/1024*8

你可能感兴趣的:(2018-05-14 prometheus 计算规则之 by)