diff --git a/pkg/promunifi/udm.go b/pkg/promunifi/udm.go index d1fdb761..ee7c3517 100644 --- a/pkg/promunifi/udm.go +++ b/pkg/promunifi/udm.go @@ -64,7 +64,8 @@ func descDevice(ns string) *unifiDevice { // UDM is a collection of stats from USG, USW and UAP. It has no unique stats. func (u *promUnifi) exportUDM(r report, d *unifi.UDM) { labels := []string{d.Type, d.SiteName, d.Name} - infoLabels := []string{d.Version, d.Model, d.Serial, d.Mac, d.IP, d.ID, d.Bytes.Txt} + labelsGuest := append(labels, "guest") + labelsUser := append(labels, "user") // Dream Machine System Data. r.send([]*metric{ {u.Device.Info, prometheus.GaugeValue, d.Uptime, append(labels, infoLabels...)},