Skip to content

Commit

Permalink
fix: add host label
Browse files Browse the repository at this point in the history
* fix: add missing host label

* fix: add missing labels
  • Loading branch information
gilmrt committed Jan 26, 2024
1 parent fcedf5d commit 4e651c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ def updateResults():
host=HOST, mac=metric["mac"], hostname=metric["hostname"]
).set(metric["current_rate"])
device_is_online.labels(
host=HOST,
connection=metric["connection"],
hostname=metric["hostname"],
ip6_addr=metric["ip6_addr"],
Expand Down

0 comments on commit 4e651c6

Please sign in to comment.