Add 10G rate for interface (#73)
This commit is contained in:
1 parent
72ec3c2ce0
commit
d3285ba301
1 file changed
+2
@@ -107,6 +107,8 @@ func (c *monitorCollector) valueForProp(name, value string) int {
|
||||
return 100
|
||||
case v == "1Gbps":
|
||||
return 1000
|
||||
case v == "10Gbps":
|
||||
return 10000
|
||||
}
|
||||
return 0
|
||||
}(value)
|
||||
|
||||
Reference in new issue
Block a user