Managed Service for Grafana allows you to integrate the data sources and dashboards of your Alibaba Cloud services and display them in charts on Grafana dashboards. With one-click integration for supported cloud services, you can monitor the metrics of cloud resources, understand resource consumption, and assess system performance more efficiently.
To integrate cloud services not listed below, manually add them as data sources. For more information, see Add data sources.
Supported cloud services
The following table lists the cloud services that support one-click integration and their requirements.
| Cloud service | UI label in console | Prerequisites | Pre-built dashboards |
|---|---|---|---|
| Application Real-Time Monitoring Service (ARMS) | ARMS Application Monitoring | Specific Grafana edition required. See Integrate ARMS. | Yes |
| Managed Service for Prometheus | Managed Service for Prometheus | None | Vary by Prometheus instance type |
| Prometheus instances for cloud services | Prometheus Service (Old) | Cloud services connected to Managed Service for Prometheus. See Monitor an Alibaba Cloud service. | Yes |
| Hybrid Cloud Monitoring | Hybrid Cloud Monitoring | AccessKey ID and AccessKey Secret | Default dashboards based on namespace data |
| ARMS alert management | ARMS Alert Management | None | Yes |
| Simple Log Service | Simple Log Service | AliyunServiceRoleForARMS service-linked role and AliyunARMSFullAccess system policy | Kubernetes event Logstores only |
Navigate to cloud service integration
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 workspace ID.
On the Workspace Information page, locate the Cloud Service Integration section.
Standard integration workflow
Most cloud services (ARMS, Managed Service for Prometheus, Prometheus instances for cloud services, ARMS alert management) follow the same steps:
In the Cloud Service Integration section, click the service name in the left-side pane.
In the data source list on the right, find the target data source and click Integrations in the Actions column. Click OK to confirm.
Click Folder in the Actions column to open the Dashboards page in Grafana and view the folder that contains the pre-built dashboards.
The following sections describe service-specific differences.
Integrate ARMS
Follow the standard integration workflow and click ARMS Application Monitoring in step 1.
If ARMS Application Monitoring is not displayed, join the DingTalk group (group ID: 34785590) to upgrade your Managed Service for Grafana edition.
After completing the standard workflow, you can optionally verify the integration: In the Grafana navigation pane, choose to view all integrated data sources.
Integrate Managed Service for Prometheus
Follow the standard integration workflow and click Managed Service for Prometheus in step 1.
Preset dashboards vary based on the Prometheus instance type.
Integrate a Prometheus instance for cloud services
Before you begin, connect one or more Alibaba Cloud services to Managed Service for Prometheus. For more information, see Monitor an Alibaba Cloud service.
Follow the standard integration workflow and click Prometheus Service (Old) in step 1.
To connect additional cloud services to Managed Service for Prometheus, click Configure Cloud Service Monitoring in the upper-right corner of the Prometheus Service (Old) section.
Integrate Hybrid Cloud Monitoring
Hybrid Cloud Monitoring requires AccessKey credentials during integration and differs from the standard workflow at step 2.
In the Cloud Service Integration section, click Hybrid Cloud Monitoring in the left-side pane.
In the data source list on the right, find the target data source and click Integrations in the Actions column. In the Integrate Data Source dialog box, enter the AccessKey ID and AccessKey Secret, then click OK.
Click Folder in the Actions column to view the pre-built dashboards.
(Optional) In the Grafana navigation pane, choose to view all integrated data sources.
Managed Service for Grafana generates default dashboards based on the data accessed in each namespace. Cloud service metrics are not added automatically. If the metrics you need are not displayed, click Configure Hybrid Cloud Monitoring in the Hybrid Cloud Monitoring section to add them.
To add more cloud services for monitoring through CloudMonitor, click Configure Hybrid Cloud Monitoring in the upper-right corner of the Hybrid Cloud Monitoring section.
Integrate ARMS alert management
Follow the standard integration workflow and click ARMS Alert Management in step 1.
Integrate Simple Log Service
Managed Service for Grafana assumes the AliyunServiceRoleForARMS service-linked role to access Simple Log Service. If this role does not exist in your account, complete the authorization as prompted during integration. For instructions on creating this role for a Resource Access Management (RAM) user, see the FAQ section of Service-linked role for ARMS.
In the Cloud Service Integration section, click Simple Log Service in the left-side pane.
In the data source list on the right, click Create Log Service Data Source. In the Create Log Service Data Source panel, configure the following parameters, then click OK.
NoteIf the AliyunARMSFullAccess system policy is not attached to your account, attach it as prompted.
Parameter Description Region The region where the Simple Log Service project resides Project The Simple Log Service project name logstore The target Logstore (Optional) Click Folder in the Actions column to view the pre-built dashboards.
ImportantFolders and dashboards are generated only for Logstores of Kubernetes events. If no folder is available on the Dashboards page, the specified Logstore does not have pre-built dashboards.
Click Explorer in the Actions column to query and explore Simple Log Service data in the Grafana console.