Skip to content

Conversation

@jcchavezs
Copy link
Contributor

@jcchavezs jcchavezs commented Dec 14, 2018

Closes #812

Ping @basvanbeek

)

func TestHttpClientTracePropagatesParentSpan(t *testing.T) {
func TestHTTPClientTracePropagatesParentSpan(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Http -> HTTP, not too important for this PR.

@jcchavezs
Copy link
Contributor Author

Not sure how my change is related to the current failure. Could we have a retrigger?

@jcchavezs
Copy link
Contributor Author

Can we please merge this @basvanbeek @peterbourgon ?

if config.propagate {
spanContext = tracer.Extract(b3.ExtractHTTP(req))

if config.requestSampler != nil && spanContext.Sampled == nil {
Copy link
Member

Choose a reason for hiding this comment

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

minor item... please swap the tested conditions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@basvanbeek basvanbeek merged commit aed3207 into go-kit:master Jan 2, 2019
@jcchavezs jcchavezs deleted the adds_request_sampler branch January 2, 2019 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants