commit
3ab9dd0610
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "prometheus_wireguard_exporter"
|
||||
version = "3.0.1"
|
||||
version = "3.1.0"
|
||||
authors = ["Francesco Cogno <francesco.cogno@outlook.com>"]
|
||||
description = "Prometheus WireGuard Exporter"
|
||||
edition = "2018"
|
||||
|
|
|
@ -92,8 +92,8 @@ impl TryFrom<&str> for WireGuard {
|
|||
remote_port,
|
||||
allowed_ips,
|
||||
latest_handshake: v[5].parse::<u64>()?,
|
||||
sent_bytes: v[6].parse::<u128>().unwrap(),
|
||||
received_bytes: v[7].parse::<u128>().unwrap(),
|
||||
received_bytes: v[6].parse::<u128>().unwrap(),
|
||||
sent_bytes: v[7].parse::<u128>().unwrap(),
|
||||
persistent_keepalive: to_bool(v[8]),
|
||||
})
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue