Skip to content

Conversation

@codefromthecrypt
Copy link
Contributor

This ensures spans that have remote set to true don't send
Span.timestamp/duration.

In the RPC span model, the client owns the timestamp and duration of the
span. If we were propagated an id, we can assume that we shouldn't
report timestamp or duration, rather let the client do that. Worst case
we were propagated an unreported ID and Zipkin backfills timestamp and
duration.

See openzipkin/openzipkin.github.io#49

This ensures spans that have remote set to true don't send
Span.timestamp/duration.

In the RPC span model, the client owns the timestamp and duration of the
span. If we were propagated an id, we can assume that we shouldn't
report timestamp or duration, rather let the client do that. Worst case
we were propagated an unreported ID and Zipkin backfills timestamp and
duration.
@codefromthecrypt codefromthecrypt force-pushed the remote-timestamp-duration branch from 26c357f to 4b28462 Compare November 7, 2016 04:28
@codefromthecrypt codefromthecrypt merged commit 81d5361 into 1.0.x Nov 7, 2016
@codefromthecrypt codefromthecrypt deleted the remote-timestamp-duration branch November 7, 2016 14:58
@marcingrzejszczak marcingrzejszczak added this to the 1.0.11 milestone Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants