Repository navigation
feat: Add support for Dynamic Sampling #1360
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
Merged
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
f87224c
WIP
stayallive f569973
Merge branch 'develop' into dsc
cleptric 053513f
feat: Add support for Dynamic Sampling
cleptric 3860d0d
Merge branch 'develop' into dsc
cleptric 6a9b291
Add failing test
cleptric 3d588e1
Possible phpstan fixes
cleptric 8e4a141
Revert visiblity change
cleptric b84c615
Add a transaction property
cleptric ff23c1f
Add missing Span::toBaggage test
cleptric 86021df
Merge branch 'develop' into dsc
cleptric a9e52a3
Update psalm-baseline.xml
cleptric e8f87e0
Fix DynamicSamplingContextTest::testFromTransaction()
stayallive db89201
Fix syntax error
cleptric 010de1f
Do not assign variable in if statement
cleptric 49ebab8
Change var name and update comments
cleptric d7ca5dd
Merge branch 'develop' into dsc
cleptric 54c228f
Use rawurldecode instead of urldecode
cleptric 561c67c
Fix comment
cleptric 0736fea
Update src/Serializer/PayloadSerializer.php
cleptric abcdd48
Change array order
cleptric e181fbd
Update src/Serializer/PayloadSerializer.php
cleptric d473337
Update comment format
cleptric c9b1ce0
Update src/Tracing/DynamicSamplingContext.php
cleptric cd4012c
Update tests/Tracing/DynamicSamplingContextTest.php
cleptric 6c03d86
Update tests/Tracing/DynamicSamplingContextTest.php
cleptric faea722
Update tests/Tracing/DynamicSamplingContextTest.php
cleptric aa4420c
Change visibility & update constructor
cleptric 49dc6bc
CS
cleptric 5d8402c
Use property diretcly
cleptric 927f830
Remove superfluous if condition
cleptric 860e3f5
Add return type hint
cleptric e7d141b
CS
cleptric 7a75703
Rename $dsc to $samplingContext
cleptric dd1cc1e
CS
cleptric 65daf54
CS
cleptric 6cb6c58
Update src/Event.php
cleptric e8a7e18
Merge branch 'develop' into dsc
cleptric a6d9db0
Add changelog
cleptric ee1613e
Fix psalm
cleptric d08c5a8
CS
cleptric 48dd102
CS
cleptric 6bcb1c3
Update test signature
cleptric 498ec1b
Simplyfy test
cleptric b47a030
Change test signature
cleptric 14134ec
Fix php 7.2
cleptric ee2a4b6
Simplyfy __toString
cleptric abc1eb2
CS
cleptric a5f26db
Use substr
cleptric 4a4e1f7
Update test
cleptric 7c78062
CS
cleptric 27c3d59
General coding style improvements
ste93cry b256753
Return a `DynamicSamplingContext` object from `DynamicSamplingContext…
ste93cry 564fba8
Use `str_starts_with()` instead of `strpos()`
ste93cry 56ae991
Trigger a deprecation error from the `TransactionContext::fromSentryT…
ste93cry f9703b2
Partly revert “Trigger a deprecation error from the `TransactionConte…
cleptric 511b3c9
Update CHANGELOG.md
cleptric 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
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
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.
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.