-
Notifications
You must be signed in to change notification settings - Fork 19
refactor(libdd-data-pipeline): feature gate telemetry #1778
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
Open
hoolioh
wants to merge
13
commits into
main
Choose a base branch
from
julio/opt-in-telemetry
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c225085
wip: telemetry feature
hoolioh 32bfed2
chore: implement null struct pattern to reduce clutter
hoolioh f56152e
chore: extra builder into its own file
hoolioh 18fa53b
chore: streamline symbol visibility
hoolioh 360a459
chore: add license
hoolioh 3920f45
chore: remove cfg statements
hoolioh c00625e
fix: add telemetry feature
hoolioh 59d00d7
chore: address PR comments
hoolioh d2b9b9f
Merge branch 'main' into julio/opt-in-telemetry
hoolioh 5b8d114
chore: fix merge issues
hoolioh 0e0ad70
chore: fix clippy warnings
hoolioh 4a07716
fix: solve wasm32 compilation issue
hoolioh 36290ab
chore: reduce symbol visibility and streamlime symbol reexporting
hoolioh 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.
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.
Not sure if we should feature gate it, instead of making it a no-op since it's part of the API
You could imagine that we have a language where we want to build a shared library.
The code in the language would probably look like this
if we feature gate this, we can't have this switch at rutime and force them to use macros
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 was unsure what to do here. In order to maintain ABI compatibility it would be better to write no-op functions but, since most of the data-pipeline crate users are migrating to building their own version from source, I think it'd be cleaner to reduce the API surface as much as possible. At the end of the day they're going to control the features they want to introduce.
Anyway it's an interesting topic to discuss internally because our position is to encourage every consumer to build their own thing but we didn't discuss what to do with the prebuilt binary. I'll bring this up next common standup.