-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_application_insights_smart_detection_rule
falls short in managing these additional rules
#11999
Comments
Once the issue is acknowledged, I'm happy to make the required changes and submit a PR, please let me know. |
I've submitted a PR to address this: #12012 |
azurerm_application_insights_smart_detection_rule
falls short in managing these additional rules
This functionality has been released in v2.72.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Currently, the provider only accepts three smart detection rules under application insights:
["Slow server response time", "Slow page load time", "Long dependency duration"]
But the following rules need to be included as well:
["Degradation in server response time", "Degradation in dependency duration", "Degradation in trace severity ratio", "Abnormal rise in exception volume", "Potential memory leak detected" , "Potential security issue detected", "Abnormal rise in daily data volume"]
This feature will enable us to fully manage all smart detection detection under AI insights. In the past, all these rules were being created by default in azure, and I assume many would like to disable these given the unwanted email notifications generated by these rules. But because of the shortcoming in the provider, we are unable to configure or disable all these rules in our IaC.
New or Affected Resource(s)
Potential Terraform Configuration
azurerm_application_insights_smart_detection_rule
(excerpt from the doc)
We need to include all the rules as mentioned earlier.
References
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-arm-config
#8812
#10539
#10563
Error encountered when trying to manage the missing smart detection rules:
The text was updated successfully, but these errors were encountered: