You are deploying a Java-based web application to Azure App Service. The application is integrated with Application Insights for monitoring. During testing, you want to use Application Insights Profiler to identify code-level bottlenecks and analyze performance hot paths. The application is currently running on an App Service plan configured with the Free (F1) pricing tier, and it retrieves its telemetry settings from Azure Key Vault using a managed identity. Which of the following actions must you take to enable the Application Insights Profiler?
- AKeep the App Service plan on the Free tier and set the APPINSIGHTS_PROFILERFEATURE_VERSION app setting to enabled in the configuration.
- BInitialize the Application Insights SDK in the application code without specifying a connection string to let the SDK auto-discover the resource.
- Scale the App Service plan to the Basic tier or higher, as the Free tier does not support the Application Insights Profiler.Cevap
- DGrant the App Service's managed identity GET permissions on the Azure Key Vault secret that stores the Application Insights connection string.
Cevap
Scale the App Service plan to the Basic tier or higher, as the Free tier does not support the Application Insights Profiler.
The correct answer is to scale the App Service plan to the Basic tier or higher. Application Insights Profiler requires dedicated capabilities that are only available starting from the Basic tier of Azure App Service. Free and Shared tiers do not support Profiler operations.
Adım Adım Çözüm
Anahtar Kavram
Pricing tier requirements for Application Insights Profiler