Closed deusebio closed 1 year ago
The same issue reproduced with mysql-k8s and postgresql-k8s charms.
No errors in logs/relations and no dashboards on Grafana WEB (if grafana-agent-k8s
used).
P.S. To test locally using multipass: create a file DB_COS.yaml with content: https://pastebin.canonical.com/p/JgDJ4HrkxQ/ and run the command indicated in the first line of the file above.
Thanks for making us aware. We'll try to prioritize this issue as soon as possible.
Since we already have an issue for tracking dashboard transfer issues, I'll close this one as a dupe. Reasoning being that if dashboards don't make it over in the first place, they definitely won't be there after a restart either. 😅
I see that the other ticket (https://github.com/canonical/grafana-k8s-operator/issues/221) was closed, but I have tested again the deployment above (using revision 42 for grafana-agent-k8s), and while alerting rules are now there, grafana dashboard are still not there. Is this expected or shall we re-open this ticket?
Bug Description
In Data Platform for k8s deployment, we used to relate components (e.g. Kafka) directly to cos, across models. I'm currently testing to provide relations mediated by grafana agent, as suggested in @simskij comment here. However, when doing this, Grafana dashboard are not appearing in Grafana.
To Reproduce
Deploy Kafka on Apps model
Deploy COS
Relate
When I then log into grafana, dahsboard are not there. Note that dashboard are there when relating kafka-k8s directly to the cos offer (e.g. juju relate kafka:grafana-dashboards grafana-dashboards)
Environment
Juju 3.1.5 microk8s 1.27-strict/stable
COS MODEL
APPS MODEL
Additional context
N/A