-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-15067: [C++] Add tracing spans to the scanner #12609
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 all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
c78f0cf
ARROW-15067: [C++] Add tracing spans to the scanner
lidavidm 18dd557
ARROW-15067: [C++] Add ASAN suppressions for OTel
lidavidm 12abf3b
ARROW-15067: [C++] Add Valgrind suppressions for OTel
lidavidm d962563
ARROW-15067: [C++] Ensure spans propagate through call to scanner
lidavidm 7385c96
ARROW-15044: [C++] Use Then()
lidavidm 26d41e6
Fix rebase. Scanner::Scan was removed in ARROW-13554.
mbrobbel c5805e0
Propagating spans to asynchronous parquet reader
joosthooz f74b77e
Removed a span layer from scanner, added some config ifdefs
joosthooz e4fa2c9
Code formatting
joosthooz 6f97ba5
Added some attributes to parquet column reader span
joosthooz 3e00a5f
TieSpanToAsyncGenerator now ending span when asyncgen finishes
joosthooz 8a16e2d
Added some tracing macros to replace the prolific #ifdefs
joosthooz 25e654d
Processed review comments
joosthooz 837d56e
Changed lambda capture list to = to prevent errors when building with…
joosthooz e742035
Attempt at creating a struct wrapper for Future
joosthooz 17cb609
Forward declaring GetTracer in Future
joosthooz dac4c0a
Modifications to wrapper struct, still not working
joosthooz 05d4b41
Moved tracing span wrapper to ConcreteFutureImpl (still not working yet)
joosthooz f22cd44
Passing along tracing span to futures now seems to be working
joosthooz 9482c58
Guarding trace code with #ifdef ARROW_WITH_OPENTELEMETRY
joosthooz 287dfe7
Code formatting
joosthooz e3684b9
Removed unused line
joosthooz 2a52f65
Changes otel macros to work similar to ARROW_ASSIGN...
joosthooz fef837e
Attempt at forward otel spans through Executor::Submit (not working yet)
joosthooz e4f0fde
Using std::function to wrap the struct (now templated with Func retur…
joosthooz 4573548
Moved Executor task wrapping down into SpawnReal
joosthooz 61ffaae
Formatting
joosthooz 61c7af5
Addressed review comments
joosthooz d3cd60b
Reverted some unneeded changes
joosthooz b8f6c2f
Added another guarded macro
joosthooz 78e528f
Formatting
joosthooz 42798cc
Moving the generators when wrapping them
joosthooz 9abf327
Formatting
joosthooz b1d4689
Manually setting the current span as parent is not needed
joosthooz f32fda8
Removed some helper functions that were too similar in nature
joosthooz 71f6989
Merged similar tracing functions regarding generators, updated/added …
joosthooz 4a82a7a
Addressed review comment
joosthooz 90e2768
Formatting
joosthooz 3e24f54
Updated macros for when opentelemetry is disabled
joosthooz 7330f14
Removed some left-over code
joosthooz df2a6be
Small updates to otel helper function documentation
joosthooz 567fa30
Adding a comment about the use of macros for helper functions
joosthooz 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
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.
We should probably test and ensure we don't get issues anymore once the new version of OTel comes out.