Set New TSDB Schema as default index "from now on"
This configuration has been running in our release cluster since December. Grafana stated with loki 2.8.0
that TSDB is out of BETA/TESTING and is now their default on grafana cloud instances. We saw no issues in our release cluster so we can set something similar to this for the package for customers to consume:
loki:
schemaConfig:
configs:
- from: 2020-01-11
index:
period: 24h
prefix: loki_index_
object_store: s3
schema: v11
store: boltdb-shipper
- from: 2022-04-20
store: tsdb
object_store: s3
schema: v12
index:
prefix: loki_tsdb_
period: 24h
storage_config:
boltdb_shipper:
active_index_directory: /var/loki/boltdb-shipper-active
cache_location: /var/loki/boltdb-shipper-cache
cache_ttl: 24h
shared_store: s3
tsdb_shipper:
active_index_directory: /var/loki/tsdb-index
cache_location: /var/loki/tsdb-cache
shared_store: s3