Skip to content

Commit d2cfb1b

Browse files
committed
Bump Loki to 3.1.0
1 parent 8a53fda commit d2cfb1b

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

infrastructure/loki.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ ingester:
2929
max_chunk_age: 1h # All chunks will be flushed when they hit this age, default is 1h
3030
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
3131
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
3332
wal:
3433
dir: "/tmp/wal"
3534

@@ -42,28 +41,33 @@ schema_config:
4241
index:
4342
prefix: index_
4443
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
4551

4652
storage_config:
4753
boltdb_shipper:
4854
active_index_directory: /tmp/loki/boltdb-shipper-active
4955
cache_location: /tmp/loki/boltdb-shipper-cache
5056
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
5260
filesystem:
5361
directory: /tmp/loki/chunks
5462

5563
compactor:
5664
working_directory: /tmp/loki/boltdb-shipper-compactor
57-
shared_store: filesystem
5865

5966
limits_config:
6067
reject_old_samples: true
6168
reject_old_samples_max_age: 168h
6269
split_queries_by_interval: 24h
6370

64-
chunk_store_config:
65-
max_look_back_period: 168h
66-
6771
table_manager:
6872
retention_deletes_enabled: true
6973
retention_period: 168h

mon.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ services:
4242

4343
loki:
4444
# https://github.com/grafana/loki/releases
45-
image: grafana/loki:2.9.9
45+
image: grafana/loki:3.1.0
4646
command: -config.file=/loki.yml
4747
configs:
4848
- source: loki_cfg
@@ -54,7 +54,7 @@ services:
5454
promtail:
5555
# https://github.com/grafana/loki/releases
5656
# (promtail is released in parallel with loki)
57-
image: grafana/promtail:2.9.9
57+
image: grafana/promtail:3.1.0
5858
command: -config.file=/promtail.yml
5959
configs:
6060
- source: promtail_cfg

0 commit comments

Comments
 (0)