File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ ingester:
29
29
max_chunk_age : 1h # All chunks will be flushed when they hit this age, default is 1h
30
30
chunk_target_size : 1048576 # Loki will attempt to build chunks up to 1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first
31
31
chunk_retain_period : 30s # Must be greater than index read cache TTL if using an index cache (Default index read cache TTL is 5m)
32
- max_transfer_retries : 0 # Chunk transfers disabled
33
32
wal :
34
33
dir : " /tmp/wal"
35
34
@@ -42,28 +41,33 @@ schema_config:
42
41
index :
43
42
prefix : index_
44
43
period : 24h
44
+ - from : 2024-07-23
45
+ store : tsdb
46
+ object_store : filesystem
47
+ schema : v13
48
+ index :
49
+ prefix : index_
50
+ period : 24h
45
51
46
52
storage_config :
47
53
boltdb_shipper :
48
54
active_index_directory : /tmp/loki/boltdb-shipper-active
49
55
cache_location : /tmp/loki/boltdb-shipper-cache
50
56
cache_ttl : 24h # Can be increased for faster performance over longer query periods, uses more disk space
51
- shared_store : filesystem
57
+ tsdb_shipper :
58
+ active_index_directory : /tmp/loki/tsdb-index
59
+ cache_location : /tmp/loki/tsdb-cache
52
60
filesystem :
53
61
directory : /tmp/loki/chunks
54
62
55
63
compactor :
56
64
working_directory : /tmp/loki/boltdb-shipper-compactor
57
- shared_store : filesystem
58
65
59
66
limits_config :
60
67
reject_old_samples : true
61
68
reject_old_samples_max_age : 168h
62
69
split_queries_by_interval : 24h
63
70
64
- chunk_store_config :
65
- max_look_back_period : 168h
66
-
67
71
table_manager :
68
72
retention_deletes_enabled : true
69
73
retention_period : 168h
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ services:
42
42
43
43
loki :
44
44
# https://github.com/grafana/loki/releases
45
- image : grafana/loki:2.9.9
45
+ image : grafana/loki:3.1.0
46
46
command : -config.file=/loki.yml
47
47
configs :
48
48
- source : loki_cfg
@@ -54,7 +54,7 @@ services:
54
54
promtail :
55
55
# https://github.com/grafana/loki/releases
56
56
# (promtail is released in parallel with loki)
57
- image : grafana/promtail:2.9.9
57
+ image : grafana/promtail:3.1.0
58
58
command : -config.file=/promtail.yml
59
59
configs :
60
60
- source : promtail_cfg
You can’t perform that action at this time.
0 commit comments