Add configs/loki-configs/local-config.yaml
This commit is contained in:
parent
3f32a94d00
commit
66fcba01e6
82
configs/loki-configs/local-config.yaml
Normal file
82
configs/loki-configs/local-config.yaml
Normal file
@ -0,0 +1,82 @@
|
||||
# For Loki version 2.8 and newer. With TSDB for indexes
|
||||
analytics:
|
||||
reporting_enabled: false
|
||||
|
||||
auth_enabled: false
|
||||
|
||||
server:
|
||||
grpc_listen_port: 9095
|
||||
http_listen_port: 3100
|
||||
|
||||
|
||||
compactor:
|
||||
working_directory: /loki/compactor
|
||||
retention_delete_delay: 2h
|
||||
retention_delete_worker_count: 150
|
||||
retention_enabled: true
|
||||
delete_request_store: filesystem
|
||||
|
||||
ingester:
|
||||
chunk_block_size: 262144
|
||||
chunk_idle_period: 3m
|
||||
chunk_retain_period: 1m
|
||||
lifecycler:
|
||||
ring:
|
||||
kvstore:
|
||||
store: inmemory
|
||||
replication_factor: 1
|
||||
wal:
|
||||
dir: /loki/wal
|
||||
|
||||
limits_config:
|
||||
max_entries_limit_per_query: 5000
|
||||
per_stream_rate_limit: 8M
|
||||
per_stream_rate_limit_burst: 16M
|
||||
reject_old_samples: true
|
||||
reject_old_samples_max_age: 360h
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: 2024-12-23
|
||||
object_store: filesystem
|
||||
store: tsdb
|
||||
schema: v13
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
|
||||
storage_config:
|
||||
tsdb_shipper:
|
||||
active_index_directory: /loki/tsdb-index
|
||||
cache_location: /loki/tsdb-cache
|
||||
filesystem:
|
||||
directory: /loki/chunks
|
||||
# rules_directory: /loki/rules
|
||||
|
||||
common:
|
||||
path_prefix: /loki
|
||||
replication_factor: 1
|
||||
ring:
|
||||
instance_addr: 127.0.0.1
|
||||
kvstore:
|
||||
store: inmemory
|
||||
|
||||
ruler:
|
||||
storage:
|
||||
type: local
|
||||
local:
|
||||
directory: /loki/ruler
|
||||
rule_path: /loki/rules
|
||||
# alertmanager_url: http://alertmanager:9093
|
||||
enable_api: true
|
||||
ring:
|
||||
kvstore:
|
||||
store: inmemory
|
||||
enable_sharding: false
|
||||
# enable_alertmanager_v2: true
|
||||
|
||||
|
||||
table_manager:
|
||||
retention_deletes_enabled: true
|
||||
retention_period: 360h
|
||||
Loading…
x
Reference in New Issue
Block a user