loki: tune for query performance
https://grafana.com/blog/2023/12/28/the-concise-guide-to-loki-how-to-get-the-most-out-of-your-query-performance/
This commit is contained in:
parent
af89d9f9b8
commit
184d562bd2
1 changed files with 5 additions and 2 deletions
|
@ -35,9 +35,11 @@
|
|||
};
|
||||
ingester = {
|
||||
chunk_encoding = "snappy";
|
||||
chunk_idle_period = "1h";
|
||||
chunk_idle_period = "2h";
|
||||
};
|
||||
pattern_ingester.enabled = true;
|
||||
# 2x CPU cores
|
||||
querier.max_concurrent = 16;
|
||||
query_range = {
|
||||
results_cache = {
|
||||
cache = {
|
||||
|
@ -64,7 +66,8 @@
|
|||
ingestion_rate_mb = 8;
|
||||
ingestion_burst_size_mb = 12;
|
||||
retention_period = "1w";
|
||||
split_queries_by_interval = "0";
|
||||
split_queries_by_interval = "6h";
|
||||
tsdb_max_query_parallelism = 32;
|
||||
volume_enabled = true;
|
||||
};
|
||||
compactor = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue