Skip to content

Commit

Permalink
TACODEV-733: Manageabliity for Query frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
sungil committed Apr 20, 2021
1 parent 3afae94 commit 2994ead
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,16 @@ spec:
http:
port: 9090
nodePort: TO_BE_FIXED
config: |-
type: IN-MEMORY
config:
max_size: TO_BE_FIXED
max_size_items: TO_BE_FIXED
validity: TO_BE_FIXED
extraFlags:
query-range.split-interval: TO_BE_FIXED
query-range.max-retries-per-request: TO_BE_FIXED
query-frontend.log-queries-longer-than: TO_BE_FIXED
bucketweb:
enabled: true
logLevel: info
Expand Down
11 changes: 11 additions & 0 deletions lma/base/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,17 @@ charts:
storegateway.nodeSelector: $(nodeSelector)
ruler.nodeSelector: $(nodeSelector)

queryFrontend.config: |-
type: IN-MEMORY
config:
max_size: 100
max_size_items: 512MB
validity: 100s
queryFrontend.extraFlags.query-range.split-interval: 24h
queryFrontend.extraFlags.query-range.max-retries-per-request: 3
queryFrontend.extraFlags.query-frontend.log-queries-longer-than: 60

compactor.retentionResolutionRaw: 30d
compactor.retentionResolution5m: 30d
compactor.retentionResolution1h: 10y
Expand Down

0 comments on commit 2994ead

Please sign in to comment.