#2373 Add option to use trackAvailability() instead of trackEvents() in applicationInsightsPublisher
What this PR does / why we need it:
Provide an option to publish healthCheck metrics through the TelemetryClient.TrackAvailability() method.
With this approach, healthCheck metrics are stored within the "AvailabilityResults" table in application insights. In addition, a CUSTOM web-test will automatically be created in Azure Application Insights which allows to monitor your application easily.
For more details, please have a look at the official documentation: https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability?tabs=track#create-an-availability-test
Which issue(s) this PR fixes:
#2373
Special notes for your reviewer:
Does this PR introduce a user-facing change?: The change does not include breaking-changes. The configuration is designed as optional opt-in.
Please make sure you've completed the relevant tasks for this PR, out of the following list:
- [x] Code compiles correctly
- [x] Created/updated tests
- [x] Unit tests passing
- [x] End-to-end tests passing
- [x] Extended the documentation
- [ ] Provided sample for the feature
@dotnet-policy-service agree company="Carl Zeiss Industrielle Messtechnik GmbH"
+1 on this getting approved
Hello @adamsitnik , i don't know who to contact regarding the PR. Is there any chance that my contribution will be reviewed / merged in near future? :)
Hello @Alirexaa , i don't know who to contact regarding the PR. Is there any chance that my contribution will be reviewed / merged in near future? :)