Telegraf upgrade-charm does not upgrade the dashboards in Grafana

Bug #1919937 reported by Xav Paice
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grafana Charm
Invalid
Undecided
Xav Paice
Telegraf Charm
Fix Released
Undecided
Xav Paice

Bug Description

With the current master branch, when I make a dashboard update to the templates/dashboards/grafana/Telegraf.json.j2 template I expect to upgrade the Telegraf charm and have that update the dashboard in Grafana.

I did find one typo in the register_grafana_dashboard() @when conditions, and have a patch ready, but even though that's patched and register_grafana_dashboard() runs, it doesn't actually update the dashboard in Grafana.

Environment: master branch of Telegraf charm, bionic, and cs:~llama-charmers-next/grafana-14.

Related branches

Xav Paice (xavpaice)
Changed in charm-telegraf:
assignee: nobody → Xav Paice (xavpaice)
status: New → In Progress
Xav Paice (xavpaice)
Changed in charm-telegraf:
status: In Progress → Fix Committed
Xav Paice (xavpaice)
Changed in charm-grafana:
status: New → In Progress
assignee: nobody → Xav Paice (xavpaice)
Xav Paice (xavpaice)
Changed in charm-telegraf:
milestone: none → 21.04
Revision history for this message
Xav Paice (xavpaice) wrote :

Change https://code.launchpad.net/~xavpaice/charm-telegraf/+git/charm-telegraf/+merge/400008 adds a digest to the data exported across the dashboards relation so that Grafana knows it's been updated. I've marked the Grafana charm invalid in this bug report since there's no change to make to Grafana in this respect, and put Telegraf back to in-progress while we work on the latest change.

Changed in charm-telegraf:
status: Fix Committed → In Progress
Changed in charm-grafana:
status: In Progress → Invalid
Xav Paice (xavpaice)
Changed in charm-telegraf:
status: In Progress → Fix Committed
Celia Wang (ziyiwang)
Changed in charm-telegraf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.