w60g Interface collector (#63)
Allow the collection of w60g interface statistics.
This commit is contained in:
committed by
Steve Brunton
parent
55ae663ce3
commit
5cea9840a7
@@ -106,6 +106,13 @@ func WithOptics() Option {
|
||||
}
|
||||
}
|
||||
|
||||
// WithW60G enables w60g metrics
|
||||
func WithW60G() Option {
|
||||
return func(c *collector) {
|
||||
c.collectors = append(c.collectors, neww60gInterfaceCollector())
|
||||
}
|
||||
}
|
||||
|
||||
// WithWlanSTA enables wlan STA metrics
|
||||
func WithWlanSTA() Option {
|
||||
return func(c *collector) {
|
||||
|
||||
Reference in New Issue
Block a user