feat(influxunifi): add global tags applied to every measurement

Closes #1001. Mirrors the DataDog plugin's global tags feature for
InfluxDB. Per-metric tags take precedence on key collision so
site/device identifiers can never be overwritten by a misconfigured
global. Configurable via TOML/JSON/YAML under influxdb.tags.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cody Lee
2026-05-09 08:59:16 -05:00
co-authored by Claude Opus 4.7
parent 724982b1e3
commit 511c524e6e
5 changed files with 62 additions and 3 deletions
+5 -1
View File
@@ -21,7 +21,11 @@
"pass": "unifipoller",
"db": "unifi",
"verify_ssl": false,
"interval": "30s"
"interval": "30s",
"tags": {
"customer": "abc_corp",
"env": "prod"
}
},
"webserver": {