Reputation: 2148
I have an application insights instance and the "Availability" graph on the Overview page is showing zero availability. However, I have two app services, both of which are configured with health check URLs, and both of which are clearly being pinged and are returning 204
s:
It feels to me like there's some kind of disconnection between an app service health check and app insights incorporating that health check into its availability stats. What might cause this?
Upvotes: 0
Views: 813
Reputation: 18526
By default, the availability tests check for status code 200
, and only that. You can modify it by going to "availability" on your AppService.
https://learn.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
HTTP response
The returned status code that is counted as a success. 200 is the code that indicates that a normal web page has been returned.
Upvotes: 1