@simskij hints us to use grafana-agent-k8shere.
Unfortunately it doesn't work out of the box: all relations established without any errors, but no grafana dashboards shown on Grafana WEB.
During the private discussion, Simmon said:
I remember when we tested that the last time we ended up saying "go with direct grafana dashboard relation for now" - did we not? But we definitely need to fix that asap.
I have tried to relate dashboard directly, but then no metrics shown on WEB.
I believe we need to trace this together to fix it and switch to grafana-agent-k8s in DB manuals. Tnx!
Actual results: dashboards appeared, but no metrics shown on dashboards.
P.S. all works well, if postgresql-k8s related directly with SAAS (without grafana-agent-k8s, as described in manual).
Environment
juju 3.1.5, microk8s v1.28.0
cos:
App Version Status Scale Charm Channel Rev Address Exposed Message
alertmanager 0.25.0 active 1 alertmanager-k8s stable 76 10.152.183.247 no
catalogue active 1 catalogue-k8s stable 13 10.152.183.166 no
grafana 9.2.1 active 1 grafana-k8s stable 81 10.152.183.60 no
loki 2.7.4 active 1 loki-k8s stable 89 10.152.183.89 no
prometheus 2.33.5 active 1 prometheus-k8s stable 103 10.152.183.87 no
traefik 2.9.6 active 1 traefik-k8s stable 110 10.76.203.19 no
db:
App Version Status Scale Charm Channel Rev Address Exposed Message
agent 0.32.1 active 1 grafana-agent-k8s stable 38 10.152.183.127 no
postgresql-k8s 14.9 active 3 postgresql-k8s 14/edge 128 10.152.183.111 no
I believe I'm still facing the same issue with Kafka (only for dashboards, not alerts which now appears), as per the issue #231 . This may possibly have the same roots
Bug Description
Hi,
@simskij hints us to use
grafana-agent-k8s
here. Unfortunately it doesn't work out of the box: all relations established without any errors, but no grafana dashboards shown on Grafana WEB.During the private discussion, Simmon said:
I have tried to relate dashboard directly, but then no metrics shown on WEB. I believe we need to trace this together to fix it and switch to
grafana-agent-k8s
in DB manuals. Tnx!To Reproduce
Deploy COS:
Deploy DB:
Failed case using
grafana-agent-k8s
:Actual results: no DB dashboards on Grafana WEB, no any errors in logs.
Try to re-relate directly:
Actual results: dashboards appeared, but no metrics shown on dashboards.
P.S. all works well, if
postgresql-k8s
related directly with SAAS (withoutgrafana-agent-k8s
, as described in manual).Environment
juju 3.1.5, microk8s v1.28.0 cos:
db:
Relevant log output
Additional context
Tnx!