[Backport] Improve Grafana tab on the web console when no pods info is available
Summary
When one cluster has grafanaEmbeeded
and no pods are available yet, the Grafana tab is shown on the web console even though no data can yet be pulled from it because there are no IPs to match for the pods.
Steps to reproduce
- Enter the web console
- Choose a cluster with no pods info available
- Enter the Grafana tab for the specified cluster
- No info is shown and an the following error message can be found on the browser console
Cannot read property 'ip' of undefined
Expected Behaviour
If no pod's info is available, provide the user with a message like No pods yet available
Environment
- StackGres version:
0.9.5
/1.0.0-alpha1
Edited by Luis Garcia