Why Can't Grafana Display Content?
Symptom
After the Prometheus add-on is installed on the CCE add-on page, Grafana cannot display monitoring data.
Possible Causes
Grafana parameters are incorrect.
Solution
- Log in to the CCE console (old version).
- In the navigation pane on the left, choose Resource Management > Network. On the Services tab page, obtain the access address and port number of the Grafana service and the access domain name and port number of the Prometheus service.
- In the navigation pane on the left, choose Configuration Center > ConfigMaps. On the displayed page, locate grafana-conf, click Edit YAML in the Operation column, and change root_url to the Grafana access address.
- On the ConfigMaps page, locate grafana-datasources, click Edit YAML in the Operation column, and change url to the Prometheus domain name.
- Restart the Grafana pod to view monitoring data.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.