Configuring a Grafana Data Source
Before viewing ModelArts monitoring data on Grafana, configure the data source.
Prerequisites
Procedure
- Obtain the Grafana data source configuration code.
- Log in to the AOM console.
Figure 1 AOM console
- In the navigation pane on the left, choose Prometheus Monitoring > Instances. Then, click the Prometheus_AOM_Default instance.
Figure 2 Prometheus_AOM_Default
- In the Settings tab, obtain the Grafana data source configuration code of the instance in the Grafana Data Source Info area.
- Log in to the AOM console.
- Add a data source to Grafana.
- Log in to Grafana. The default username and password for the first login are admin. After the login is successful, change the password as prompted.
- In the navigation pane, choose Configuration > Data Sources. Then, click Add data source.
Figure 3 Configuring Grafana
- Click Prometheus to access the configuration page.
Figure 4 Prometheus configuration page
- Configure parameters as shown in the following figure.
The actual Grafana version varies depending on the installation method. Figure 5 is only an example.
Table 1 Parameters Parameter
Description
Name
Enter a name.
URL
Set this parameter to the HTTP URL obtained in step 1.
Basic auth
Enable it.
Skip TLS Verify
Enable it.
User
Set this parameter to the username obtained in step a.
Password
Set this parameter to the password obtained in step a.
- After the configuration, click Save & test. If the message Data source is working is displayed, the data source is configured.
Figure 6 Data source added
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot