unpoller_unpoller/pkg
Cody Lee 8000597fce
Refactor Prometheus UBB label construction to use append
Replace manual array indexing (labels[1], labels[2], labels[3]) with
cleaner append syntax using slice notation (labels[1:]...).

This makes the code more maintainable and idiomatic Go.

Before: labelTotal := []string{"total", labels[1], labels[2], labels[3]}
After:  labelTotal := append([]string{"total"}, labels[1:]...)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-09 11:12:00 -06:00
..
datadogunifi Enhance InfluxDB and Datadog UBB outputs with comprehensive metrics 2025-12-09 11:04:35 -06:00
influxunifi Enhance InfluxDB and Datadog UBB outputs with comprehensive metrics 2025-12-09 11:04:35 -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 add integration test guard; 2023-07-31 14:40:33 -05:00
poller Fix health check port binding conflict (issue #892) 2025-12-09 08:11:21 -06:00
promunifi Refactor Prometheus UBB label construction to use append 2025-12-09 11:12:00 -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