66 lines
1.3 KiB
YAML
66 lines
1.3 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: loki-config
|
|
namespace: monitoring
|
|
data:
|
|
loki-config.yml: |
|
|
auth_enabled: false
|
|
|
|
server:
|
|
http_listen_port: 3100
|
|
grpc_listen_port: 9096
|
|
|
|
common:
|
|
instance_addr: 127.0.0.1
|
|
path_prefix: /loki
|
|
storage:
|
|
filesystem:
|
|
chunks_directory: /loki/chunks
|
|
rules_directory: /loki/rules
|
|
ring:
|
|
kvstore:
|
|
store: inmemory
|
|
|
|
ingester:
|
|
lifecycler:
|
|
ring:
|
|
kvstore:
|
|
store: inmemory
|
|
replication_factor: 1
|
|
chunk_idle_period: 5m
|
|
chunk_block_size: 262144
|
|
chunk_target_size: 1048576
|
|
chunk_retain_period: 1m
|
|
max_transfer_retries: 0
|
|
|
|
schema_config:
|
|
configs:
|
|
- from: 2020-10-24
|
|
store: boltdb-shipper
|
|
object_store: filesystem
|
|
schema: v11
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
storage_config:
|
|
boltdb_shipper:
|
|
active_index_directory: /loki/index
|
|
shared_store: filesystem
|
|
|
|
limits_config:
|
|
ingestion_rate_mb: 10
|
|
ingestion_burst_size_mb: 20
|
|
max_cache_freshness_per_query: 10m
|
|
|
|
chunk_store_config:
|
|
max_look_back_period: 0
|
|
|
|
query_range:
|
|
align_queries_with_step: true
|
|
max_retries: 5
|
|
|
|
frontend:
|
|
max_outstanding_per_tenant: 1024
|