logging: add promtail + loki + grafana #190

Closed
mg wants to merge 46 commits from loki into master
Showing only changes of commit 924afa93bc - Show all commits

View file

@ -17,26 +17,6 @@ common:
kvstore:
store: inmemory
# --- disable splitting to fix "too many outstanding requests"
query_range:
parallelise_shardable_queries: false
# --- compactor to have control over length of data retention
compactor:
working_directory: /loki/compactor
compaction_interval: 10m
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
limits_config:
retention_period: 240h
split_queries_by_interval: 0 # part of disable splitting fix
# -------------------------------------------------------
schema_config:
configs:
- from: 2020-10-24
@ -47,12 +27,10 @@ schema_config:
prefix: index_
period: 24h
# ruler:
# alertmanager_url: http://alertmanager:9093
analytics:
reporting_enabled: false
# TODO alertmanager
# promtail
# TODO promtail
# TODO prometheus