Skip to content

Alerts in ADP

Azure Monitor for containers now includes recommended alerts. These preconfigured metrics alerts enable monitoring the system resources when they are running on peak capacity or hitting failure rates.

image.png

Metric Alert Rules

Metric alerts in Azure Monitor proactively identify issues related to system resources of your Azure resources, including monitored Kubernetes clusters.

Container insights provides preconfigured alert rules so that we will use those as starting point...

Container insights in Azure Monitor now supports alerts based on Prometheus metrics, and metric rules will be retired on March 14, 2026. If you already use alerts based on custom metrics, you should migrate to Prometheus alerts and disable the equivalent custom metric alerts. As of August 15, 2023, you will no longer be able to configure new custom metric recommended alerts using the portal.

Metric alert rules in Container insights (preview)

Prometheus rules

Prometheus alert rules use metric data from your Kubernetes cluster sent to Azure Monitor managed service for Prometheus.

Enable Prometheus Alert Rules by deploying the community and recommended alerts using the Bicep template. Follow the README.md file in the same folder for how to deploy. https://github.com/Azure/prometheus-collector/blob/main/AddonBicepTemplate/AzureMonitorAlertsProfile.bicep

Configure alertable metrics in ConfigMaps

The tutorial below specifies how you can configure the alertable metrics in ConfigMaps.

Additional Documentation

Flux Alerts

Flux Alerts are configured to notify teams about the status of their GitOps pipelines.

The Flux controllers emit Kubernetes events whenever a resource status changes. You can use the notification-controller to forward these events to Slack, Microsoft Teams, Discord and others. The notification controller is part of the default Flux installation

The following alerts will be configured for the following scenarios:

  • Reconciliation failures in the cluster
  • A new version of an app was deployed and if the deployment is healthy

Slack Integration