"Telegraf host metrics" mixes hosts on some graphs even when host filtering is applied
Bug #1814873 reported by
Alvaro Uria
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Grafana Charm |
Invalid
|
High
|
Unassigned | ||
Telegraf Charm |
Fix Released
|
High
|
Unassigned |
Bug Description
Several graphs, such as Network cards drops/errors list metric(s) for __all hosts__ instead of applying '''host =~ "$host"''' filtering.
In addition to the above, legends not always list "{{host}} {{interface}}", which becomes handy when more than a single node is selected.
"Telegraf host metrics" template needs to be fixed.
Possible testing:
1) Deploy telegraf in a test env from scratch and verify all metrics are related to the selected host
2) Upgrade telegraf charm in an env using the previous version and see if the "[Juju] xxxx" dashboards get updated (specially, the "[Juju] Telegraf host metrics" one.
Related branches
~xavpaice/charm-telegraf:bug/1814873
- James Troup (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedsrc/templates/dashboards/grafana/Telegraf.json.j2 (+2/-2)
Changed in charm-telegraf: | |
status: | Triaged → In Progress |
Changed in charm-telegraf: | |
status: | In Progress → Fix Committed |
milestone: | none → 21.04 |
Changed in charm-telegraf: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Confirmed using current charms, the 'Network Throughput' graph shows stats for all hosts when only one is selected. I was unable to verify the drops/errors since my test VMs had no drops/errors to report.