Skip to content
Snippets Groups Projects
Unverified Commit 5e3b4aa8 authored by Varac's avatar Varac
Browse files

Remove loki default values

parent f52e0e51
No related branches found
No related tags found
No related merge requests found
...@@ -19,15 +19,11 @@ data: ...@@ -19,15 +19,11 @@ data:
- ReadWriteOnce - ReadWriteOnce
size: 10Gi size: 10Gi
annotations: {} annotations: {}
# existingClaim:
# https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml#L46
config: config:
# https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml#L48
ingester: ingester:
chunk_idle_period: 30m chunk_idle_period: 30m
chunk_block_size: 1048576 chunk_block_size: 1048576
chunk_retain_period: 15m chunk_retain_period: 15m
max_transfer_retries: 0
# https://github.com/grafana/loki/blob/main/cmd/loki/loki-local-config.yaml # https://github.com/grafana/loki/blob/main/cmd/loki/loki-local-config.yaml
# https://grafana.com/docs/loki/latest/operations/storage/retention # https://grafana.com/docs/loki/latest/operations/storage/retention
schema_config: schema_config:
...@@ -41,28 +37,17 @@ data: ...@@ -41,28 +37,17 @@ data:
period: 24h period: 24h
chunks: chunks:
period: 24h period: 24h
storage_config: # https://grafana.com/docs/loki/latest/operations/storage/retention/
boltdb_shipper: limits_config:
active_index_directory: /data/loki/boltdb-shipper-active retention_period: 48h
cache_location: /data/loki/boltdb-shipper-cache reject_old_samples_max_age: 48h
cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk space chunk_store_config:
shared_store: filesystem max_look_back_period: 48h
filesystem: table_manager:
directory: /data/loki/chunks retention_deletes_enabled: true
# https://grafana.com/docs/loki/v2.3.0/operations/storage/retention/#retention-configuration^B retention_period: 48h
compactor: compactor:
working_directory: /data/loki/boltdb-shipper-compactor
shared_store: filesystem
compaction_interval: 10m compaction_interval: 10m
retention_enabled: true retention_enabled: true
retention_delete_delay: 2h retention_delete_delay: 2h
retention_delete_worker_count: 150 retention_delete_worker_count: 150
limits_config:
retention_period: 48h # 2 days
reject_old_samples: true
reject_old_samples_max_age: 48h # 2 days
chunk_store_config:
max_look_back_period: 48h # 2 days
table_manager:
retention_deletes_enabled: true
retention_period: 48h # 7 days
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment