Skip to content

Commit

Permalink
updates session rate for DD RUM (#32925)
Browse files Browse the repository at this point in the history
* updates session rate for DD RUM

* fixes it
  • Loading branch information
asg5704 authored Nov 8, 2024
1 parent 91b8ffc commit 86da24c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/platform/user/authentication/hooks/useDatadogRum.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ const initDDRum = () => {
sessionReplaySampleRate = 1,
trackInteractions = false,
trackUserInteractions = false,
sessionSampleRate = 100,
} =
{
vagovstaging: {
sessionSampleRate: 100,
sessionReplaySampleRate: 1,
trackInteractions: false,
trackUserInteractions: false,
},
vagovprod: {
sessionSampleRate: 20,
sessionReplaySampleRate: 10,
trackInteractions: true,
trackUserInteractions: true,
Expand All @@ -30,7 +33,7 @@ const initDDRum = () => {
site: 'ddog-gov.com',
service: 'identity',
env,
sessionSampleRate: 20,
sessionSampleRate,
sessionReplaySampleRate,
trackInteractions,
trackUserInteractions,
Expand Down

0 comments on commit 86da24c

Please sign in to comment.