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

Fixes tail api marshalling for v1. #3211

Merged
merged 1 commit into from
Jan 22, 2021
Merged

Conversation

cyriltovena
Copy link
Contributor

Introduce a bug by removing the default marshalling (#3163) but the tail api was using the default json. This fixes it by forcing the usage of jsoniter package.
Added a missing test so that it doesn't happen again.

Signed-off-by: Cyril Tovena cyril.tovena@gmail.com

Introduce a bug by removing the default marshalling (grafana#3163) but the tail api was using the default json. This fixes it by forcing the usage of jsoniter package.
Added a missing test so that it doesn't happen again.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #3211 (1bc9c93) into master (ba0df61) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3211      +/-   ##
==========================================
- Coverage   63.25%   63.25%   -0.01%     
==========================================
  Files         195      195              
  Lines       16646    16649       +3     
==========================================
+ Hits        10530    10531       +1     
  Misses       5164     5164              
- Partials      952      954       +2     
Impacted Files Coverage Δ
pkg/logql/marshal/marshal.go 77.77% <50.00%> (+2.77%) ⬆️
pkg/querier/queryrange/downstreamer.go 95.29% <0.00%> (-2.36%) ⬇️
pkg/ingester/transfer.go 60.14% <0.00%> (-1.45%) ⬇️
pkg/logql/evaluator.go 90.23% <0.00%> (+0.35%) ⬆️

@owen-d owen-d merged commit fd619b6 into grafana:master Jan 22, 2021
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.

4 participants