feat: Upgrade Loki and Promtail to v3.3.2
- Upgrade Loki from v2.9.3 to v3.3.2 - Upgrade Promtail from v2.9.3 to v3.3.2 - Update Loki configuration for v3 compatibility - Replace deprecated table_manager with compactor settings - Disable structured metadata for compatibility
This commit is contained in:
parent
0ff2565c5c
commit
d9f266a590
2 changed files with 4 additions and 8 deletions
|
|
@ -4,7 +4,7 @@
|
|||
services:
|
||||
loki:
|
||||
container_name: loki
|
||||
image: grafana/loki:2.9.3
|
||||
image: grafana/loki:3.3.2
|
||||
restart: unless-stopped
|
||||
|
||||
env_file:
|
||||
|
|
@ -48,7 +48,7 @@ services:
|
|||
|
||||
promtail:
|
||||
container_name: promtail
|
||||
image: grafana/promtail:2.9.3
|
||||
image: grafana/promtail:3.3.2
|
||||
restart: unless-stopped
|
||||
|
||||
env_file:
|
||||
|
|
|
|||
|
|
@ -41,17 +41,13 @@ limits_config:
|
|||
retention_period: 30d
|
||||
ingestion_rate_mb: 10
|
||||
ingestion_burst_size_mb: 20
|
||||
allow_structured_metadata: false
|
||||
|
||||
# Cleanup old logs
|
||||
compactor:
|
||||
working_directory: /loki/compactor
|
||||
shared_store: filesystem
|
||||
compaction_interval: 10m
|
||||
retention_enabled: true
|
||||
retention_delete_delay: 2h
|
||||
retention_delete_worker_count: 150
|
||||
|
||||
# Table manager for retention
|
||||
table_manager:
|
||||
retention_deletes_enabled: true
|
||||
retention_period: 30d
|
||||
delete_request_store: filesystem
|
||||
|
|
|
|||
Loading…
Reference in a new issue