-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add 'spanId' to Trace interface #805
Add 'spanId' to Trace interface #805
Conversation
Add `Applicative` constraint to new `spanId` field in interface to provide default for backwards compatibility. Co-authored-by: Arman Bilge <[email protected]>
Nice one Greg! I need this and I was about to make an identical PR. |
@armanbilge Any chance to get this approved? Or someone else I should ping? |
Does this actually compile for you? |
Oof, no, sorry! I just assumed the recommended change would be enough. I'll work on getting this ready! |
Ok, good to go now! |
@armanbilge Sorry to ping again but this is ready for review! |
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.
Looks great, thank you! (sorry, I'm not an official maintainer here, but I am sure they will take a look soon :)
Looks like
spanId
was omitted from theTrace[F]
interface, probably by accident? According to this section of the docs, it should be accessible from the ambient spans using theTrace
effect.