Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
prometheus: Update router edge traffic variables
Browse files Browse the repository at this point in the history
The node_exporter 0.16.0 release broke a bunch of network metric
names (e.g. [1]), arguably for good reasons, but still.

1. prometheus/node_exporter#830
  • Loading branch information
lucasbergman committed Feb 18, 2021
1 parent 66a7823 commit 3411ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions house/nomad/conf/prometheus/node.rules
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ groups:
- name: node_router
rules:
- record: router:edge:receive_bytes
expr: node_network_receive_bytes{device="eth0",host="router"}
expr: node_network_receive_bytes_total{device="eth0",host="router"}
- record: router:edge:transmit_bytes
expr: node_network_transmit_bytes{device="eth0",host="router"}
expr: node_network_transmit_bytes_total{device="eth0",host="router"}
- record: router:edge:receive_bytes:rate5m
expr: rate(router:edge:receive_bytes[5m])
- record: router:edge:transmit_bytes:rate5m
Expand Down

0 comments on commit 3411ccd

Please sign in to comment.