mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-10 13:44:06 +01:00
Compare commits
6 Commits
296445a2cf
...
e7804ba157
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7804ba157 | ||
|
|
10f11354dc | ||
|
|
7f9620afb7 | ||
|
|
9e5ebf100c | ||
|
|
1acbc72e7d | ||
|
|
8a03b42369 |
@ -6,6 +6,7 @@ services:
|
|||||||
hostname: loki
|
hostname: loki
|
||||||
volumes:
|
volumes:
|
||||||
- ./volume-data/loki:/etc/loki # place loki-config.yml
|
- ./volume-data/loki:/etc/loki # place loki-config.yml
|
||||||
|
#- ./volume-data/loki/data:/tmp/loki # optional loki data storage
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3100:3100"
|
- "127.0.0.1:3100:3100"
|
||||||
expose:
|
expose:
|
||||||
|
|||||||
@ -1,9 +1,17 @@
|
|||||||
auth_enabled: false
|
auth_enabled: false
|
||||||
|
|
||||||
|
analytics:
|
||||||
|
reporting_enabled: false
|
||||||
|
|
||||||
server:
|
server:
|
||||||
http_listen_port: 3100
|
http_listen_port: 3100
|
||||||
grpc_listen_port: 9096
|
grpc_listen_port: 9096
|
||||||
|
|
||||||
|
compactor:
|
||||||
|
working_directory: /tmp/loki/compactor
|
||||||
|
retention_enabled: true
|
||||||
|
retention_delete_delay: 2h
|
||||||
|
|
||||||
common:
|
common:
|
||||||
path_prefix: /tmp/loki
|
path_prefix: /tmp/loki
|
||||||
storage:
|
storage:
|
||||||
@ -26,10 +34,10 @@ limits_config:
|
|||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
- from: 2020-10-24
|
- from: 2023-07-01
|
||||||
store: boltdb-shipper
|
store: tsdb
|
||||||
object_store: filesystem
|
object_store: filesystem
|
||||||
schema: v11
|
schema: v13
|
||||||
index:
|
index:
|
||||||
prefix: index_
|
prefix: index_
|
||||||
period: 24h
|
period: 24h
|
||||||
|
|||||||
@ -51,8 +51,10 @@
|
|||||||
timeout = "5s"
|
timeout = "5s"
|
||||||
docker_label_include = []
|
docker_label_include = []
|
||||||
docker_label_exclude = []
|
docker_label_exclude = []
|
||||||
perdevice = true
|
#perdevice = true
|
||||||
total = false
|
perdevice_include = ["cpu", "network"]
|
||||||
|
#total = false
|
||||||
|
total_include = []
|
||||||
|
|
||||||
[[inputs.cpu]]
|
[[inputs.cpu]]
|
||||||
percpu = true
|
percpu = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user