-
Notifications
You must be signed in to change notification settings - Fork 451
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
Separate SDK into its own package #721
Comments
Yeah could be nice to split out the api and sdk into their own crates. @GregBowyer would you be open to giving this project access to https://crates.io/crates/opentelemetry-ap and https://crates.io/crates/opentelemetry-sdk? |
Yes
…On Mon, Feb 7, 2022, at 7:44 AM, Julian Tescher wrote:
Yeah could be nice to split out the api and sdk into their own crates. @GregBowyer <https://github.com/GregBowyer> would you be open to giving this project access to https://crates.io/crates/opentelemetry-ap and https://crates.io/crates/opentelemetry-sdk?
—
Reply to this email directly, view it on GitHub <#721 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAA6X32FRXZW3OVIINBR6F3UZ7SHJANCNFSM5NWVU6LQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I would just assume keep Potentially |
So how do we do this, other than I would like to confirm with a gpg signature whats the policy on the crates.io side
…On Mon, Feb 7, 2022, at 2:28 PM, Harold Dost wrote:
I would just assume keep `opentelemetry` for the API segment and `opentelemetry-sdk` be the SDK. Follows kinda the go implementation a bit https://github.com/open-telemetry/opentelemetry-go/blob/main/example/prometheus/main.go not sure if there's an advantage other than maybe delineating between the two.
—
Reply to this email directly, view it on GitHub <#721 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAA6X3ZSHK27TGXBDCA2CNLU2BBSDANCNFSM5NWVU6LQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@GregBowyer Not sure what their transfer method is, but I think you can add a github group like @open-telemetry/rust-maintainers to the crate owners list, or if that is a hassle just add @djc, @TommyCpp and myself 🙏 |
@GregBowyer thanks! |
@GregBowyer Thanks a lot! |
@TommyCpp @jtescher did you have any opinions on my suggestion ? #721 (comment) |
I also like the idea of using the opentelemetry crate for the API. Don't know what they do in other languages, though? |
Java
Python
Ruby
Erlang
Go
Swift
Js
I think the ergonomics of With that being said i think I'd agree that it probably makes more sense to align and make the packages Also, then maybe have |
Took a quick look at splitting things, will help but there are some breaking changes necessary as some of the api trats depend on types currently in the sdk ( Also there is a choice to be made on where "sdk api" traits (e.g. |
100% agree, not necessarily sure if that's an issue. what would the downsides be with that? |
For the SpanData it looks like there's a Noop Span Exporter, which doesn't really need to exist and then also a testing span exporter, which if we follow others again might even be it's own package which would rely on SDK. However it doesn't need to exist in the API either. |
Generally speaking. We can build |
I think if the users just want to custom exporter then it's OK for them to rely on SDK create. IMHO rebuilding SDK only applies to those who find the current span processing are not idea for their use cases and want to replace everything from |
Thank you @jtescher :) |
Based on the Usage Guidelines in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/library-guidelines.md does it make sense to split the SDK out into its own crate?
I feel like with the current implementation it kinda already achieves the noop and since unused code won't be in the final binary I suppose it doesn't matter all that much.
Related: #330
The text was updated successfully, but these errors were encountered: