Skip to content

Commit

Permalink
change default timeouts, tweak SB example sizes
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Welch <[email protected]>
  • Loading branch information
slim-bean committed Apr 7, 2024
1 parent 3580c00 commit 2b3e456
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions production/helm/loki/single-binary-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ singleBinary:
resources:
limits:
cpu: 3
memory: 6Gi
memory: 4Gi
requests:
cpu: 2
memory: 2Gi
extraEnv:
# Keep a little bit lower than memory limits
- name: GOMEMLIMIT
value: 5500MiB
value: 3750MiB

chunksCache:
# default is 500MB, with limited memory keep this smaller
writebackSizeLimit: 50MB
writebackSizeLimit: 10MB

# Enable minio for storage
minio:
Expand Down
3 changes: 3 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,15 @@ loki:
server:
http_listen_port: 3100
grpc_listen_port: 9095
http_server_read_timeout: 600s
http_server_write_timeout: 600s
# -- Limits config
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h
max_cache_freshness_per_query: 10m
split_queries_by_interval: 15m
query_timeout: 300s
# -- Provides a reloadable runtime configuration file for some specific configuration
runtimeConfig: {}
# -- Check https://grafana.com/docs/loki/latest/configuration/#common_config for more info on how to provide a common configuration
Expand Down

0 comments on commit 2b3e456

Please sign in to comment.