-
Notifications
You must be signed in to change notification settings - Fork 257
feat: use batch ingestion for browser analytics requests #3616
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
Closed
Closed
Changes from 4 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
60e5811
feat: use batch ingestion for browser analytics requests
marandaneto 0f7bc3c
Merge branch 'main' into feat/browser-batch-ingestion
marandaneto c844223
fix browser batch retry review feedback
marandaneto 8786387
omit unused query params for browser batch requests
marandaneto fca8c78
route beacon analytics requests through batch
marandaneto 50258eb
default browser analytics endpoint to batch
marandaneto 1df1f02
remove deprecated ip query param
marandaneto 7daa329
omit timestamp query param for analytics batches
marandaneto 441f598
honor configured analytics endpoint payload format
marandaneto 61d3611
document remote analytics endpoint default
marandaneto 000f22b
Merge branch 'main' into feat/browser-batch-ingestion
marandaneto 4b502aa
update browser terser mangled names
marandaneto 77c40cd
update browser analytics endpoint test expectations
marandaneto 2f81536
fix sendBeacon content encoding test expectation
marandaneto 596de30
avoid startsWith for IE compatibility
marandaneto e3cc0bd
chore: disallow startsWith in browser sdk
marandaneto 505f21f
test: update playwright mocks for batch ingestion
marandaneto 51d74dc
test: log batch ingestion in testcafe
marandaneto b6951a8
fix: remove unused retry count query param
marandaneto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,5 @@ | ||
| --- | ||
| 'posthog-js': minor | ||
| --- | ||
|
|
||
| Send regular browser analytics requests through batch ingestion with HTTP gzip encoding while preserving legacy sendBeacon delivery. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.