diff --git a/docker-compose/prometheus/loki/config/config.yaml b/docker-compose/prometheus/loki/config/config.yaml new file mode 100644 index 0000000..31034f4 --- /dev/null +++ b/docker-compose/prometheus/loki/config/config.yaml @@ -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 \ No newline at end of file