github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/production/docker/config/loki.yaml (about) 1 auth_enabled: true 2 3 http_prefix: 4 5 server: 6 http_listen_address: 0.0.0.0 7 grpc_listen_address: 0.0.0.0 8 http_listen_port: 3100 9 grpc_listen_port: 9095 10 log_level: info 11 12 common: 13 storage: 14 s3: 15 endpoint: minio:9000 16 insecure: true 17 bucketnames: loki-data 18 access_key_id: loki 19 secret_access_key: supersecret 20 s3forcepathstyle: true 21 22 memberlist: 23 join_members: ["loki-read", "loki-write"] 24 dead_node_reclaim_time: 30s 25 gossip_to_dead_nodes_time: 15s 26 left_ingesters_timeout: 30s 27 bind_addr: ['0.0.0.0'] 28 bind_port: 7946 29 gossip_interval: 2s 30 31 ingester: 32 lifecycler: 33 join_after: 10s 34 observe_period: 5s 35 ring: 36 replication_factor: 3 37 kvstore: 38 store: memberlist 39 final_sleep: 0s 40 chunk_idle_period: 1m 41 wal: 42 enabled: true 43 dir: /loki/wal 44 max_chunk_age: 1m 45 chunk_retain_period: 30s 46 chunk_encoding: snappy 47 chunk_target_size: 1.572864e+06 48 chunk_block_size: 262144 49 flush_op_timeout: 10s 50 51 schema_config: 52 configs: 53 - from: 2020-08-01 54 store: boltdb-shipper 55 object_store: s3 56 schema: v11 57 index: 58 prefix: index_ 59 period: 24h 60 61 storage_config: 62 boltdb_shipper: 63 shared_store: s3 64 active_index_directory: /tmp/index 65 cache_location: /tmp/boltdb-cache 66 67 68 limits_config: 69 max_cache_freshness_per_query: '10m' 70 enforce_metric_name: false 71 reject_old_samples: true 72 reject_old_samples_max_age: 30m 73 ingestion_rate_mb: 10 74 ingestion_burst_size_mb: 20 75 # parallelize queries in 15min intervals 76 split_queries_by_interval: 15m 77 78 chunk_store_config: 79 max_look_back_period: 336h 80 81 table_manager: 82 retention_deletes_enabled: true 83 retention_period: 336h 84 85 query_range: 86 # make queries more cache-able by aligning them with their step intervals 87 align_queries_with_step: true 88 max_retries: 5 89 parallelise_shardable_queries: true 90 cache_results: true 91 92 frontend: 93 log_queries_longer_than: 5s 94 compress_responses: true 95 max_outstanding_per_tenant: 2048 96 97 query_scheduler: 98 max_outstanding_requests_per_tenant: 1024 99 100 querier: 101 query_ingesters_within: 2h 102 103 compactor: 104 working_directory: /tmp/compactor 105 shared_store: s3