unpoller_unpoller/pkg
Cody Lee 6a135c60a7
Enhance UBB device support with comprehensive Prometheus metrics
This change significantly improves UniFi Building Bridge (UBB) device
support by adding comprehensive Prometheus metric exports.

UBB devices are point-to-point wireless bridges with dual radios:
- wifi0: 5GHz radio (802.11ac)
- terra2/wlan0/ad: 60GHz radio (802.11ad - Terragraph/WiGig)

Changes:
- Added exportUBBstats() to export UBB-specific statistics separated
  by radio (total, wifi0, terra2, user-wifi0, user-terra2)
- Added exportP2Pstats() to export point-to-point link metrics
  (rx_rate, tx_rate, throughput)
- Added VAP (Virtual Access Point) table export via existing exportVAPtable()
- Added Radio table export via existing exportRADtable() to capture
  60GHz radio metrics
- Added link quality metrics (link_quality, link_quality_current,
  link_capacity)
- Added comprehensive comments documenting UBB device characteristics
  and 60GHz band support

The implementation reuses existing UAP metric descriptors where
appropriate, allowing UBB metrics to be collected alongside UAP metrics
in Prometheus with proper labeling for differentiation.

Requires: unpoller/unifi#169 (UBB type definition fixes)
Fixes: #409

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-09 10:20:23 -06:00
..
datadogunifi fix dd client interface change, update deprecated context lib in influxdb 2025-12-03 11:51:40 -06:00
influxunifi fix dd client interface change, update deprecated context lib in influxdb 2025-12-03 11:51:40 -06:00
inputunifi fix linting 2025-12-03 11:40:21 -06:00
lokiunifi fix linting 2025-12-03 11:40:21 -06:00
mysqlunifi
poller Fix health check port binding conflict (issue #892) 2025-12-09 08:11:21 -06:00
promunifi Enhance UBB device support with comprehensive Prometheus metrics 2025-12-09 10:20:23 -06:00
unittest painful upgrade for dumb go versioning 2024-12-31 14:44:10 -06:00
webserver Fix health check port binding conflict (issue #892) 2025-12-09 08:11:21 -06:00