You manage a .NET web application that is hosted on Azure App Service. The application is configured to send telemetry to an Application Insights instance.
You regularly receive email notifications from Application Insights regarding 'Dependency Latency Degradation' anomalies. You verify that these latency spikes are expected because they occur during a third-party database's scheduled daily maintenance window. You want to stop receiving these specific proactive email notifications without stopping the collection of dependency response time telemetry or affecting other anomaly detection rules.
Which action should you perform to meet this requirement?
- Navigate to the Application Insights resource in the Azure portal, select Smart Detection under the Investigate section, select the Dependency Latency Degradation rule, and click Disable.Cevap
- BModify the appsettings.json file in the application source code, and set the Application Insights connection string to an empty string for dependency tracking.
- CScale the App Service plan hosting the web application from the Free (F1) tier to the Premium (P1v3) tier to automatically disable warning alerts.
- DCreate a new Key Vault access policy that grants the App Service system-assigned managed identity permissions to decrypt the alert emails.
Cevap
Navigate to the Application Insights resource in the Azure portal, select Smart Detection under the Investigate section, select the Dependency Latency Degradation rule, and click Disable.
The correct action is to disable the Dependency Latency Degradation rule in the Smart Detection blade of the Application Insights resource in the Azure portal. Smart Detection rules run proactively on telemetry collected by Application Insights and can be disabled or configured individually to avoid unnecessary alerts during known maintenance windows without stopping raw telemetry ingestion.
Adım Adım Çözüm
Anahtar Kavram
Application Insights Smart Detection proactively monitors telemetry for performance anomalies and can be configured or disabled per-rule in the Azure Portal.