practica-loki-grafana/6-1-loki-alerts/loki.yml
Joan López de la Franca Beltran 118a09bcf2 Contents for lecture 6-1
2022-04-28 10:31:45 +02:00

38 lines
715 B
YAML

auth_enabled: false
server:
http_listen_port: 3100
http_listen_address: 0.0.0.0
ruler:
evaluation_interval: 10s
poll_interval: 10s
storage:
type: local
local:
directory: /etc/loki/rules
rule_path: /tmp/loki/rules-temp
enable_api: true
enable_alertmanager_v2: true
schema_config:
configs:
- from: 2020-08-01
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
common:
path_prefix: /tmp/loki
storage:
filesystem:
chunks_directory: /tmp/loki/chunks
rules_directory: /tmp/loki/rules
replication_factor: 1
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory