Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add missing sample argument to Traceparent.to_value #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tatchi
Copy link
Contributor

@tatchi tatchi commented Feb 21, 2025

Something I omitted in #83

@tatchi tatchi requested a review from c-cube as a code owner February 21, 2025 08:33
@@ -1576,8 +1576,9 @@ module Trace_context = struct
| Ok sp -> Ok (Span_ctx.trace_id sp, Span_ctx.parent_id sp)
| Error _ as e -> e

let to_value ~(trace_id : Trace_id.t) ~(parent_id : Span_id.t) () : string =
let span_ctx = Span_ctx.make ~trace_id ~parent_id () in
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, what was the reason for this last unit argument? Is it because you anticipated this change and didn't want to break the interface ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant