fix: Loki reject_old_samples_max_age настройка для устранения ошибок Promtail
Проблема: - Promtail логи показывали множество ошибок "entry too far behind" - Loki использовал дефолтное значение reject_old_samples_max_age = 1h - Это конфликтовало с retention_period = 720h (30 дней) Решение: - Добавлена настройка reject_old_samples_max_age: 720h - Теперь Loki принимает логи возрастом до 30 дней - Соответствует периоду retention Результат: - Ошибки "entry too far behind" исчезли из логов Promtail - Loki и Promtail работают стабильно после рестарта 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
12b95e25f9
commit
cc95b76117
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ limits_config:
|
|||
ingestion_burst_size_mb: 100
|
||||
max_entries_limit_per_query: 5000
|
||||
retention_period: 720h
|
||||
reject_old_samples: true
|
||||
reject_old_samples_max_age: 720h # Accept logs up to 30 days old (matches retention)
|
||||
|
||||
query_range:
|
||||
results_cache:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue