remote upgrade metrics for #433

This commit is contained in:
Cody Lee
2022-12-21 20:14:22 -06:00
parent e4c296c63d
commit 0329066fe5
12 changed files with 26 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ func (u *DatadogUnifi) batchUAP(r report, s *unifi.UAP) {
data["user_num_sta"] = s.UserNumSta.Val
data["guest_num_sta"] = s.GuestNumSta.Val
data["num_sta"] = s.NumSta.Val
data["upgradeable"] = boolToFloat64(s.Upgradable.Val)
r.addCount(uapT)