View pre-configured dashboards and performance metrics for your ACS cluster by using Managed Service for Prometheus. You can also configure alert notifications, define custom metrics, and visualize data with Grafana.
Managed Service for Prometheus
Managed Service for Prometheus is fully integrated with the open source Prometheus ecosystem. It supports monitoring for a wide range of components, provides out-of-the-box dashboards, and delivers a fully managed Prometheus service. ACS clusters are fully compatible with the Prometheus ecosystem. Managed Service for Prometheus handles infrastructure management, including data storage, visualization, and system operations, so you can focus on your applications. For more information, see What is Managed Service for Prometheus?.
Prometheus monitoring agent
When you create an ACS cluster, the managed Prometheus monitoring agent is installed by default. In the left-side navigation pane, choose Operations, and then select Prometheus Monitoring.
|
Type |
Description |
|
Managed |
Managed Service for Prometheus directly collects monitoring data from containers in your cluster, providing an out-of-the-box, serverless experience. Note
When you create an ACS cluster, Managed Service for Prometheus is enabled by default. For more information, see Create an ACS cluster. This service is free of charge. |
Configure alert notifications
Configure alert rules for key metrics to automatically send notifications through channels like email, SMS, or DingTalk when anomalies occur.
-
Log on to the ARMS console. In the left-side navigation pane, choose .
-
On the Notification Objects page, select a notification method and create a notification policy.
-
In the left-side navigation pane of the ARMS console, choose .
-
On the Prometheus alert rules page, click Create Prometheus Alert Rule.
For detailed configuration instructions, see Create a Prometheus alert rule.
Customize Prometheus metrics
Managed Service for Prometheus provides advanced methods for collecting and configuring metrics. For more information, see the following topics:
-
Default service discovery: Default service discovery.
-
Collect custom metrics by using a ServiceMonitor: Collect custom metrics by using ServiceMonitor.
-
Collect custom metrics by using a PodMonitor: Collect custom metrics by using PodMonitor.
-
Other Prometheus service discovery configurations: Other Prometheus service discovery configurations.
Enable cluster network monitoring (CoreDNS and Ingress traffic monitoring)
ACS is integrated with Application Real-Time Monitoring Service (ARMS) by default to collect core management and basic metrics for pods and containers free of charge. However, metrics for CoreDNS and cluster Ingress are not collected. To configure collection of these metrics, log on to the . Data collection for these two components is a billable feature.
In the ACS console, go to Operations > Add-ons in the left-side navigation pane. On this page, you can install the managed ALB Ingress Controller and CoreDNS components as needed.
Alternatively, you can install the open source versions in your cluster. For configuration details, see Integration overview.