-
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
Tracing GA tracking #330
Comments
Feels like would be a difficult criteria to meet now as most of the crates in Rust are pre 1.0 |
@TommyCpp good point, clarified it to only include ones in public interfaces |
The spec around tracing has stabilized and I see they are checking with language SIG on their progress to GA on tracing in the maintainer meeting logs. We might want to review the spec and see what we are missing. I can tell we still need to add Also, we might need to add logs in our API and SDK. Now that the Rust also provides a guideline on library https://rust-lang.github.io/api-guidelines/checklist.html, we could walk through this and see if there are improvements we should make. |
I think we should probably use tracing instead of log? |
@djc I am a little worried that we would have cycle dependency if we want to use |
Related to @TommyCpp - have you considered splitting out the |
That could work, but we need to first make sure the On the other hand, we can still declare API stable while working on the SDK if I understand the VERSIONING.md correctly. |
If they are all part of the same crate and you break the public API of the
opentelemetry ).
I have just gone through this exciting exercise for 20+ applications and 10+ libraries (REST APIs, gRPC APIs, AMQP consumers, REST clients, etc.) - it takes a long time. |
Yeah, you have a good point. I think we should review our status on backward compatibility and how far we are towards tracing GA. If we decided we still need a while to stable the SDK public API after we stabilized tracing API, maybe it's a good idea to separate the SDK from API. @jtescher / @djc / @frigus02 any thoughts? |
A lot of these are now done, could make sense to do another pass to see what changes are needed before GA, if the majority of the changes are in the SDK only then we may make life easier for some folks by separating them. |
Docs:
|
Spec compliance:
Value
with the spec (api::Value is much more loosely typed than the spec #317)ShouldSample
's parent context parameter (Update ShouldSample's parent parameter to be Context #290)is_recording
is false after span ends (Ensureis_recording
is false after span ends #265)std::result::Result
type (Update ExportResult: use std::result::Result type #331)exporters
module to sdk (Consider movingexporters
module to sdk #340)API ergonomics:
&str
andString
as parameters where possibleBackwards compatibility:
pub
items should be exposedserde
feature Serde support #576The text was updated successfully, but these errors were encountered: