Guest User

Untitled

a guest
May 18th, 2023
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. This is our entire config
  2. # Should authentication be enabled
  3. auth_enabled: false
  4. # -- Tenants list to be created on nginx htpasswd file, with name and password keys
  5. tenants: []
  6. # -- Check https://grafana.com/docs/loki/latest/configuration/#server for more info on the server configuration.
  7. server:
  8. http_listen_port: 3100
  9. grpc_listen_port: 9095
  10. grpc_server_max_recv_msg_size: 52428800 # 50Mb
  11. grpc_server_max_send_msg_size: 52428800 # 50Mb
  12. http_server_read_timeout: 600s
  13. http_server_write_timeout: 600s
  14. log_level: debug
  15. grpc_client:
  16. max_recv_msg_size: 157286400
  17. max_send_msg_size: 157286400
  18. grpc_compression: snappy
  19. # -- Limits config
  20. limits_config:
  21. max_query_series: 2000000
  22. cardinality_limit: 100000
  23. enforce_metric_name: false
  24. reject_old_samples: true
  25. reject_old_samples_max_age: 168h
  26. max_cache_freshness_per_query: 10m
  27. split_queries_by_interval: 2m
  28. ingestion_rate_mb: 1024 # 1GB, must be in MBs
  29. ingestion_burst_size_mb: 1600 # ~1.5 GB
  30. per_stream_rate_limit: 250MB
  31. per_stream_rate_limit_burst: 500MB
  32. max_chunks_per_query: 200000000
  33. query_timeout: 5m
  34. # -- Provides a reloadable runtime configuration file for some specific configuration
  35. runtimeConfig: {}
  36. # -- Check https://grafana.com/docs/loki/latest/configuration/#common_config for more info on how to provide a common configuration
  37. commonConfig:
  38. path_prefix: /var/loki
  39. replication_factor: 3
  40. compactor_address: '{{ include "loki.compactorAddress" . }}'
  41. # -- Storage config. Providing this will automatically populate all necessary storage configs in the templated config.
  42. storage:
  43. bucketNames:
  44. chunks: 'loki-prod-quizizz'
  45. ruler: 'loki-prod-quizizz'
  46. admin: 'loki-prod-quizizz'
  47. type: s3
  48. s3:
  49. s3: null
  50. endpoint: null
  51. region: us-east-1
  52. secretAccessKey: null
  53. accessKeyId: null
  54. signatureVersion: null
  55. s3ForcePathStyle: false
  56. insecure: false
  57. http_config: {}
  58. gcs:
  59. chunkBufferSize: 0
  60. requestTimeout: "0s"
  61. enableHttp2: true
  62. azure:
  63. accountName: null
  64. accountKey: null
  65. useManagedIdentity: false
  66. useFederatedToken: false
  67. userAssignedId: null
  68. requestTimeout: null
  69. filesystem:
  70. chunks_directory: /var/loki/chunks
  71. rules_directory: /var/loki/rules
  72. hedging:
  73. at: "250ms"
  74. max_per_second: 20
  75. up_to: 3
  76. # -- Configure memcached as an external cache for chunk and results cache. Disabled by default
  77. # must enable and specify a host for each cache you would like to use.
  78. memcached:
  79. chunk_cache:
  80. enabled: false
  81. host: ""
  82. service: "memcached-client"
  83. batch_size: 256
  84. parallelism: 10
  85. results_cache:
  86. enabled: false
  87. host: ""
  88. service: "memcached-client"
  89. timeout: "500ms"
  90. default_validity: "12h"
  91. # -- Check https://grafana.com/docs/loki/latest/configuration/#schema_config for more info on how to configure schemas
  92. schemaConfig: {}
  93. # -- Check https://grafana.com/docs/loki/latest/configuration/#ruler for more info on configuring ruler
  94. rulerConfig: {}
  95. # -- Structured loki configuration, takes precedence over `loki.config`, `loki.schemaConfig`, `loki.storageConfig`
  96. structuredConfig: {}
  97. # -- Additional query scheduler config
  98. query_scheduler:
  99. max_outstanding_requests_per_tenant: 2048
  100. querier_forget_delay: 0s
  101. # use_scheduler_ring: true
  102. #Front end
  103. frontend:
  104. scheduler-address: http://query-scheduler.loki.svc.cluster.local:9095
  105. frontend_worker:
  106. scheduler-address: http://query-scheduler.loki.svc.cluster.local:9095
  107. # -- Additional storage config
  108. storage_config:
  109. boltdb_shipper:
  110. query_ready_num_days: 2 #change as required
  111. cache_ttl: 1h0m0s
  112. max_parallel_get_chunk: 100000
  113. max_chunk_batch_size: 100000
  114. # -- Optional compactor configuration
  115. compactor: {}
  116. # -- Optional analytics configuration
  117. analytics: {}
  118. # -- Optional querier configuration
  119. querier:
  120. query_timeout: 5m
  121. engine:
  122. timeout: 5m
  123. max_concurrent: 100
  124. # -- Optional ingester configuration
  125. ingester:
  126. chunk_encoding: snappy
  127. chunk_idle_period: 1h
  128. max_chunk_age: 2h
  129. chunk_target_size: 1572864
  130. wal:
  131. replay_memory_ceiling: 1GB
  132. # -- Optional index gateway configuration
  133. index_gateway:
  134. mode: ring
Advertisement
Add Comment
Please, Sign In to add comment