Closed breedx-splk closed 9 months ago
Ok thanks @tigrannajaryan. I guess I can live with that. Would have made more sense if it said
// To read the 8-bit W3C trace flag, use `flags & SpanFlags.SPAN_FLAGS_TRACE_FLAGS_MASK`.
or something....but ok, at least it's defined.
Ok thanks @tigrannajaryan. I guess I can live with that. Would have made more sense if it said
// To read the 8-bit W3C trace flag, use `flags & SpanFlags.SPAN_FLAGS_TRACE_FLAGS_MASK`.
or something....but ok, at least it's defined.
Yes, I think that would be more precise. Feel free to submit a PR.
The trace protos now contain a flags field, part of which is the trace flags...and a comment says:
I don't know protobufs well enough to say if a constant value can be provided, but I didn't see one. If it can be provided as a constant, we should add it....and if not we should let people know to mask with
0x000000ff
.