Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Instruments ASP.NET Core and Node.js webapps hosted in Azure to send telemetry to Application Insights.
73% 91%+18 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 16 of 22 without it.
For a C# ASP.NET Core application hosted on Azure App Service as code, should we prefer manual code modifications or auto-instrumentation?
Recommends auto-instrumentation over manual code modification.
3 of 3 safety checks passed
# Create App Insights resource (3 steps) ## Add the Application Insights extension az extension add -n application-insights ## Create a Log Analytics workspace az monitor log-analytics workspace create --resource-group $resourceGroupName --workspace-name $logAnalyticsWorkspaceName --location $azureRegionName ## Create the Application Insights resource az monitor app-insights component create --app $applicationInsightsResourceName --location $azureRegionName --resource-group $resourceGroupName --workspace $logAnalyticsWorkspaceName # Query connection string of App Insights az monitor app-insights component show --app $applicationInsightsResourceName --resource-group $resourceGroupName --query connectionString --output tsv # Set environment variable of App Service az webapp config appsettings set --resource-group $resourceGroupName --name $appName --settings $key=$value # Set environment variable of Container App # Or update an existing container app az containerapp update -n $containerAppName -g $resourceGroupName --set-env-vars $key=$value # Set environment variable of Function App az functionapp config appsettings set --name $functionName --resource-group $ResourceGroupName --settings $key=$value
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.