| 1 | # Loki — single-binary mode on the monitoring host. Promtail on |
| 2 | # each app host tails /var/log/shithubd/*.log and ships here over |
| 3 | # the wg0 mesh. Retention is short; long-term log archival is the |
| 4 | # OS journal + Spaces backup. |
| 5 | |
| 6 | auth_enabled: false |
| 7 | |
| 8 | server: |
| 9 | http_listen_port: 3100 |
| 10 | grpc_listen_port: 9096 |
| 11 | |
| 12 | common: |
| 13 | instance_addr: 10.50.0.10 |
| 14 | path_prefix: /var/lib/loki |
| 15 | storage: |
| 16 | filesystem: |
| 17 | chunks_directory: /var/lib/loki/chunks |
| 18 | rules_directory: /var/lib/loki/rules |
| 19 | replication_factor: 1 |
| 20 | ring: |
| 21 | kvstore: |
| 22 | store: inmemory |
| 23 | |
| 24 | schema_config: |
| 25 | configs: |
| 26 | - from: 2026-01-01 |
| 27 | store: tsdb |
| 28 | object_store: filesystem |
| 29 | schema: v13 |
| 30 | index: |
| 31 | prefix: index_ |
| 32 | period: 24h |
| 33 | |
| 34 | limits_config: |
| 35 | retention_period: 168h |
| 36 | ingestion_rate_mb: 8 |
| 37 | ingestion_burst_size_mb: 16 |
| 38 | max_streams_per_user: 5000 |
| 39 | |
| 40 | ruler: |
| 41 | storage: |
| 42 | type: local |
| 43 | local: |
| 44 | directory: /etc/loki/rules |
| 45 | rule_path: /tmp/loki-rules |
| 46 | alertmanager_url: http://10.50.0.10:9093 |
| 47 | ring: |
| 48 | kvstore: |
| 49 | store: inmemory |
| 50 | enable_api: true |
| 51 | |
| 52 | compactor: |
| 53 | working_directory: /var/lib/loki/compactor |
| 54 | retention_enabled: true |
| 55 | retention_delete_delay: 2h |
| 56 | delete_request_store: filesystem |
| 57 |