From 5caff832b82bd3e1158dc67260c72c75c87d4f26 Mon Sep 17 00:00:00 2001 From: Arda Xi Date: Sun, 19 Jun 2022 13:01:19 +0200 Subject: [PATCH] monitor: add 2.5G rate for interfaces --- collector/monitor_collector.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/collector/monitor_collector.go b/collector/monitor_collector.go index 377e4640..780674b1 100644 --- a/collector/monitor_collector.go +++ b/collector/monitor_collector.go @@ -107,6 +107,8 @@ func (c *monitorCollector) valueForProp(name, value string) int { return 100 case v == "1Gbps": return 1000 + case v == "2.5Gbps": + return 2500 case v == "10Gbps": return 10000 }