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
Conversation
e34103d
to
2096a96
Compare
2096a96
to
a786a57
Compare
7daac84
to
7f668c5
Compare
There was a problem hiding this 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.
@ufoot thanks a lot. Addressed your comments, PTAL |
There was a problem hiding this 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks.
There was a problem hiding this comment.
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! 🙇
This change enables the use of the agent's /v0.4 endpoint and enables priority sampling by default.
sampler.go
andsampler_test.go
are copied from dd-trace-go@1.8.0