monitoring/templates/loki/loki.yml

77 lines
1.6 KiB
YAML

auth_enabled: false
server:
http_listen_address: 127.0.0.1
http_listen_port: 3100
grpc_listen_address: 127.0.0.1
grpc_listen_port: 9095
#log_level: debug
common:
path_prefix: /data
storage:
filesystem:
chunks_directory: /data/chunks
rules_directory: /data/rules
replication_factor: 1
instance_addr: 127.0.0.1
ring:
kvstore:
store: inmemory
storage_config:
boltdb_shipper:
active_index_directory: /data/index
cache_location: /data/boltdb-cache
shared_store: filesystem
schema_config:
configs:
- from: '2020-10-24'
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
compactor:
working_directory: /data/compactor
shared_store: filesystem
compaction_interval: 1h
retention_enabled: true
deletion_mode: filter-and-delete
ingester:
chunk_idle_period: 1h
limits_config:
retention_period: '[[ .retention ]]'
ingestion_rate_mb: 20
ingestion_burst_size_mb: 100
max_entries_limit_per_query: 20000
max_query_parallelism: 128
split_queries_by_interval: 0
ruler:
alertmanager_url: alertmanager-tls[[ .consul.suffix ]]
enable_alertmanager_discovery: true
alertmanager_client:
tls_cert_path: /secrets/loki.bundle.pem
tls_key_path: /secrets/loki.bundle.pem
tls_ca_path: /secrets/monitoring.ca.pem
tls_server_name: alertmanager.monitoring
enable_alertmanager_v2: true
enable_api: true
rule_path: /tmp/loki-rules
storage:
type: local
local:
directory: /local/rules
ring:
kvstore:
store: inmemory
analytics:
reporting_enabled: false