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

pkg/trace/api: reply using JSON when presampling on v0.4 endpoint #3051

Merged
merged 1 commit into from
Feb 18, 2019

Conversation

gbbr
Copy link
Contributor

@gbbr gbbr commented Feb 18, 2019

This change updates the response of the presampler to match the version
endpoint that is in use. Previously the "OK" response was sent for the
v0.4/traces endpoint which was incorrect and confusing.

This change updates the response of the presampler to match the version
endpoint that is in use. Previously the "OK" response was sent for the
`v0.4/traces` endpoint which was inaccurate.
@gbbr gbbr requested a review from a team as a code owner February 18, 2019 09:55
@gbbr gbbr added this to the 6.10.0 milestone Feb 18, 2019
@codecov
Copy link

codecov bot commented Feb 18, 2019

Codecov Report

Merging #3051 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3051      +/-   ##
==========================================
+ Coverage   54.15%   54.16%   +<.01%     
==========================================
  Files         540      540              
  Lines       38262    38262              
==========================================
+ Hits        20722    20725       +3     
+ Misses      16302    16299       -3     
  Partials     1238     1238
Flag Coverage Δ
#linux 57.15% <100%> (-0.01%) ⬇️
#windows 56.01% <100%> (+0.01%) ⬆️
Impacted Files Coverage Δ
pkg/trace/api/api.go 74.38% <100%> (ø) ⬆️
pkg/trace/writer/trace.go 91.66% <0%> (+0.49%) ⬆️
pkg/forwarder/worker.go 93.75% <0%> (+2.5%) ⬆️

@gbbr gbbr merged commit 69379ff into master Feb 18, 2019
@gbbr gbbr deleted the gbbr/no-ok branch February 18, 2019 10:08
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.

2 participants