Skip to content

Commit 2cda0ae

Browse files
committed
feat(localnet log aggregation): fix loki config path, tweak loki config to ingesting huge amount of logs
1 parent 27230b5 commit 2cda0ae

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

test/logs_aggregator/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
ports:
66
- 3100:3100
77
volumes:
8-
- ./loki-config.yml:/etc/loki/loki-config.yaml
8+
- ./loki-config.yml:/etc/loki/local-config.yaml
99
- loki_data:/loki
1010
promtail:
1111
container_name: promtail

test/logs_aggregator/loki-config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ schema_config:
3232
index:
3333
prefix: index_
3434
period: 24h
35+
36+
limits_config:
37+
ingestion_rate_strategy: local
38+
ingestion_rate_mb: 30
39+
ingestion_burst_size_mb: 50

0 commit comments

Comments
 (0)