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

Docs: -querier.split-queries-by-day deprecation #2833

Merged
merged 1 commit into from
Oct 28, 2020
Merged

Docs: -querier.split-queries-by-day deprecation #2833

merged 1 commit into from
Oct 28, 2020

Conversation

siavashs
Copy link
Contributor

Add missing description and deprecation note.

Checklist

  • Documentation added
  • Tests updated

@CLAassistant
Copy link

CLAassistant commented Oct 28, 2020

CLA assistant check
All committers have signed the CLA.

@codecov-io
Copy link

Codecov Report

Merging #2833 into master will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2833      +/-   ##
==========================================
+ Coverage   61.27%   61.31%   +0.04%     
==========================================
  Files         179      179              
  Lines       14438    14438              
==========================================
+ Hits         8847     8853       +6     
+ Misses       4781     4778       -3     
+ Partials      810      807       -3     
Impacted Files Coverage Δ
pkg/promtail/targets/file/filetarget.go 61.97% <0.00%> (-1.41%) ⬇️
...kg/storage/stores/shipper/uploads/table_manager.go 67.54% <0.00%> (+1.75%) ⬆️
pkg/storage/stores/shipper/uploads/table.go 70.50% <0.00%> (+1.84%) ⬆️
pkg/querier/queryrange/downstreamer.go 97.64% <0.00%> (+2.35%) ⬆️

Copy link
Member

@owen-d owen-d left a comment

Choose a reason for hiding this comment

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

Thanks for this. Left one suggestion.

@@ -310,6 +310,7 @@ The queryrange_config configures the query splitting and caching in the Loki que
# CLI flag: -querier.split-queries-by-interval
[split_queries_by_interval: <duration> | default = 0s]

# Deprecated: Split queries by day and execute in parallel.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Deprecated: Split queries by day and execute in parallel.
# Deprecated: Split queries by day and execute in parallel. Instead use `-querier.split-queries-by-interval`.

Copy link
Contributor

Choose a reason for hiding this comment

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

Change to: "Use -querier.split-queries-by-interval instead."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the note as suggested.

Copy link
Contributor

@achatterjee-grafana achatterjee-grafana left a comment

Choose a reason for hiding this comment

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

Added copy-edit suggestion.

@@ -310,6 +310,7 @@ The queryrange_config configures the query splitting and caching in the Loki que
# CLI flag: -querier.split-queries-by-interval
[split_queries_by_interval: <duration> | default = 0s]

# Deprecated: Split queries by day and execute in parallel.
Copy link
Contributor

Choose a reason for hiding this comment

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

Change to: "Use -querier.split-queries-by-interval instead."

Add missing description and deprecation note.
Copy link
Contributor

@achatterjee-grafana achatterjee-grafana left a comment

Choose a reason for hiding this comment

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

LGTM!

@owen-d owen-d merged commit a8e73e1 into grafana:master Oct 28, 2020
@siavashs siavashs deleted the docs-split-by-day-deprecated branch October 29, 2020 13:07
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.

5 participants