mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-02-15 13:59:39 +00:00
ansible playbooks for retailor.io infrastructure
This commit is contained in:
41
roles/prometheus-grafana/templates/loki.yml.j2
Normal file
41
roles/prometheus-grafana/templates/loki.yml.j2
Normal file
@@ -0,0 +1,41 @@
|
||||
# This is a complete configuration to deploy Loki backed by the filesystem.
|
||||
# The index will be shipped to the storage via tsdb-shipper.
|
||||
|
||||
auth_enabled: false
|
||||
|
||||
server:
|
||||
http_listen_port: 3100
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: 2024-04-01
|
||||
store: tsdb
|
||||
object_store: s3
|
||||
schema: v13
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
common:
|
||||
path_prefix: /loki
|
||||
storage:
|
||||
s3:
|
||||
bucketnames: {{ env_vars.LOKI_S3_BUCKET }}
|
||||
endpoint: {{ env_vars.LOKI_S3_ENDPOINT }}
|
||||
access_key_id: {{ env_vars.LOKI_S3_KEY_ID }}
|
||||
secret_access_key: {{ env_vars.LOKI_S3_ACCESS_KEY }}
|
||||
insecure: false
|
||||
ring:
|
||||
instance_addr: 127.0.0.1
|
||||
kvstore:
|
||||
store: inmemory
|
||||
replication_factor: 1
|
||||
|
||||
storage_config:
|
||||
tsdb_shipper:
|
||||
active_index_directory: /loki/index
|
||||
cache_location: /loki/index_cache
|
||||
cache_ttl: 24h
|
||||
aws:
|
||||
s3: "{{ env_vars.LOKI_S3_URL }}"
|
||||
object_prefix: "loki/"
|
||||
Reference in New Issue
Block a user