Skip to content
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

support sampled flag #83

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

tatchi
Copy link
Contributor

@tatchi tatchi commented Jan 30, 2025

Add support for the sampled flag

@tatchi tatchi requested a review from c-cube as a code owner January 30, 2025 15:54
(* TODO: trace state *)

type t = {
trace_id: Trace_id.t;
parent_id: Span_id.t;
is_remote: bool;
sampled: bool;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I renamed it to sampled because that is what the spec calls it: https://www.w3.org/TR/trace-context/#sampled-flag

Open to any other suggestions though

@c-cube c-cube merged commit 4f9247d into imandra-ai:main Jan 31, 2025
0 of 3 checks passed
@c-cube
Copy link
Member

c-cube commented Jan 31, 2025

Great, thanks!

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

Successfully merging this pull request may close these issues.

2 participants