Skip to content

Commit

Permalink
chore: add frustration (#1888)
Browse files Browse the repository at this point in the history
had to remove as const cast as the lib type doesn't allow readonly
assignment
  • Loading branch information
seaerchin authored May 28, 2024
1 parent 0836a4b commit b76926d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/constants/datadog.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
export const DATADOG_RUM_SETTINGS = {
import { RumInitConfiguration } from "@datadog/browser-rum"

export const DATADOG_RUM_SETTINGS: Omit<
RumInitConfiguration,
"applicationId" | "clientToken"
> = {
sessionSampleRate: 100,
sessionReplaySampleRate: 100,
trackUserInteractions: true,
trackResources: true,
trackLongTasks: true,
defaultPrivacyLevel: "mask-user-input",
enableExperimentalFeatures: ["clickmap"],
} as const
}

0 comments on commit b76926d

Please sign in to comment.