Sampling in Application Insights
Sampling is a feature in Application Insights that should be configured when manually instrumenting applications.
To learn more about sampling when using the OpenTelemetry distro, see Sampling in Azure Monitor Application Insights with OpenTelemetry.
To learn more about sampling when using the Application Insights classic API, see Sampling in Application Insights.
Caution
We recommend the Azure Monitor OpenTelemetry Distro for new applications or customers to power Azure Monitor Application Insights. The Azure Monitor OpenTelemetry Distro delivers a similar functionality and experience as the Application Insights SDK. It's possible to migrate from the Application Insights SDK using the migration guides for .NET, Node.js, and Python, but we are still working to add a few more features for backwards compatibility.