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

fix: jaeger-agent sampling endpoint returns backwards incompatible JSON #3897

Merged
merged 3 commits into from
Sep 1, 2022

Conversation

vprithvi
Copy link
Contributor

@vprithvi vprithvi commented Sep 1, 2022

Signed-off-by: Prithvi Raj [email protected]

…`[]`

- Returning an empty slice for `perOperationStrategies` instead of the default nil slice allows
  json.Marshal to marshal it to `[]` instead of `null`
- Fixes jaegertracing#3891

Signed-off-by: Prithvi Raj <[email protected]>
Signed-off-by: Prithvi Raj <[email protected]>
Signed-off-by: Prithvi Raj <[email protected]>
@vprithvi vprithvi requested a review from a team as a code owner September 1, 2022 14:19
@vprithvi vprithvi requested a review from joe-elliott September 1, 2022 14:19
@mergify
Copy link

mergify bot commented Sep 1, 2022

⚠️ The sha of the head commit of this PR conflicts with #3892. Mergify cannot evaluate rules on this PR. ⚠️

@codecov
Copy link

codecov bot commented Sep 1, 2022

Codecov Report

Base: 97.64% // Head: 97.64% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (891291f) compared to base (514e27a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3897   +/-   ##
=======================================
  Coverage   97.64%   97.64%           
=======================================
  Files         293      293           
  Lines       17073    17075    +2     
=======================================
+ Hits        16671    16673    +2     
  Misses        317      317           
  Partials       85       85           
Impacted Files Coverage Δ
...el/converter/thrift/jaeger/sampling_from_domain.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@yurishkuro yurishkuro merged commit fc490be into jaegertracing:main Sep 1, 2022
@vprithvi vprithvi deleted the fix-sampling branch September 1, 2022 15:02
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.

[Bug]: Jaeger Agent's http /sampling endpoint returns JSON which breaks older jaeger clients
2 participants