Managed Service for Grafana lets you connect Alibaba Cloud services to your Grafana workspace, giving you a unified view of resource usage and system performance through pre-built dashboards. Each integration adds a data source and, for most services, a dashboard folder to your workspace.
Supported cloud services
The following cloud services support one-click integration in the Cloud Service Integration section of the console. To integrate data sources from other cloud services, manually add data sources. For more information, see Add data sources.
| Cloud service | Integration method | Prerequisites | Notes |
|---|---|---|---|
| Application Real-Time Monitoring Service (ARMS) | One-click | None | Contact DingTalk group 34785590 if ARMS Application Monitoring is not displayed to upgrade the edition |
| Managed Service for Prometheus | One-click | None | Preset dashboards vary by Prometheus instance type |
| Prometheus instances for cloud services | One-click | At least one Alibaba Cloud service connected to Managed Service for Prometheus. See Monitor an Alibaba Cloud service | Listed as Prometheus Service (Old) in the console |
| Hybrid Cloud Monitoring | Credentials required | AccessKey ID and AccessKey Secret | Dashboards are generated based on the namespace data; metrics are not automatically added |
| ARMS alert management | One-click | None | -- |
| Simple Log Service | Create data source | AliyunServiceRoleForARMS service-linked role and AliyunARMSFullAccess system policy attached to your account | Folder and dashboards are generated only for Logstores of Kubernetes events |
For Simple Log Service, if the AliyunServiceRoleForARMS service-linked role does not exist in your account, complete the authorization when prompted. To create this role for a Resource Access Management (RAM) user, see the "FAQ" section of Service-linked role for ARMS.
Prerequisites
An active Managed Service for Grafana workspace
View integrated cloud services
Log on to the ARMS console. In the left-side navigation pane, choose .
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, view the available cloud services.
Integrate a cloud service with one-click
The following services use the same one-click integration workflow: ARMS Application Monitoring, Managed Service for Prometheus, Prometheus Service (Old), and ARMS Alert Management.
In the left-side pane of the Cloud Service Integration section, click the target cloud service name.
NoteIf ARMS Application Monitoring is not displayed, join the DingTalk group (group ID:
34785590) for Managed Service for Grafana to upgrade the edition.In the data source list on the right side, find the target data source and click Integrations in the Actions column. In the confirmation message, click OK.
Find the integrated data source and click Folder in the Actions column to open the dashboard folder in Grafana.
NoteFor Managed Service for Prometheus, preset dashboards vary based on the Prometheus instance type.
Optional. To view all integrated data sources, open the Grafana navigation pane and choose
> Data sources.
Connect more cloud services to Prometheus
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. For more information, see Monitor an Alibaba Cloud service.
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, find the target data source and click Integrations in the Actions column. In the Integrate Data Source dialog box, enter your AccessKey ID and AccessKey Secret, then click OK. To add more cloud services to CloudMonitor, click Configure Hybrid Cloud Monitoring in the upper-right corner of the Hybrid Cloud Monitoring section.
Find the integrated data source and click Folder in the Actions column to open the dashboard folder in Grafana.
NoteManaged Service for Grafana generates default dashboards based on data accessed in the corresponding namespace. Metrics are not automatically added. If the metrics you need are missing, click Configure Hybrid Cloud Monitoring in the Hybrid Cloud Monitoring section to add them.
Optional. To view all integrated data sources, open the Grafana navigation pane and choose
> Data sources.
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 when prompted. To create this role for a 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, 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 account, attach it when prompted.
Optional. Find the integrated data source and click Folder in the Actions column to open the dashboard folder in Grafana.
ImportantThe folder and dashboards are generated only for Logstores of Kubernetes events. If no folder appears on the Dashboards page, the specified Logstore does not have preset dashboards.
Find the integrated data source and click Explorer in the Actions column to query Simple Log Service data in the Grafana console.