This repository was archived by the owner on Sep 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 246
Don't trace if it's a http request made by the exporter #289
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a7695f7
Don't trace if it's a http request made by the exporter
geobeau 7d76498
fix lint
geobeau b59b175
Don't cover this part
geobeau dbe01ce
Handle response without span
geobeau e02e370
Change name of disable_tracing_url to disable_tracing_path
geobeau 0edecbb
Add a blacklist system to prevent tracing specific hostnames
geobeau 4252e1e
Revert "Change name of disable_tracing_url to disable_tracing_path"
geobeau bd94d97
Add integration with Flask and Django
geobeau 7c78b42
Add integration with requests
geobeau 04da048
Update documentation
geobeau b1e1295
Fix lint
geobeau 1840cd8
Fix tests and lint
geobeau e354219
Add testing for blacklist hostname
geobeau cde4fa9
Merge branch 'master' into fix-recursion
geobeau 3e6f14e
Merge branch 'master' into fix-recursion
geobeau e62fdb0
Merge branch 'master' into fix-recursion
geobeau ac5f824
Merge branch 'master' into fix-recursion
geobeau 67d11c7
Merge branch 'master' into fix-recursion
geobeau 1294563
Merge branch 'master' into fix-recursion
geobeau e1d4840
Merge branch 'master' into fix-recursion
geobeau 7c88234
Merge branch 'master' into fix-recursion
c24t 51f3a7d
Merge branch 'master' into fix-recursion
c24t 0a30edd
Set mock tracer's propagator in test
c24t 92769df
Merge branch 'master' into fix-recursion
c24t e6c95da
Merge branch 'master' into fix-recursion
c24t 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be combined with the
disable_tracing_urlfunction in this file?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure. They both disable tracing but one is working on paths (blacklist path starting with an element from the list) and the other one with hostname (blacklist hostname/port exactly matching) with different default value. I think it's nice to have them separated for readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liyanhui1228 Do you stand on your position on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine to separate them :)