-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* datadog rum 적용 * 버전도 함께 보내도록 추가
- Loading branch information
Showing
8 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { datadogRum } from '@datadog/browser-rum'; | ||
|
||
const datadogApplicationId = import.meta.env.VITE_DATADOG_APPLICATION_ID; | ||
const datadogClientToken = import.meta.env.VITE_DATADOG_CLIENT_TOKEN; | ||
const datadogEnv = import.meta.env.VITE_DATADOG_ENV; | ||
|
||
export const initDatadogRum = () => { | ||
datadogRum.init({ | ||
applicationId: datadogApplicationId, | ||
clientToken: datadogClientToken, | ||
// `site` refers to the Datadog site parameter of your organization | ||
// see https://docs.datadoghq.com/getting_started/site/ | ||
site: 'us5.datadoghq.com', | ||
service: 'mohanyang-desktop', | ||
env: datadogEnv, | ||
// Specify a version number to identify the deployed version of your application in Datadog | ||
version: __APP_VERSION__, | ||
sessionSampleRate: 100, | ||
sessionReplaySampleRate: 20, | ||
allowFallbackToLocalStorage: true, | ||
trackUserInteractions: true, | ||
trackResources: true, | ||
trackLongTasks: true, | ||
defaultPrivacyLevel: 'mask-user-input', | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,6 +174,26 @@ | |
dependencies: | ||
"@jridgewell/trace-mapping" "0.3.9" | ||
|
||
"@datadog/[email protected]": | ||
version "5.26.0" | ||
resolved "https://registry.yarnpkg.com/@datadog/browser-core/-/browser-core-5.26.0.tgz#5ff355b2eacef7ea3d81ad325ca11266cb603dbb" | ||
integrity sha512-/UAS6q7xkc9bsjn5ziPC6PDs3B0Fyd+4PM/hxmXIvOxMFkJa1KmgWcqlkxq3i7TW/i2k2tOgtgTFUtjp4SyEmg== | ||
|
||
"@datadog/[email protected]": | ||
version "5.26.0" | ||
resolved "https://registry.yarnpkg.com/@datadog/browser-rum-core/-/browser-rum-core-5.26.0.tgz#d9615f455d75a16e74884b160d7f3387e78cf791" | ||
integrity sha512-DpWUAwsIbFXQ4nkQSYmshV8Kwc/dYy6YKD30XfwPINV7hhpcCStk09I77v1CFNahPEStiHHpguGj1pEa9fzjtw== | ||
dependencies: | ||
"@datadog/browser-core" "5.26.0" | ||
|
||
"@datadog/browser-rum@^5.26.0": | ||
version "5.26.0" | ||
resolved "https://registry.yarnpkg.com/@datadog/browser-rum/-/browser-rum-5.26.0.tgz#234a6909bd85adc448dc4f538c9f2f9c379b91b5" | ||
integrity sha512-Anleo9e0BgPKZ2Ur1vSuWFsDFPb9FOFLJGnDscvSMo+GrcHPVp21ZnmryDsgonI4Ouqj+bbKStksl8ozfVVGow== | ||
dependencies: | ||
"@datadog/browser-core" "5.26.0" | ||
"@datadog/browser-rum-core" "5.26.0" | ||
|
||
"@electron-forge/cli@^7.4.0": | ||
version "7.4.0" | ||
resolved "https://registry.yarnpkg.com/@electron-forge/cli/-/cli-7.4.0.tgz#db16f4bc678d1f6cec8890cdf86041e9c8336350" | ||
|