logging: add promtail + loki + grafana #190
1 changed files with 2 additions and 24 deletions
|
@ -17,26 +17,6 @@ common:
|
||||||
kvstore:
|
kvstore:
|
||||||
store: inmemory
|
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:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
- from: 2020-10-24
|
- from: 2020-10-24
|
||||||
|
@ -47,12 +27,10 @@ schema_config:
|
||||||
prefix: index_
|
prefix: index_
|
||||||
period: 24h
|
period: 24h
|
||||||
|
|
||||||
# ruler:
|
|
||||||
# alertmanager_url: http://alertmanager:9093
|
|
||||||
|
|
||||||
analytics:
|
analytics:
|
||||||
reporting_enabled: false
|
reporting_enabled: false
|
||||||
|
|
||||||
|
|
||||||
# TODO alertmanager
|
# TODO alertmanager
|
||||||
# promtail
|
# TODO promtail
|
||||||
|
# TODO prometheus
|
||||||
|
|
Loading…
Reference in a new issue