添加 docker-compose/prometheus/loki/config/config.yaml
This commit is contained in:
34
docker-compose/prometheus/loki/config/config.yaml
Normal file
34
docker-compose/prometheus/loki/config/config.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
auth_enabled: false
|
||||||
|
server:
|
||||||
|
http_listen_port: 3100
|
||||||
|
grpc_listen_port: 9096
|
||||||
|
common:
|
||||||
|
path_prefix: /loki/data
|
||||||
|
storage:
|
||||||
|
filesystem:
|
||||||
|
chunks_directory: /loki/data/chunks
|
||||||
|
rules_directory: /loki/data/rules
|
||||||
|
replication_factor: 1
|
||||||
|
ring:
|
||||||
|
instance_addr: 127.0.0.1
|
||||||
|
kvstore:
|
||||||
|
store: inmemory
|
||||||
|
schema_config:
|
||||||
|
configs:
|
||||||
|
- from: 2024-01-01
|
||||||
|
store: tsdb
|
||||||
|
object_store: filesystem
|
||||||
|
schema: v13
|
||||||
|
index:
|
||||||
|
prefix: index_
|
||||||
|
period: 24h
|
||||||
|
limits_config:
|
||||||
|
ingestion_rate_mb: 20
|
||||||
|
ingestion_burst_size_mb: 40
|
||||||
|
max_label_name_length: 1024
|
||||||
|
max_label_value_length: 2048
|
||||||
|
retention_period: 30d
|
||||||
|
retention_stream:
|
||||||
|
- selector: '{job!=""}'
|
||||||
|
priority: 1
|
||||||
|
period: 30d
|
||||||
Reference in New Issue
Block a user