grpc_client_config: max_send_msg_size: 1.048576e+08 parallelism: 2 ingester: chunk_block_size: 262144 chunk_idle_period: 15m lifecycler: heartbeat_period: 5s interface_names: - eth0 join_after: 30s num_tokens: 512 ring: kvstore: store: memberlist replication_factor: 3 max_transfer_retrie...
auth_enabled: false chunk_store_config: max_look_back_period: 0s compactor: shared_store: filesystem working_directory: /data/loki/boltdb-shipper-compactor ingester: chunk_block_size: 262144 chunk_idle_period: 3m chunk_retain_period: 1m lifecycler: ring: kvstore: store: inmemory replication_f...
loki.yaml:|auth_enabled: false chunk_store_config: max_look_back_period: 0s compactor: shared_store: filesystem working_directory:/data/loki/boltdb-shipper-compactor ingester: chunk_block_size:262144chunk_idle_period: 3m chunk_retain_period: 1m lifecycler: ring: kvstore: store: inmemory repli...
replication_factor: 1 chunk_idle_period: 3m chunk_block_size: 262144 chunk_encoding: snappy chunk_retain_period: 1m max_transfer_retries: 0 limits_config: enforce_metric_name: false reject_old_samples: true reject_old_samples_max_age: 168h max_cache_freshness_per_query: 10m schema_config: ...
chunk_block_size:262144chunk_encoding:snappychunk_idle_period:1hchunk_retain_period:1mchunk_target_size:1536000lifecycler:ring:kvstore:store:memberlistreplication_factor:1max_chunk_age:1hmax_transfer_retries:0wal:dir:/var/loki/wallimits_config:enforce_metric_name:falsemax_cache_freshness_per_query:...
chunk_block_size: 262144 chunk_retain_period: 1m max_transfer_retries: 0 lifecycler: ring: kvstore: store: inmemory replication_factor: 1 ## Different ring configs can be used. E.g. Consul # ring: # store: consul # replication_factor: 1 ...
如果由于其他原因(例如 chunk_idle_period)而将其刷新,则块可能会稍大或显着较小(默认值为 0)会创建固定 10 个 block 的 chunk,非 0 值将创建具有可变数量的 block 的 chunk 以满足目标大小,所以一个 chunk 大小 = chunk_block_size * chunk_target_size(默认 10)chunk_target_size:0chunk_encoding:gzip...
chunk_block_size: 262144 chunk_idle_period: 3m chunk_retain_period: 1m lifecycler:ring:kvstore:store: inmemory replication_factor: 1 max_transfer_retries: 0 limits_config:enforce_metric_name: false reject_old_samples: true reject_old_samples_max_age: 168h schema_config:configs:- from: "2020...
Label作为哈希运算的输入, 除了用户自定义的label外, loki会使用时间戳作为额外的默认label,写入chunk时会按照时间戳分段.通过哈希label得到写入的Ingester 上传的日志会按照block整理, 多条日志经过压缩构成一个block 多个block会按照特定时间/特定大小组合为一个chunk写入chunk store ...
1946 slim-bean: Loki Update the cut block size counter when creating a memchunk from byte slice 1939 owen-d: adds config validation, similar to cortex 1916 cyriltovena: Add cap_net_bind_service linux capabilities to Loki. 1914 owen-d: only fetches one chunk per series in /series 1875 ow...