This project is a sample .NET 6 function app which defines Timer/Http trigger function(s) that initiate an async http request to remotely call an app service that is isolated from public network access for Availability Test call(s) that are then logged into App Insights.
The project was setup following the below documentation.
- Disconnected or no ingress scenarios (Azure Monitor)
- Create and run custom availability tests by using Azure Functions
NOTE: Project setup using VS 2022 installed with Azure specific workloads - see documentation below: Configure Visual Studio for Azure development with .NET Overview: Azure integration
Dependencies:
NOTE: The version in this project for the dependency (Microsoft.ApplicationInsights) is 2.21.0.
Also, this project can be run locally and successfully demonstrate data ingestion into Application Insights by adding the app setting 'APPINSIGHTS_INSTRUMENTATIONKEY' with a valid instrumentation key value into the project local.settings.json file.