Managed Service for Grafana allows you to integrate the data sources and dashboards of your Alibaba Cloud services and displays them in charts on Grafana dashboards. This way, you can monitor the metrics of cloud resources, understand the consumption of resources and the performance of your system, and enhance the monitoring in a more efficient manner.
View integrated cloud services
Log on to the Managed Service for Grafana console. In the left-side navigation pane, click Workspace Management.
On the Workspace Management page, click the ID of the workspace that you want to manage.
In the Cloud Service Integration section of the Workspace Information page, the cloud services that can be integrated with a few clicks are displayed.
Managed Service for Grafana allows you to integrate the data sources and dashboards of the following cloud services with a few clicks. If you want to integrate the data sources of other cloud services, you must manually add the data sources. For more information, see Add data sources.
Application Real-Time Monitoring Service (ARMS)
Prometheus instances for cloud services
Managed Service for Prometheus
Hybrid Cloud Monitoring
ARMS alert management
Simple Log Service
Integrate ARMS
In the left-side pane of the Cloud Service Integration section, click ARMS Application Monitoring.
NoteIf ARMS Application Monitoring is not displayed, join the DingTalk group (group ID:
34785590
) for Managed Service for Grafana to upgrade the edition of Managed Service for Grafana.In the data source list on the right side of the section, find the data source that you want to integrate and click Integrations in the Actions column. In the message that appears, click OK.
Find the data source that you integrate and click Folder in the Actions column.
On the Dashboards page of Grafana, you can view the folder in which the dashboards of the data source are stored.
Optional. In the left-side navigation pane of Grafana, choose .
On the Data sources tab of the Configuration page, you can view all the data sources that are integrated.
Integrate Managed Service for Prometheus
In the left-side pane of the Cloud Service Integration section, click Managed Service for Prometheus.
In the data source list on the right side of the section, find the data source that you want to integrate and click Integrations in the Actions column. In the message that appears, click OK.
Find the data source that you integrate and click Folder in the Actions column.
On the Dashboards page of Grafana, you can view the folder in which the dashboards of the data source are stored.
NoteThe preset dashboards vary based on the type of the Prometheus instance.
Integrate a Prometheus instance for cloud services
Connect one or more Alibaba Cloud services to Managed Service for Prometheus by using a Prometheus instance. For more information, see Monitor an Alibaba Cloud service.
In the left-side pane of the Cloud Service Integration section, click Prometheus Service (Old).
In the data source list on the right side of the section, find the data source that you want to integrate and click Integrations in the Actions column. In the message that appears, click OK.
NoteIn the Prometheus Service (Old) section, you can click Configure Cloud Service Monitoring in the right-upper corner to connect more cloud services to Managed Service for Prometheus.
Find the data source that you integrate and click Folder in the Actions column.
On the Dashboards page of Grafana, you can view the folder in which the dashboards of the data source are stored.
Integrate Hybrid Cloud Monitoring
In the left-side pane of the Cloud Service Integration section, click Hybrid Cloud Monitoring.
In the data source list on the right side of the section, find the data source that you want to integrate and click Integrations in the Actions column. In the Integrate Data Source dialog box, configure the AccessKey ID and AccessKey Secret parameters and click OK.
In the Hybrid Cloud Monitoring section, you can click Configure Hybrid Cloud Monitoring in the right-upper corner to add more cloud services that you want to monitor by using CloudMonitor.
Find the data source that you integrate and click Folder in the Actions column.
On the Dashboards page of Grafana, you can view the folder in which the dashboards of the data source are stored.
Optional. In the left-side navigation pane of Grafana, choose .
On the Data sources tab of the Configuration page, you can view all the data sources that are integrated.
NoteManaged Service for Grafana generates default dashboards based on the data that is accessed in the corresponding namespace. Managed Service for Grafana does not automatically add the metrics of cloud services. If the metrics that you want to view are not displayed on the dashboards, you can click Configure Hybrid Cloud Monitoring in the Hybrid Cloud Monitoring section to add the metrics that you want to view.Managed Service for Grafana
Integrate ARMS alert management
In the left-side pane of the Cloud Service Integration section, click ARMS Alert Management.
In the data source list on the right side of the section, find the data source that you want to integrate and click Integrations in the Actions column. In the message that appears, click OK.
Find the data source that you integrate and click Folder in the Actions column.
On the Dashboards page of Grafana, you can view the folder in which the dashboards of the data source are stored.
Integrate Simple Log Service
Managed Service for Grafana assumes the AliyunServiceRoleForARMS service-linked role to access Simple Log Service. If the AliyunServiceRoleForARMS role is not created within your Alibaba Cloud account, the authorization page appears. Complete authorization as prompted. For more information about how to create the AliyunServiceRoleForARMS role for a Resource Access Management (RAM) user, see the "FAQ" section of Service-linked role for ARMS.
In the left-side pane of the Cloud Service Integration section, click Simple Log Service.
In the data source list on the right side of the section, click Create Log Service Data Source. In the Create Log Service Data Source panel, configure the Region, Project, and logstore parameters. Then, click OK.
NoteIf the AliyunARMSFullAccess system policy is not attached to your Alibaba Cloud account, attach the system policy as prompted.
Optional. Find that data source that you integrate and click Folder in the Actions column. On the Dashboards page of Grafana, you can view the folder in which the dashboards of the data source are stored.
ImportantThe folder and dashboards are generated only for the Logstores of Kubernetes events. If no folder is available on the Dashboards page of Grafana, the Logstore that you specify does not have dashboards.
Find the data source that you integrate and click Explorer in the Actions column. In the Grafana console, view the data of Simple Log Service.