-
Notifications
You must be signed in to change notification settings - Fork 323
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
[o11y] Provide OTel-compatible user span representation in trace #3180
Conversation
20b2330
to
e5764c6
Compare
e5764c6
to
c3f12ae
Compare
This should be ready for review now – I'm not 100% certain about the span representation but we can still change it while this is marked as experimental. Making trace spans available is covered in a follow-up PR (#3209), I fear that it will require some more review so not including it in this one. |
kj::String spanTagStr(const Span::TagValue& tag); | ||
Span::TagValue spanTagClone(const Span::TagValue& tag); | ||
|
||
struct CompleteSpan { |
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 CompleteSpan
is descriptive enough. Should this be UserSubmitSpan
or something else? It's unfortunate that we'll need this on top of Span
, but this needs to store more information than Span has.
|
Hoping to get reviews on this soon – this will be useful for doing another demo on user tracing using the new interchange format. |
c3f12ae
to
d2c39ba
Compare
The generated output of |
d2c39ba
to
598986f
Compare
598986f
to
956a297
Compare
#3177 should land before this (listed as the first comment here). Also see the corresponding upstream PR.