about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 15:26:03 +0200
committermakefunstuff <[email protected]>2024-06-29 15:26:03 +0200
commit8ed09966feeabe09ba1a1b5db97e0d476aeb928a (patch)
tree53e73d44ac91a7fb7feec692b3345be4b1f2d72e /tools
parent90c2394891d14263936b372695c355e1949d8b83 (diff)
downloadk3s-lab-8ed09966feeabe09ba1a1b5db97e0d476aeb928a.tar.gz
fix
Diffstat (limited to '')
-rw-r--r--tools/loki-promtail/values.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/loki-promtail/values.yaml b/tools/loki-promtail/values.yaml
index c971e0f..7f488f1 100644
--- a/tools/loki-promtail/values.yaml
+++ b/tools/loki-promtail/values.yaml
@@ -22,6 +22,21 @@ loki:
       enabled: false
     storage:
       type: filesystem
+    schemaConfig:
+      configs:
+        - from: 2020-10-24
+          store: boltdb-shipper
+          object_store: filesystem
+          schema: v11
+          index:
+            prefix: index_
+            period: 168h
+    limits_config:
+      enforce_metric_name: false
+      reject_old_samples: true
+      reject_old_samples_max_age: 168h
+    commonConfig:
+      replication_factor: 1
     ingester:
       lifecycler:
         ring:
@@ -34,6 +49,7 @@ loki:
     ruler:
       storage:
         type: local
+      rule_path: /loki/rules-temp
 
 promtail:
   fullnameOverride: promtail