You need to set up availability monitoring for a public website using Application Insights. The test must periodically send an HTTP GET request to the homepage, verify that it returns an HTTP response, and run from multiple global geographic locations. You want to accomplish this with minimal configuration effort and without writing or deploying any custom code. Which monitoring configuration should you use?
- Configure a Standard availability test in the Application Insights resource.Cevap
- BCreate a custom console application that calls the TrackAvailability method using the TelemetryClient class, omitting the connection string configuration.
- CDefine an App Service autoscale rule with custom metrics to trigger availability checks when traffic increases.
- DImplement an Azure API Management policy in the outbound section to redirect ping requests to the homepage.
Cevap
Configure a Standard availability test in the Application Insights resource.
Configuring a Standard availability test allows developers to monitor a single URL endpoint with multi-region testing, custom status codes, and HTTP verbs directly from the Azure portal without any coding or deployment overhead.
Adım Adım Çözüm
Anahtar Kavram
Application Insights Standard availability tests allow codeless monitoring of public endpoints using HTTP verbs, status code matching, and multi-region testing.