Skip to content

Commit a92b50f

Browse files
Merge pull request #234192 from Sohamdg081992/AddBicepTempAlerts
Add bicep template for deploying alerts
2 parents ac16219 + e2475e2 commit a92b50f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

articles/azure-monitor/containers/container-insights-metric-alerts.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,20 @@ Your cluster must be configured to send metrics to [Azure Monitor managed servic
3232

3333
### Enable Prometheus alert rules
3434

35-
The only method currently available for creating Prometheus alert rules is an Azure Resource Manager template (ARM template).
35+
The methods currently available for creating Prometheus alert rules are Azure Resource Manager template (ARM template) and Bicep template.
36+
37+
### [ARM template](#tab/arm-template)
3638

3739
1. Download the template that includes the set of alert rules you want to enable. For a list of the rules for each, see [Alert rule details](#alert-rule-details).
3840

3941
- [Community alerts](https://aka.ms/azureprometheus-communityalerts)
4042
- [Recommended alerts](https://aka.ms/azureprometheus-recommendedalerts)
4143

42-
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#deploy-the-sample-templates).
44+
2. 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#deploy-the-sample-templates).
45+
46+
### [Bicep template](#tab/bicep)
47+
48+
1. To deploy community and recommended alerts, follow this [template](https://aka.ms/azureprometheus-alerts-bicep) and follow the README.md file in the same folder for how to deploy.
4349

4450
> [!NOTE]
4551
> Although you can create the Prometheus alert in a resource group different from the target resource, use the same resource group as your target resource.

0 commit comments

Comments
 (0)