Alibaba Cloud MSE
Collect metrics information from Alibaba Cloud MSE (Microservices Engine).
Metrics¶
Install Func¶
It is recommended to activate Guance Integration - Extensions - DataFlux Func (Automata)
For self-deployed Func, please refer to Self-deployed Func
Activation Script¶
Tip: Please prepare in advance an Alibaba Cloud AK that meets the requirements (for simplicity, you can directly grant global read-only permission
ReadOnlyAccess
)
-
Log in to the Func console, click 【Script Market】 and go to the official script market, search for:
guance_aliyun_mse_cluster
-
After clicking 【Install】, enter the corresponding parameters: Alibaba Cloud AK ID, AK Secret, and account name.
-
Click 【Deploy and Run Script】; the system will automatically create a
Startup
script set and configure the corresponding startup scripts. -
Once enabled, you can see the corresponding auto-trigger configuration under «Manage / Auto Trigger Configuration». Clicking 【Execute】 allows you to run it immediately without waiting for the scheduled time. Wait a moment, then check the execution task records and corresponding logs.
Verification¶
- In «Manage / Auto Trigger Configuration», confirm whether the corresponding task has an automatic trigger configured. You can also check the task records and logs for any anomalies.
- In Guance, view «Infrastructure / Custom» to check if asset information exists.
- In Guance, check «Metrics» to see if there is corresponding monitoring data.