Compare commits

...

6 Commits

Author SHA1 Message Date
LRVT
e7804ba157
Update loki-config.yml
All checks were successful
CI / validateComposeSyntax (push) Successful in 19s
2025-06-24 13:53:47 +02:00
LRVT
10f11354dc
Update docker-compose.yml 2025-06-24 13:46:54 +02:00
LRVT
7f9620afb7
chore: switch to modern loki tsdb 2025-06-24 13:40:37 +02:00
LRVT
9e5ebf100c
chore: Update docker-compose.yml 2025-06-24 13:37:37 +02:00
LRVT
1acbc72e7d
chore: comment deprecated docker plugin directives 2025-06-24 13:30:52 +02:00
LRVT
8a03b42369
chore: disable loki stats sending 2025-06-24 13:29:58 +02:00
3 changed files with 16 additions and 5 deletions

View File

@ -6,6 +6,7 @@ services:
hostname: loki
volumes:
- ./volume-data/loki:/etc/loki # place loki-config.yml
#- ./volume-data/loki/data:/tmp/loki # optional loki data storage
ports:
- "127.0.0.1:3100:3100"
expose:

View File

@ -1,9 +1,17 @@
auth_enabled: false
analytics:
reporting_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
compactor:
working_directory: /tmp/loki/compactor
retention_enabled: true
retention_delete_delay: 2h
common:
path_prefix: /tmp/loki
storage:
@ -26,10 +34,10 @@ limits_config:
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
- from: 2023-07-01
store: tsdb
object_store: filesystem
schema: v11
schema: v13
index:
prefix: index_
period: 24h

View File

@ -51,8 +51,10 @@
timeout = "5s"
docker_label_include = []
docker_label_exclude = []
perdevice = true
total = false
#perdevice = true
perdevice_include = ["cpu", "network"]
#total = false
total_include = []
[[inputs.cpu]]
percpu = true