Consider localhost for haproxy stats
Bug #1950881 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
When telegraf is related to haproxy (telegraf:haproxy <-> haproxy:
| $ sudo cat /etc/telegraf/
|
| [[inputs.haproxy]]
| servers = ["http://
We should consider retrieving haproxy stats from localhost / 127.0.0.1 instead.
Related branches
lp://staging/~cjwatson/charm-haproxy/listener-address-localhost
- Tom Haddon (community): Approve
- Arturo Enrique Seijas Fernández (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 65 lines (+17/-14)2 files modifiedhooks/hooks.py (+7/-9)
hooks/tests/test_statistics_hooks.py (+10/-5)
tags: | added: good-first-bug |
Changed in charm-telegraf: | |
status: | New → Fix Committed |
Changed in charm-telegraf: | |
status: | Fix Committed → New |
To post a comment you must log in.
This issue was pending long time. Is it still valid? /charmhub. io/topics/ canonical- observability- stack)
Furthermore, soon or later, the monitoring system will migrate to COS. Telegraf will be replaced by grafana-agent. Therefore, we won't follow up this issue. But welcome to reopen it when anyone encounter this issue again.
(https:/