Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MonitorSwitch ¶
func MonitorSwitch(config config.SwitchConfig, interval int) error
MonitorSwitch fetches port stats and status from a given switch every 'interval' seconds and accordingly update the metrics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.