Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is our entire config
- # Should authentication be enabled
- auth_enabled: false
- # -- Tenants list to be created on nginx htpasswd file, with name and password keys
- tenants: []
- # -- Check https://grafana.com/docs/loki/latest/configuration/#server for more info on the server configuration.
- server:
- http_listen_port: 3100
- grpc_listen_port: 9095
- grpc_server_max_recv_msg_size: 52428800 # 50Mb
- grpc_server_max_send_msg_size: 52428800 # 50Mb
- http_server_read_timeout: 600s
- http_server_write_timeout: 600s
- log_level: debug
- grpc_client:
- max_recv_msg_size: 157286400
- max_send_msg_size: 157286400
- grpc_compression: snappy
- # -- Limits config
- limits_config:
- max_query_series: 2000000
- cardinality_limit: 100000
- enforce_metric_name: false
- reject_old_samples: true
- reject_old_samples_max_age: 168h
- max_cache_freshness_per_query: 10m
- split_queries_by_interval: 2m
- ingestion_rate_mb: 1024 # 1GB, must be in MBs
- ingestion_burst_size_mb: 1600 # ~1.5 GB
- per_stream_rate_limit: 250MB
- per_stream_rate_limit_burst: 500MB
- max_chunks_per_query: 200000000
- query_timeout: 5m
- # -- Provides a reloadable runtime configuration file for some specific configuration
- runtimeConfig: {}
- # -- Check https://grafana.com/docs/loki/latest/configuration/#common_config for more info on how to provide a common configuration
- commonConfig:
- path_prefix: /var/loki
- replication_factor: 3
- compactor_address: '{{ include "loki.compactorAddress" . }}'
- # -- Storage config. Providing this will automatically populate all necessary storage configs in the templated config.
- storage:
- bucketNames:
- chunks: 'loki-prod-quizizz'
- ruler: 'loki-prod-quizizz'
- admin: 'loki-prod-quizizz'
- type: s3
- s3:
- s3: null
- endpoint: null
- region: us-east-1
- secretAccessKey: null
- accessKeyId: null
- signatureVersion: null
- s3ForcePathStyle: false
- insecure: false
- http_config: {}
- gcs:
- chunkBufferSize: 0
- requestTimeout: "0s"
- enableHttp2: true
- azure:
- accountName: null
- accountKey: null
- useManagedIdentity: false
- useFederatedToken: false
- userAssignedId: null
- requestTimeout: null
- filesystem:
- chunks_directory: /var/loki/chunks
- rules_directory: /var/loki/rules
- hedging:
- at: "250ms"
- max_per_second: 20
- up_to: 3
- # -- Configure memcached as an external cache for chunk and results cache. Disabled by default
- # must enable and specify a host for each cache you would like to use.
- memcached:
- chunk_cache:
- enabled: false
- host: ""
- service: "memcached-client"
- batch_size: 256
- parallelism: 10
- results_cache:
- enabled: false
- host: ""
- service: "memcached-client"
- timeout: "500ms"
- default_validity: "12h"
- # -- Check https://grafana.com/docs/loki/latest/configuration/#schema_config for more info on how to configure schemas
- schemaConfig: {}
- # -- Check https://grafana.com/docs/loki/latest/configuration/#ruler for more info on configuring ruler
- rulerConfig: {}
- # -- Structured loki configuration, takes precedence over `loki.config`, `loki.schemaConfig`, `loki.storageConfig`
- structuredConfig: {}
- # -- Additional query scheduler config
- query_scheduler:
- max_outstanding_requests_per_tenant: 2048
- querier_forget_delay: 0s
- # use_scheduler_ring: true
- #Front end
- frontend:
- scheduler-address: http://query-scheduler.loki.svc.cluster.local:9095
- frontend_worker:
- scheduler-address: http://query-scheduler.loki.svc.cluster.local:9095
- # -- Additional storage config
- storage_config:
- boltdb_shipper:
- query_ready_num_days: 2 #change as required
- cache_ttl: 1h0m0s
- max_parallel_get_chunk: 100000
- max_chunk_batch_size: 100000
- # -- Optional compactor configuration
- compactor: {}
- # -- Optional analytics configuration
- analytics: {}
- # -- Optional querier configuration
- querier:
- query_timeout: 5m
- engine:
- timeout: 5m
- max_concurrent: 100
- # -- Optional ingester configuration
- ingester:
- chunk_encoding: snappy
- chunk_idle_period: 1h
- max_chunk_age: 2h
- chunk_target_size: 1572864
- wal:
- replay_memory_ceiling: 1GB
- # -- Optional index gateway configuration
- index_gateway:
- mode: ring
Advertisement
Add Comment
Please, Sign In to add comment