Skip to content

Commit

Permalink
Set App Insights sample rate to 1% (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
danlysiak committed Jun 14, 2023
1 parent dcfb6ea commit 6f84de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/app-insights/app-insights.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const enableAppInsights = () => {
.setAutoCollectConsole(true, true);
appInsights.defaultClient.context.tags[
appInsights.defaultClient.context.keys.cloudRole] = appInsightsRoleName;
appInsights.defaultClient.config.samplingPercentage = 1;
appInsights.start();
};

Expand Down

0 comments on commit 6f84de9

Please sign in to comment.