Documentation ¶
Overview ¶
Package influx provides the methods to turn UniFi measurements into influx data-points with appropriate tags and fields.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InfluxUnifi ¶
type InfluxUnifi struct {
// contains filtered or unexported fields
}
InfluxUnifi is returned by New() after you provide a Config.
func (*InfluxUnifi) ReportMetrics ¶
func (u *InfluxUnifi) ReportMetrics(m *metrics.Metrics) (*Report, error)
ReportMetrics batches all device and client data into influxdb data points. Call this after you've collected all the data you care about. Returns an error if influxdb calls fail, otherwise returns a report.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.