The Alibaba Cloud Grafana Datasource is a powerful plugin that helps you easily integrate and visualize Alibaba Cloud monitoring data in Grafana. With this plugin, you can monitor the performance metrics of cloud resources in real-time, quickly identify issues, and improve operational efficiency.
- Diverse Data Support: Supports monitoring data from various Alibaba Cloud services, including LB, ECS, RDS, KVSTORE, NAT, and all CMS-supported basic resources.
- Real-Time Monitoring: Provides real-time data updates to help you detect and resolve issues promptly.
- Custom Dashboards: Supports the creation and customization of monitoring dashboards according to your needs.
- Alerting Functionality: Set up alert rules to get notified when metrics are abnormal.
- Low Resource Usage: Uses goroutines to solve resource-sharing issues, allowing you to monitor more resources with fewer requests.
- Support for Grafana 12: Uses React hooks to implement the monitoring configuration page, perfectly supporting the latest version of Grafana.
Follow these steps to quickly configure and use the Alibaba Cloud Grafana Datasource.
-
Obtain Alibaba Cloud AccessKey
- Log in to the Alibaba Cloud Console.
- Click on your username in the upper right corner and select “AccessKey Management.”
- Create a new AccessKey and securely save the
AccessKey ID
andAccessKey Secret
. - Authorize the following resources:
Permission Description AliyunCloudMonitorReadOnlyAccess For reading various monitoring metrics AliyunALBReadOnlyAccess For reading server group service names
-
Install Alibaba Cloud Grafana Datasource Plugin
- Copy the
dist
directory toplugins/aliyuncms-datasource
. - Set
allow_loading_unsigned_plugins = aliyuncms-datasource
in theini
file. - Restart the Grafana service to load the newly installed plugin.
- Copy the
-
Configure the Data Source
- Log in to Grafana, click on “Configuration” > “Data sources” in the left menu.
- Click “Add data source,” search for, and select “aliyun cms datasource.”
- On the configuration page, fill in your
UserID
,AccessKey ID
, andAccessKey Secret
. - Click “Save & Test” to confirm the configuration is correct.
-
Create a New Dashboard
- In the Grafana main interface, click on “Create” > “Dashboard” in the left menu.
- Click “Add new panel” to add a new panel.
-
Configure Panel Data
-
Customize Panel Display
- In the “Visualization” tab, select an appropriate chart type (line chart, bar chart, etc.).
- Configure the chart title, labels, and style to make it more intuitive and readable.
-
Save the Dashboard
- After completing the configuration, click “Apply” in the upper right corner to save the panel.
- On the dashboard page, click “Save dashboard” at the top to save the entire dashboard configuration.
If you have any questions or suggestions, feel free to join the Grafana Aliyun Telegram Group
Thank you for using Alibaba Cloud Grafana Datasource, and happy monitoring!