Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨Allow internal analytics intake #1863

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

amortemousque
Copy link
Collaborator

@amortemousque amortemousque commented Dec 9, 2022

Motivation

To mitigate ad blockers for internal analytics monitored sites, we can now configure a specific subdomain.

Changes

Add new init config option internalAnalyticsSubdomain
Only allow internal analytics intake for traffic going to datadoghq.com (including replica)

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@amortemousque amortemousque requested a review from a team as a code owner December 9, 2022 14:53
@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2022

Codecov Report

Merging #1863 (2e4a474) into main (e4f2bad) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1863   +/-   ##
=======================================
  Coverage   93.16%   93.17%           
=======================================
  Files         134      134           
  Lines        5135     5140    +5     
  Branches     1148     1149    +1     
=======================================
+ Hits         4784     4789    +5     
  Misses        351      351           
Impacted Files Coverage Δ
...ges/core/src/domain/configuration/configuration.ts 91.17% <ø> (ø)
...s/core/src/domain/configuration/endpointBuilder.ts 100.00% <100.00%> (ø)
...rum-core/src/domain/contexts/foregroundContexts.ts 90.76% <0.00%> (-6.16%) ⬇️
packages/core/src/domain/telemetry/telemetry.ts 100.00% <0.00%> (+3.84%) ⬆️
packages/rum-core/src/boot/startRum.ts 91.30% <0.00%> (+4.34%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@amortemousque amortemousque force-pushed the aymeric/internal-analytics-intake branch from 92251de to 2e4a474 Compare December 9, 2022 14:54
@amortemousque amortemousque marked this pull request as draft December 9, 2022 14:57
@amortemousque amortemousque marked this pull request as ready for review December 9, 2022 15:00
@amortemousque amortemousque merged commit d8c09c1 into main Dec 13, 2022
@amortemousque amortemousque deleted the aymeric/internal-analytics-intake branch December 13, 2022 08:13
liywjl pushed a commit that referenced this pull request Dec 13, 2022
liywjl added a commit that referenced this pull request Dec 13, 2022
* 🐛 [RUMF-1337] Fix incorrect fetch duration

♻️ remove unused imports

♻️ remove responseDurationInfo

♻️ remove unused import

* 🔥 remove `resolveDuration`

* 🔥 remove `resolveDuration`

* 🐛 [RUMF-1449]  workaround for Firefox memory leak when using Zone.js (#1860)

* ♻️ [RUMF-1449] rename EventEmitter to EventTarget

Use the native name rather than introducing our own concept.

* 🚚 [RUMF-1449] move addEventListener functions to a dedicated module

* 🐛 [RUMF-1449] implement a workaround for Firefox memory leak

* 👌🚚 move stubZoneJs in its own module

* 👷 Bump staging to staging-51

* 🔊 Collect computed and perf entry durations (#1861)

* 🔊 Collect computed and perf entry durations

* ✨Allow internal analytics subdomain (#1863)

* 🔥 remove `resolveDuration`

🔥 remove `resolveDuration`

Co-authored-by: Benoît <[email protected]>
Co-authored-by: ci.browser-sdk <[email protected]>
Co-authored-by: Aymeric <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants