You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-metric-alerts.md
+3-46Lines changed: 3 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,59 +94,16 @@ The configuration change can take a few minutes to finish before it takes effect
94
94
95
95
## Metric alert rules
96
96
97
+
> [!IMPORTANT]
98
+
> Metric alerts (preview) is retiring. Please refer to the migration guidance at [Migrate from Container insights recommended alerts to Prometheus recommended alert rules (preview)](container-insights-recommended-alerts-migrate.md) and take the recommended actions to migrate to Prometheus metric alerts (preview) before 14 March 2026.
99
+
97
100
[Metric alert rules](../alerts/alerts-types.md#metric-alerts) use [custom metric data from your Kubernetes cluster](container-insights-custom-metrics.md).
98
101
99
102
### Prerequisites
100
103
101
104
- You might need to enable collection of custom metrics for your cluster. See [Metrics collected by Container insights](container-insights-custom-metrics.md).
102
105
- See the supported regions for custom metrics at [Supported regions](../essentials/metrics-custom-overview.md#supported-regions).
103
106
104
-
### Enable and configure alert rules
105
-
106
-
#### [Azure portal](#tab/azure-portal)
107
-
108
-
#### Enable alert rules
109
-
110
-
1. On the **Insights** menu for your cluster, select **Recommended alerts**.
111
-
112
-
:::image type="content" source="media/container-insights-metric-alerts/command-bar-recommended-alerts.png" lightbox="media/container-insights-metric-alerts/command-bar-recommended-alerts.png" alt-text="Screenshot that shows recommended alerts option in Container insights.":::
113
-
114
-
1. Toggle the **Status** for each alert rule to enable. The alert rule is created and the rule name updates to include a link to the new alert resource.
115
-
116
-
:::image type="content" source="media/container-insights-metric-alerts/recommended-alerts-pane-enable.png" lightbox="media/container-insights-metric-alerts/recommended-alerts-pane-enable.png" alt-text="Screenshot that shows a list of recommended alerts and options for enabling each.":::
117
-
118
-
1. Alert rules aren't associated with an [action group](../alerts/action-groups.md) to notify users that an alert has been triggered. Select **No action group assigned** to open the **Action Groups** page. Specify an existing action group or create an action group by selecting **Create action group**.
119
-
120
-
:::image type="content" source="media/container-insights-metric-alerts/select-action-group.png" lightbox="media/container-insights-metric-alerts/select-action-group.png" alt-text="Screenshot that shows selecting an action group.":::
121
-
122
-
#### Edit alert rules
123
-
124
-
To edit the threshold for a rule or configure an [action group](../alerts/action-groups.md) for your Azure Kubernetes Service (AKS) cluster.
125
-
126
-
1. From Container insights for your cluster, select **Recommended alerts**.
127
-
2. Select the **Rule Name** to open the alert rule.
128
-
3. See [Create an alert rule](../alerts/alerts-create-new-alert-rule.md?tabs=metric) for information on the alert rule settings.
129
-
130
-
#### Disable alert rules
131
-
132
-
1. From Container insights for your cluster, select **Recommended alerts**.
133
-
1. Change the status for the alert rule to **Disabled**.
134
-
135
-
### [Resource Manager](#tab/resource-manager)
136
-
137
-
For custom metrics, a separate ARM template is provided for each alert rule.
138
-
139
-
#### Enable alert rules
140
-
141
-
1. Download one or all of the available templates that describe how to create the alert from [GitHub](https://github.com/microsoft/Docker-Provider/tree/ci_dev/alerts/recommended_alerts_ARM).
142
-
1. Create and use a [parameters file](../../azure-resource-manager/templates/parameter-files.md) as a JSON to set the values required to create the alert rule.
143
-
1. Deploy the template by using any standard methods for installing ARM templates. For guidance, see [ARM template samples for Azure Monitor](../resource-manager-samples.md).
144
-
145
-
#### Disable alert rules
146
-
147
-
To disable custom alert rules, use the same ARM template to create the rule, but change the `isEnabled` value in the parameters file to `false`.
title: Migrate from Container insights recommended alerts to Prometheus recommended alert rules (preview)
3
+
description: Describes how to migrate from Container insights recommended alerts to Prometheus recommended alert rules (preview) .
4
+
ms.topic: conceptual
5
+
ms.date: 03/07/2023
6
+
ms.reviewer: aul
7
+
---
8
+
9
+
# Migrate from Container insights recommended alerts to Prometheus recommended alert rules (preview)
10
+
Container insights recommended alerts (custom metrics) (preview) will retire on 14 March 2026. If you are using this feature to monitor your Kubernetes cluster and would like to continue proactively identifying issues related to your Kubernetes cluster, transition to Prometheus recommended alert rules (preview) before 14 March 2026.
11
+
12
+
This guide walks through migrating from Container insights recommended alerts (custom metrics) (preview) to Prometheus recommended alert rules (preview) and retire Container insights recommended alerts (custom metrics) (preview) from Kubernetes clusters.
Once you have configured Prometheus metric alerts, offboard from Container insights recommended alerts (custom metrics) (preview) to avoid duplicate alerts. Follow the steps at [Disable alert rules](container-insights-metric-alerts.md#disable-alert-rules) to remove Container insights recommended alerts (custom metrics) (preview) feature from your clusters.
20
+
21
+
22
+
## Next steps
23
+
24
+
- Read about the [different alert rule types in Azure Monitor](../alerts/alerts-types.md).
25
+
- Read about [alerting rule groups in Azure Monitor managed service for Prometheus](../essentials/prometheus-rule-groups.md).
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-troubleshoot.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,10 @@ The solution to this issue is to clean up the existing resources of the Containe
179
179
180
180
If the preceding steps didn't resolve the installation of Azure Monitor Containers Extension issues, create a support ticket to send to Microsoft for further investigation.
181
181
182
+
## Duplicate alerts being received
183
+
You may have enabled Prometheus alert rules without disabling Container insights recommended alerts. See [Migrate from Container insights recommended alerts to Prometheus recommended alert rules (preview)](container-insights-recommended-alerts-migrate.md).
184
+
185
+
182
186
## Next steps
183
187
184
188
When monitoring is enabled to capture health metrics for the AKS cluster nodes and pods, these health metrics are available in the Azure portal. To learn how to use Container insights, see [View Azure Kubernetes Service health](container-insights-analyze.md).
0 commit comments