0

I would like to configure Alert Rules in Azure Application Insights. Is this something that can be done using Terraform or i have to do it through the portal?

I would like to be alerted on the below things :

  1. Whenever the average available memory is less than 200 megabyte (Signal Type = Metrics)
  2. Whenever the average process cpu is greater than 80 (Signal Type = Metrics)
  3. Whenever the average server response time is greater than 5000 milliseconds (Signal Type = Metrics)
  4. Whenever the count of failed requests is greater than 5 (Signal Type = Metrics)
  5. Failure Anomalies - prodstats-masterdata-sandbox (Signal Type = Smart Detector)

1 Answer 1

0

You can do it using terraform azurerm providers azurerm_monitor_metric_alert and azurerm_monitor_smart_detector_alert_rule.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.