-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Deprecate Remaining Span
class and interface fields
#10184
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
Comments
The rest looks good to me 👍 |
setting them via
|
yeah, retroactive update of start/end time is not possible. This needs to be rewritten to buffer the endtime somewhere (?) and set it - but I think I did this here already kind of #9972, so should work, I hope..! |
I will deprecate the timestamps! |
Clarify the API status of the `Span.getSpanJSON` method. This method is purely purposed for internal usage and users should not rely on it but instead on `spanToJSON`. ref #10184
This PR deprecates the `status` field on the span interface as well as on the class. The replacements for this field are * `span.setStatus` to set or update a span status (this API exists on the Otel Span interface but the types don't align yet) * `spanToJson` to read the status ref #10184
Uh oh!
There was an error while loading. Please reload this page.
I realized we still have a lot of fields on the
Span
class and interface that need to be deprecated.ref #10033
The text was updated successfully, but these errors were encountered: