Can we deploy azure application insights alert using yaml

NK, SatishKumar 71 Reputation points
2024-04-18T10:43:17.61+00:00

As an azure platform team, we own all the application insights across our organization. we want application team to manage alert on application insights via repository through yaml deployment. Can deploy yaml to create, update and delete alerts?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,805 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 19,936 Reputation points
    2024-04-19T07:09:01.52+00:00

    @NK, SatishKumar I could not understand the question completely, hence providing relevant information below. The following information should help you understand options available for Azure Monitor alerts (including Application insights alerts) and add some contextual information in case you have any further questions.

    1. YAML is a human-readable data serialization language that is often used for writing configuration files. It is generally used for declaring and maintaining Kubernetes clusters among other use cases.
    2. In Azure, there are primarily 3 languages that can be used to provision resources - Bicep, ARM templates and Terraform AzAPI provider - Define resources with Bicep, ARM templates, and Terraform AzAPI provider. Along with these options, you can also use Azure PowerShell, AzCli to create/manage resources in Azure.

    In view of the above information, the available options to manage metrics and log search alerts (which is common to Azure Monitor including Application Insights) are available here - Manage metric alert rules with the Azure CLI

    Hope this helps. In case the information above does not help, please add more context/follow-up question for it.

    0 comments No comments