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 abandon method to span #443

Merged
merged 1 commit into from Jun 15, 2017
Merged

Add abandon method to span #443

merged 1 commit into from Jun 15, 2017

Conversation

ghost
Copy link

@ghost ghost commented Jun 14, 2017

implementation of #442

Copy link
Member

@codefromthecrypt codefromthecrypt left a comment

Choose a reason for hiding this comment

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

LGTM

waiting a bit for others to weigh-in. Let's revisit tomorrow for merge or adjustment

span.start();
span.abandon();

assertThat(spans).hasSize(0);
Copy link
Member

Choose a reason for hiding this comment

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

nit .isEmpty()

@codefromthecrypt
Copy link
Member

merging as-is and will follow-up in brave-opentracing to help with the late sampling flag thing

@codefromthecrypt codefromthecrypt merged commit 0341553 into openzipkin:master Jun 15, 2017
@ghost ghost deleted the spanAbandon branch June 15, 2017 22:36
# 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