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

✨ [RUMF-1469] introduce a new proxy initialization parameter #1947

Merged
merged 8 commits into from Feb 8, 2023

Conversation

BenoitZugmeyer
Copy link
Member

Motivation

Introduce a new proxy strategy, similar to current one but without providing the intake origin (only the URL path and parameters).

Changes

  • Deprecate the proxyUrl initialization parameter
  • Introduce a new proxy initialization parameter that should be used in place of proxyUrl

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner January 13, 2023 16:52
@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2023

Codecov Report

Merging #1947 (aaa8d95) into main (81296f9) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1947      +/-   ##
==========================================
+ Coverage   93.59%   93.60%   +0.01%     
==========================================
  Files         145      145              
  Lines        5511     5522      +11     
  Branches     1257     1257              
==========================================
+ Hits         5158     5169      +11     
  Misses        353      353              
Impacted Files Coverage Δ
...ges/core/src/domain/configuration/configuration.ts 91.89% <100.00%> (+0.22%) ⬆️
...s/core/src/domain/configuration/endpointBuilder.ts 100.00% <100.00%> (ø)
...src/domain/configuration/transportConfiguration.ts 100.00% <100.00%> (ø)

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

@amortemousque
Copy link
Contributor

Nice!

This makes things a bit more explicit
The new logic to determine whether an URL looks like an intake URL is a
bit more strict, so we need the `ddforward=/api/v2/rum?` URL parameter.
Use a separate parameter to tell that it's coming from the EventBridge
@bcaudan bcaudan self-requested a review February 7, 2023 16:09
@BenoitZugmeyer BenoitZugmeyer merged commit 454644d into main Feb 8, 2023
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/new-proxy-option branch February 8, 2023 10:38
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.

None yet

4 participants