netclass_linux: remove varying labels from the 'up' metric (#1243)
* netclass_linux: remove varying labels from the 'up' metric
This moves the variable label values such as 'operstate' out of
the 'network_up' metric and into a separate metric called '_info'.
This allows the 'up' metric to remain continous over state changes.
Fixes #1236
Signed-off-by:
Paul Gier <pgier@redhat.com>
Showing
- CHANGELOG.md 2 additions, 0 deletionsCHANGELOG.md
- collector/fixtures/e2e-64k-page-output.txt 5 additions, 2 deletionscollector/fixtures/e2e-64k-page-output.txt
- collector/fixtures/e2e-output.txt 5 additions, 2 deletionscollector/fixtures/e2e-output.txt
- collector/netclass_linux.go 14 additions, 4 deletionscollector/netclass_linux.go
Please register or sign in to comment