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

trace: use /v0.4 agent endpoint and priority sampling #27

Merged
merged 5 commits into from Jan 4, 2019

Conversation

gbbr
Copy link
Contributor

@gbbr gbbr commented Dec 28, 2018

This change enables the use of the agent's /v0.4 endpoint and enables priority sampling by default.

sampler.go and sampler_test.go are copied from dd-trace-go@1.8.0

@gbbr gbbr added the trace label Dec 28, 2018
@gbbr gbbr force-pushed the gbbr/priority-sampling branch 5 times, most recently from e34103d to 2096a96 Compare December 28, 2018 10:08
Copy link
Member

@ufoot ufoot left a comment

Choose a reason for hiding this comment

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

Just left a couple comments, hope they help.

trace_test.go Outdated Show resolved Hide resolved
span.go Show resolved Hide resolved
@gbbr
Copy link
Contributor Author

gbbr commented Jan 3, 2019

@ufoot thanks a lot. Addressed your comments, PTAL

Copy link
Member

@ufoot ufoot left a comment

Choose a reason for hiding this comment

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

GTM

for {
select {
case span := <-e.in:
e.receiveSpan(span)
Copy link
Member

Choose a reason for hiding this comment

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

Awesome, thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you too for being the catalyst in making me think deeper! 🙇

@gbbr gbbr merged commit 20ec6f4 into master Jan 4, 2019
@gbbr gbbr deleted the gbbr/priority-sampling branch January 4, 2019 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants