Application insights alert rule specify checking time

Han Shih 施學翰 146 Reputation points
2022-05-03T05:23:29.347+00:00

Some questions when I trying to create alert rules:

  1. Can I specify the time when to trigger this checking mechanism?
  2. After making some modification of the rule, can I manually trigger the rules and check query result immediately?
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,645 questions
0 comments No comments
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 21,546 Reputation points Moderator
    2022-05-05T11:24:19.807+00:00

    Hi @Han Shih 施學翰 ,

    Welcome to Microsoft Q&A! Thanks for posting the question.

    I understand that you are trying to test alert rule in Azure monitor. Please note that the alert rules are based on signals which can be of any of the following types: metric, activity log, Application Insights, and log. (ref: Overview of alert rule). For most of these signal types, you can not define a specific time when this checking would happen. It continues to run in the background looking for the signals.

    However, some of the alert rule types (for example the Metric based and log based) you can specify the frequency of evaluation - which would not give you the exact time when it will run, but you will get an idea of time period when it is going to run. For example, if you specify the frequency as 5 minutes you may expect the rule to run within the next 5 minutes.

    Please let me know if you have any questions.

    ---
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.