-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grafana-k8s not rendering new dashboard from grafana-agent-k8s when the relation in between stays joined #303
Comments
I am hitting the same issue here, when deploying single node sunbeam (2023.2/edge channel) and enable observability plugin. This should load some dashboard from the charms in the plugin via grafana-agent. Using the method mentioned by @agileshaw fix the issue |
I seems to be able to reproduce the issue, consider the following situation:
if I refresh the
And the below are the differences of the dashboards file in Grafana unit
|
Confirming that this is still an issue, that we can reproduce 100% of the time. It causes problems when refreshing charms that provide grafana dashboards, because then the dashboards don't update. We do have workarounds, but it's cumbersome:
|
I tried multiple times but cannot reproduce this with:
Could you try reproducing again with these revisions? |
@samuelallan72 can you help us confirm what Luca said? |
@lucabello @simskij sure, I can take a look when I have time next. Thanks for looking into this! 🙂 Note that Ray and I were reproducing this with grafana-agent charm (not grafana-agent-k8s). Not sure if that makes a difference though, since the issue seemed to be in grafana-k8s. |
I'm closing in the meantime, but please feel free to reopen if that's still an issue :) |
I tested this today with these revisions and can confirm that the issue is no longer present. :) |
We have a charm (tempest-k8s built on top of this patch) providing dashboard through
granfa-agent-k8s
tografana-k8s
. If we keep the relations betweengrafana-agent-k8s
andgrafana-k8s
intact but deploy a new charm and relate it to grafana-agent-k8s:we will not see the the dashboard showing on Grafana WebUI.
We can confirm that the dashboard file did land in grafana container and can be found by running the following command:
Manually deleting grafana-k8s pod or remove + rejoin the relation between grafana-k8s and grafana-agent-k8s solves the issue.
The text was updated successfully, but these errors were encountered: