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

Add limit and line_returned in the query log. #3423

Merged
merged 2 commits into from
Mar 4, 2021

Conversation

cyriltovena
Copy link
Contributor

This can be useful to investigate how many wasted queries have been made by the frontend.

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

This can be useful to investigate how many wasted queries have been made by the frontend.

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

Codecov Report

Merging #3423 (845751c) into master (20ef66d) will decrease coverage by 0.01%.
The diff coverage is 91.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3423      +/-   ##
==========================================
- Coverage   63.01%   63.00%   -0.02%     
==========================================
  Files         205      205              
  Lines       17499    17509      +10     
==========================================
+ Hits        11027    11031       +4     
- Misses       5481     5491      +10     
+ Partials      991      987       -4     
Impacted Files Coverage Δ
pkg/querier/queryrange/stats.go 83.01% <77.77%> (ø)
pkg/logql/engine.go 87.03% <100.00%> (+0.87%) ⬆️
pkg/logql/metrics.go 91.83% <100.00%> (+1.36%) ⬆️
pkg/promtail/positions/positions.go 46.80% <0.00%> (-11.71%) ⬇️
pkg/querier/queryrange/downstreamer.go 95.29% <0.00%> (-2.36%) ⬇️
pkg/promtail/targets/file/tailer.go 78.57% <0.00%> (+5.35%) ⬆️

@owen-d owen-d merged commit a29901d into grafana:master Mar 4, 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.

None yet

3 participants