With this parameter we can get relation data from specific side, so we can use always tested app, instead of grafana-agent-k8s to get data.
These changes are needed for upcoming dashboards check, without it, I will need to use grafana-agent-k8s again. Same as it was done for logging, but that is not really intuitive.
At the same time on my test model I have grafana-agent-k8s related to multiple charms, and that cause an issue, since we are checking that only one relation exists.
With this parameter we can get relation data from specific side, so we can use always tested app, instead of grafana-agent-k8s to get data.
These changes are needed for upcoming dashboards check, without it, I will need to use grafana-agent-k8s again. Same as it was done for logging, but that is not really intuitive. At the same time on my test model I have grafana-agent-k8s related to multiple charms, and that cause an issue, since we are checking that only one relation exists.
fixes: #116