unpoller_unpoller/pkg
Cody Lee a81a6e6e16
feat: add port anomaly metrics (closes #929) (#982)
Collect port anomalies from the UniFi v2 API endpoint
/proxy/network/v2/api/site/{site}/ports/port-anomalies and export
them to all output plugins (Prometheus, InfluxDB, DataDog, OpenTelemetry).

Metrics exported per port:
- port_anomaly_count     – number of anomaly events
- port_anomaly_last_seen – unix timestamp of last event

Labels: site_name, source, device_mac, port_idx, anomaly_type

Bumps github.com/unpoller/unifi/v5 to v5.24.0 which adds GetPortAnomalies.

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 18:56:37 -05:00
..
datadogunifi feat: add port anomaly metrics (closes #929) (#982) 2026-03-23 18:56:37 -05:00
influxunifi feat: add port anomaly metrics (closes #929) (#982) 2026-03-23 18:56:37 -05:00
inputunifi feat: add port anomaly metrics (closes #929) (#982) 2026-03-23 18:56:37 -05:00
lokiunifi feat(lokiunifi): add richer low-cardinality stream labels (#932) (#975) 2026-03-23 15:41:20 -05:00
mysqlunifi
otelunifi feat: add port anomaly metrics (closes #929) (#982) 2026-03-23 18:56:37 -05:00
poller feat: add port anomaly metrics (closes #929) (#982) 2026-03-23 18:56:37 -05:00
promunifi feat: add port anomaly metrics (closes #929) (#982) 2026-03-23 18:56:37 -05:00
unittest Temp fix for test cases and warning from Dockerfile 2025-12-24 00:23:05 -05:00
webserver Fix health check port binding conflict (issue #892) 2025-12-09 08:11:21 -06:00