diff --git a/loki-config.yaml b/loki-config.yaml index ea55414..8ea46cb 100644 --- a/loki-config.yaml +++ b/loki-config.yaml @@ -11,18 +11,20 @@ common: filesystem: chunks_directory: /loki/chunks rules_directory: /loki/rules + replication_factor: 1 schema_config: configs: - store: tsdb - schema: v13 - # Die Zeile 'period' wurde hier entfernt, da sie in neuen Loki-Versionen nicht mehr an dieser Stelle erlaubt ist. - -limits_config: - reject_old_samples: true - reject_old_samples_max_age: 168h - allow_structured_metadata: false + schema: v13 + period: 24h # Das verlangt Loki jetzt explizit für TSDB! storage_config: + # Hier lösen wir den Fehler "unrecognized object_store type" filesystem: - directory: /loki/chunks \ No newline at end of file + directory: /loki/chunks + +limits_config: + allow_structured_metadata: false + reject_old_samples: true + reject_old_samples_max_age: 168h \ No newline at end of file