Skip to content

Commit

Permalink
Update docs for query FE
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
  • Loading branch information
pedro-stanaka committed Aug 30, 2022
1 parent e4a9894 commit afabd95
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/components/query-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Query Frontend supports caching query results and reuses them on subsequent quer
#### In-memory

```yaml mdox-exec="go run scripts/cfggen/main.go --name=queryfrontend.InMemoryResponseCacheConfig"
# github.com/shirou/gopsutil/v3/cpu
../../../../Documents/Projects/GoRepos/pkg/mod/github.com/shirou/gopsutil/v3@v3.21.2/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
type: IN-MEMORY
config:
max_size: ""
Expand All @@ -65,6 +67,8 @@ Example configuration: [kube-thanos](https://github.com/thanos-io/kube-thanos/bl
#### Memcached

```yaml mdox-exec="go run scripts/cfggen/main.go --name=queryfrontend.MemcachedResponseCacheConfig"
# github.com/shirou/gopsutil/v3/cpu
../../../../Documents/Projects/GoRepos/pkg/mod/github.com/shirou/gopsutil/v3@v3.21.2/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
type: MEMCACHED
config:
addresses: []
Expand Down Expand Up @@ -108,6 +112,8 @@ config:
The default redis config is:
```yaml mdox-exec="go run scripts/cfggen/main.go --name=queryfrontend.RedisResponseCacheConfig"
# github.com/shirou/gopsutil/v3/cpu
../../../../Documents/Projects/GoRepos/pkg/mod/github.com/shirou/gopsutil/v3@v3.21.2/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
type: REDIS
config:
addr: ""
Expand Down Expand Up @@ -290,6 +296,10 @@ Flags:
Maximum number of retries for a single query
range request; beyond this, the downstream
error is returned.
--query-range.min-split-interval=0
Split query range requests by at least this
interval.It also should be less than
query-range.split-interval.
--query-range.partial-response
Enable partial response for query range
requests if no partial_response param is
Expand All @@ -315,7 +325,9 @@ Flags:
Split query range requests by an interval and
execute in parallel, it should be greater than
0 when query-range.response-cache-config is
configured.
configured.When used in conjunction with
query-range.min-split-interval this becomes the
upper boundary interval to split queries into.
--request.logging-config=<content>
Alternative to 'request.logging-config-file'
flag (mutually exclusive). Content of YAML file
Expand Down

0 comments on commit afabd95

Please sign in to comment.