Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnifiCollector ¶
func NewUnifiCollector ¶
func NewUnifiCollector(apiUrl, apiUser, apiPass string) (*UnifiCollector, error)
NewUnifiCollector create a collector to get metrics from unifi controller
func (*UnifiCollector) Collect ¶
func (c *UnifiCollector) Collect(ch chan<- prometheus.Metric)
Collect implements Prometheus Collector interface
func (*UnifiCollector) Describe ¶
func (c *UnifiCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements Prometheus Collector interface
Click to show internal directories.
Click to hide internal directories.