157 lines
2.9 KiB
YAML
157 lines
2.9 KiB
YAML
#
|
|
#auth_enabled: false
|
|
#
|
|
#server:
|
|
# http_listen_port: 3100
|
|
#
|
|
#common:
|
|
# ring:
|
|
# instance_addr: 127.0.0.1
|
|
# kvstore:
|
|
# store: inmemory
|
|
# path_prefix: /loki
|
|
# compactor_address: http://loki:3100
|
|
# replication_factor: 1
|
|
#
|
|
#schema_config:
|
|
# configs:
|
|
# - from: 2020-08-01
|
|
# store: boltdb-shipper
|
|
# object_store: s3
|
|
# schema: v11
|
|
# index:
|
|
# prefix: index_
|
|
# period: 24h
|
|
# - from: 2023-07-11
|
|
# store: tsdb
|
|
# object_store: s3
|
|
# schema: v12
|
|
# index:
|
|
# prefix: index_
|
|
# period: 24h
|
|
# - from: 2024-01-10
|
|
# store: tsdb
|
|
# object_store: s3
|
|
# schema: v12
|
|
# index:
|
|
# prefix: index_
|
|
# period: 24h
|
|
# - from: 2024-03-29
|
|
# store: tsdb
|
|
# object_store: s3
|
|
# schema: v13
|
|
# index:
|
|
# prefix: index_
|
|
# period: 24h
|
|
#
|
|
#
|
|
#storage_config:
|
|
# boltdb_shipper:
|
|
# active_index_directory: /loki/index
|
|
# cache_location: /loki/index_cache
|
|
# resync_interval: 5s
|
|
# shared_store: s3
|
|
# aws:
|
|
# s3: http://minio:9000/loki
|
|
# bucketnames: loki
|
|
# endpoint: minio:9000
|
|
# access_key_id: admin
|
|
# secret_access_key: pa55w0rd
|
|
# insecure: true # Important si MinIO ne supporte pas HTTPS
|
|
# s3forcepathstyle: true
|
|
|
|
# FROM AI
|
|
auth_enabled: false
|
|
|
|
server:
|
|
http_listen_port: 3100
|
|
grpc_listen_port: 9095
|
|
log_level: info
|
|
|
|
common:
|
|
ring:
|
|
instance_addr: 127.0.0.1
|
|
kvstore:
|
|
store: inmemory
|
|
path_prefix: /loki
|
|
compactor_address: http://loki:3100
|
|
replication_factor: 1
|
|
|
|
memberlist:
|
|
join_members: ["loki"]
|
|
dead_node_reclaim_time: 30s
|
|
gossip_to_dead_nodes_time: 15s
|
|
left_ingesters_timeout: 30s
|
|
bind_addr: ['0.0.0.0']
|
|
bind_port: 7946
|
|
gossip_interval: 2s
|
|
|
|
ingester:
|
|
lifecycler:
|
|
ring:
|
|
kvstore:
|
|
store: memberlist
|
|
replication_factor: 1
|
|
chunk_idle_period: 5m
|
|
chunk_retain_period: 30s
|
|
#max_transfer_retries: 0
|
|
|
|
schema_config:
|
|
configs:
|
|
- from: 2022-01-01
|
|
store: boltdb-shipper
|
|
object_store: s3
|
|
schema: v13
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
- from: 2023-07-11
|
|
store: tsdb
|
|
object_store: s3
|
|
schema: v13
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
storage_config:
|
|
boltdb_shipper:
|
|
active_index_directory: /loki/index
|
|
cache_location: /loki/index_cache
|
|
#shared_store: s3
|
|
|
|
aws:
|
|
bucketnames: loki
|
|
endpoint: http://minio:9000
|
|
access_key_id: admin
|
|
secret_access_key: pa55w0rd
|
|
insecure: true
|
|
s3forcepathstyle: true
|
|
|
|
compactor:
|
|
working_directory: /loki/compactor
|
|
#shared_store: s3
|
|
|
|
limits_config:
|
|
reject_old_samples: true
|
|
reject_old_samples_max_age: 168h
|
|
|
|
#chunk_store_config:
|
|
# max_look_back_period: 0s
|
|
|
|
table_manager:
|
|
retention_deletes_enabled: true
|
|
retention_period: 336h # 14 jours
|
|
|
|
ruler:
|
|
storage:
|
|
type: local
|
|
local:
|
|
directory: /loki/rules
|
|
rule_path: /loki/rules-temp
|
|
alertmanager_url: http://localhost:9093
|
|
ring:
|
|
kvstore:
|
|
store: memberlist
|
|
enable_api: true
|