From 2b3e4564d61ee577a9cf3473b167d037d4fa0944 Mon Sep 17 00:00:00 2001 From: Edward Welch Date: Sun, 7 Apr 2024 15:02:48 +0000 Subject: [PATCH] change default timeouts, tweak SB example sizes Signed-off-by: Edward Welch --- production/helm/loki/single-binary-values.yaml | 6 +++--- production/helm/loki/values.yaml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/production/helm/loki/single-binary-values.yaml b/production/helm/loki/single-binary-values.yaml index c1498c052517..762d49ea036c 100644 --- a/production/helm/loki/single-binary-values.yaml +++ b/production/helm/loki/single-binary-values.yaml @@ -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: diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index a9d4354e725c..1e4bf9a1116f 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -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