config.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Single-binary Loki — fits Phase 0 dogfood scale (one operator, low log
  2. # volume). Phase 4+ migration to a clustered Loki with object-storage
  3. # backend is documented in the README under "scale-out path".
  4. auth_enabled: false
  5. server:
  6. http_listen_port: 3100
  7. grpc_listen_port: 9095
  8. log_level: info
  9. common:
  10. instance_addr: 127.0.0.1
  11. path_prefix: /loki
  12. storage:
  13. filesystem:
  14. chunks_directory: /loki/chunks
  15. rules_directory: /loki/rules
  16. replication_factor: 1
  17. ring:
  18. kvstore:
  19. store: inmemory
  20. schema_config:
  21. configs:
  22. - from: 2024-01-01
  23. store: tsdb
  24. object_store: filesystem
  25. schema: v13
  26. index:
  27. prefix: index_
  28. period: 24h
  29. limits_config:
  30. retention_period: 30d
  31. ingestion_rate_mb: 8
  32. ingestion_burst_size_mb: 16
  33. reject_old_samples: true
  34. reject_old_samples_max_age: 168h
  35. compactor:
  36. working_directory: /loki/compactor
  37. compaction_interval: 10m
  38. retention_enabled: true
  39. delete_request_store: filesystem
  40. ruler:
  41. storage:
  42. type: local
  43. local:
  44. directory: /loki/rules
  45. rule_path: /loki/rules
  46. alertmanager_url: ''
  47. ring:
  48. kvstore:
  49. store: inmemory
  50. enable_api: true