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

Improve auto downsampling query param docs #4913

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/components/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,14 @@ This controls if query results should be deduplicated using the replica labels.
| `max_source_resolution` | `Float64/time.Duration/model.Duration` | `step / 5` or `0` if `query.auto-downsampling` is false (default: False) | `5m` |
| | | | |

Max source resolution is max resolution in seconds we want to use for data we query for. This means that for value:
Max source resolution is max resolution in seconds we want to use for data we query for.

* 0 -> we will use only raw data.
* 5m -> we will use max 5m downsampling.
* 1h -> we will use max 1h downsampling.
Available options:

* `auto` - Select downsample resolution automatically based on the query.
* `0` - Only use raw data.
* `5m` - Use max 5m downsampling.
* `1h` - Use max 1h downsampling.

### Partial Response Strategy

Expand Down