Skip to content

Commit a6740a6

Browse files
committed
changing version and adding note to first part
1 parent 76a26bd commit a6740a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/azure-monitor/app/availability-azure-functions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ ms.date: 11/22/2019
1414

1515
This article will cover how to create an Azure Function with TrackAvailability() that will run periodically according to the configuration given in TimerTrigger function with your own business logic. The results of this test will be sent to your Application Insights resource, where you will be able to query for and alert on the availability results data. This allows you to create customized tests similar to what you can do via [Availability Monitoring](../../azure-monitor/app/monitor-web-app-availability.md) in the portal. Customized tests will allow you to write more complex availability tests than is possible using the portal UI, monitor an app inside of your Azure VNET, change the endpoint address, or create an availability test even if this feature is not available in your region.
1616

17+
> [!NOTE]
18+
> This example is designed solely to show you the mechanics of how the TrackAvailability() API call works within an Azure Function. Not how to write the underlying HTTP Test code/business logic that would be required to turn this into a fully functional availability test. By default if you walk through this example you will be creating an availability test that will always generate a failure.
19+
1720
## Create timer triggered function
1821

1922
- If you have an Application Insights Resource:
@@ -129,7 +132,7 @@ On the right under view files, select **Add**. Call the new file **function.proj
129132
<TargetFramework>netstandard2.0</TargetFramework>
130133
</PropertyGroup>
131134
<ItemGroup>
132-
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.6.1" />
135+
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.8.2" /> <!-- Ensure youre using the latest version -->
133136
</ItemGroup>
134137
</Project>
135138

0 commit comments

Comments
 (0)