Anthony-Nolan / Atlas

A free & open-source Donor Search Algorithm Service
GNU General Public License v3.0
9 stars 5 forks source link

Exclude custom events from Application Insights sampling #818

Closed zabeen closed 1 year ago

zabeen commented 1 year ago

Background on sampling: https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling

Example from Nova.SearchAlgorithm: https://github.com/Anthony-Nolan/Nova.SearchAlgorithm/blob/865d65fd8775a033be3fb39c32c26be9a3bb1971/temp/ApplicationInsights.config#L93

zabeen commented 1 year ago

Testing

Conclusion, custom events are no longer being sampled during periods of high logging activity. ✅

Testing Passed