loki-config.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. limits_config:
  2. allow_structured_metadata: true
  3. auth_enabled: false
  4. server:
  5. http_listen_port: 3100
  6. grpc_listen_port: 9096
  7. common:
  8. instance_addr: 127.0.0.1
  9. path_prefix: /tmp/loki
  10. storage:
  11. filesystem:
  12. chunks_directory: /tmp/loki/chunks
  13. rules_directory: /tmp/loki/rules
  14. replication_factor: 1
  15. ring:
  16. kvstore:
  17. store: inmemory
  18. query_range:
  19. results_cache:
  20. cache:
  21. embedded_cache:
  22. enabled: true
  23. max_size_mb: 100
  24. schema_config:
  25. configs:
  26. - from: 2020-10-24
  27. store: tsdb
  28. object_store: filesystem
  29. schema: v13
  30. index:
  31. prefix: index_
  32. period: 24h
  33. # By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
  34. # analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
  35. #
  36. # Statistics help us better understand how Loki is used, and they show us performance
  37. # levels for most users. This helps us prioritize features and documentation.
  38. # For more information on what's sent, look at
  39. # https://github.com/grafana/loki/blob/main/pkg/analytics/stats.go
  40. # Refer to the buildReport method to see what goes into a report.
  41. #
  42. # If you would like to disable reporting, uncomment the following lines:
  43. #analytics:
  44. # reporting_enabled: false