homelab-nomad/core/loki-config.yml

42 lines
759 B
YAML
Raw Normal View History

2022-07-25 17:46:16 +00:00
auth_enabled: false
server:
http_listen_port: 3100
2024-01-23 20:06:25 +00:00
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /tmp/loki
2022-07-25 17:46:16 +00:00
schema_config:
configs:
2024-01-23 20:06:25 +00:00
- from: 2020-05-15
store: boltdb-shipper
2022-07-25 17:46:16 +00:00
object_store: filesystem
schema: v11
index:
prefix: index_
2024-01-23 20:06:25 +00:00
period: 24h
2022-07-25 17:46:16 +00:00
storage_config:
2024-01-23 20:06:25 +00:00
boltdb_shipper:
active_index_directory: {{ env "NOMAD_TASK_DIR" }}/index
2022-07-25 17:46:16 +00:00
filesystem:
2022-11-11 21:24:54 +00:00
directory: {{ env "NOMAD_TASK_DIR" }}/chunks
2022-07-25 17:46:16 +00:00
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
chunk_store_config:
2024-01-23 20:06:25 +00:00
max_look_back_period: 168h
2022-07-25 17:46:16 +00:00
table_manager:
2024-01-23 20:06:25 +00:00
retention_deletes_enabled: true
retention_period: 168h