Create Alert Rules for Performance, Availability and Failures of Azure Function Application

user20201 286 Reputation points
2022-09-13T10:59:42.677+00:00

I would like to setup alerts whenever the function app is down, when there are unusual behavior in error logging and when my function app is in slow performance. For the alerts in my Function app is down, I used availability metrics and its working fine but it took time to notify the users. Which metrics I can refer with to meet those scenarios? I am aware also with custom log search signal type in creating alert rule but no luck in defining specific query to meet the scenarios.

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,786 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,212 questions
0 comments No comments
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,411 Reputation points
    2022-09-15T10:39:22.94+00:00

    Hi @user20201 ,

    Thanks for reaching out to Q&A.

    As you mentioned, the custom log search can be used. However there are other metrics that can be leveraged.

    Http server errors metric can be used to alert the 5xx errors, so availability and server errors will be alerted.

    Response time metric can be used to alert the performance issues and requests in application queue can be used to alert throttling issues

    241350-image.png

    Hope this helps! Feel free to reach out to me if you have any queries or concerns.


0 additional answers

Sort by: Most helpful