Review TrackAvailability() test results
This article explains how to review TrackAvailability() test results in the Azure portal and query the data using Log Analytics.
Prerequisites
- Workspace-based Application Insights resource
- Access to the source code of a function app in Azure Functions.
- Developer expertise capable of authoring custom code for TrackAvailability(), tailored to your specific business needs
Note
- TrackAvailability() requires that you have made a developer investment in custom code.
- Standard tests should always be used if possible as they require little investment and have few prerequisites.
Check availability
Start by reviewing the graph on the Availability tab of your Application Insights resource.
Note
Tests created with TrackAvailability()
will appear with CUSTOM next to the test name.
To see the end-to-end transaction details, under Drill into, select Successful or Failed. Then select a sample. You can also get to the end-to-end transaction details by selecting a data point on the graph.
Query in Log Analytics
You can use Log Analytics to view your availability results, dependencies, and more. To learn more about Log Analytics, see Log query overview.
Next steps
Feedback
Submit and view feedback for