Skip to content
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

Feature Request : Support for toggling/disabling the smart detection functionality of azure app insights #8812

Closed
A30000049 opened this issue Oct 9, 2020 · 2 comments · Fixed by #10539
Milestone

Comments

@A30000049
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

It was identified recently that azure application insights enables its smart detection automatically when we use terraform to create app insights as per the document below,
https://www.terraform.io/docs/providers/azurerm/r/application_insights.html

As a result of that, there are lot of alerts generated to heap of users who has the monitoring reader role assigned in the azure platform and it creates a big noise for any azure app service deployments linked with a app insights service for monitoring purposes.
we are heavily depend on creating azure infra using terraform, So it would be great if we could get a way to disable these alerts in azurerm_application_insights resource.

New or Affected Resource(s)

  • azurerm_application_insights

Potential Terraform Configuration

provider "azurerm" {
  version         = ">=2.0.0" 
  features {}
}

resource "azurerm_application_insights" "shared" {
  name                = "randd-fakeapp-ai"
  location            = var.location
  resource_group_name = var.resource_group_name
  application_type    = "other" # 'other' means that a general instance is to be created
  tags                = var.tags
}

References

https://www.terraform.io/docs/providers/azurerm/r/application_insights.html
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-diagnostics
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-failure-diagnostics
https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-arm-config

@ghost
Copy link

ghost commented Feb 11, 2021

This has been released in version 2.47.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.47.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Mar 14, 2021

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.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants