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. You must manually add the data sources of other cloud services. For more information, see Add data sources.
Application Real-Time Monitoring Service (ARMS)
Managed Service for Prometheus
Prometheus instances for cloud services
Hybrid Cloud Monitoring
ARMS alert management
Simple Log Service
Integrate ARMS
In the left-side pane of the Cloud Service Integration section, click Application Monitoring Service.
NoteIf Application Monitoring Service is not displayed, join the DingTalk group of Managed Service for Grafana (ID
34785590
) for technical support to upgrade the edition of Managed Service for Grafana.In the right-side pane 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, move the pointer over the icon and select Data sources.
On the Data sources tab of the Configuration page, you can view all data sources that are integrated.
Integrate Managed Service for Prometheus
In the left-side pane of the Cloud Service Integration section, click Prometheus Monitoring Service.
In the right-side pane 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 Create a Prometheus instance to monitor Alibaba Cloud services.
In the left-side pane of the Cloud Service Integration section, click Prometheus for Cloud Services(old).
In the right-side pane 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 for Cloud Services(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 right-side pane 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, move the pointer over the icon and select Data sources.
On the Data sources tab of the Configuration page, you can view all 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 Alert Management.
In the right-side pane 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. For more information, see Simple Log Service documentation. 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 Service-linked role for ARMS.
In the left-side pane of the Cloud Service Integration section, click log service.
In the right-side pane 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.