monitor: add 2.5G rate for interfaces

This commit is contained in:
Arda Xi 2022-06-19 13:01:19 +02:00
parent e1b06c6ebe
commit 5caff832b8

View File

@ -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
}