practica-loki-grafana/6-2-grafana-alerts/loki.yml

38 lines
715 B
YAML
Raw Normal View History

2022-04-28 10:34:23 +02:00
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