datasource empty in telegraf dashboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
Undecided
|
Tianqi Xiao |
Bug Description
The telegraf dashboards in Grafana, both host and application, shows the following error as shown in the screenshot attached.
Templating
Failed to upgrade legacy queries Datasource - Juju generated source was not found
Templating [host|apps]
Error updating options: Datasource - Juju generated source was not found
This is reproduced with the following bundle.
series: focal
applications:
prometheus:
charm: prometheus2
num_units: 1
grafana:
charm: grafana
num_units: 1
telegraf:
charm: telegraf
relations:
- [ "prometheus:
- [ "prometheus:
- [ "grafana:
- [ "grafana:
- [ "prometheus:
As the error state, it looks like the datasource is empty in the dashboard json configuration.
I could mitigate the issue by running the following
juju config telegraf prometheus_
Related branches
- Alvaro Uria (community): Approve
- Diko Parvanov: Approve
- 🤖 prod-jenkaas-bootstack (community): Needs Fixing (continuous-integration)
- Connor Chamberlain: Pending requested
-
Diff: 46 lines (+13/-4)2 files modifiedsrc/config.yaml (+1/-1)
src/reactive/telegraf.py (+12/-3)
tags: | added: bseng-171 |
Changed in charm-telegraf: | |
assignee: | nobody → Tianqi Xiao (txiao) |
Changed in charm-telegraf: | |
status: | Fix Released → Fix Committed |
Changed in charm-telegraf: | |
status: | Fix Committed → Fix Released |
Changed in charm-telegraf: | |
milestone: | none → 22.08 |
Adding juju-crashdump