Skip to content
Snippets Groups Projects

loki: Simplify loki.yaml

Merged Kristian Klausen requested to merge klausenbusk/infrastructure:loki-2.4.0 into master
All threads resolved!

Loki v2.4.0 introduced a common config section[1][2] making the config much smaller and better defaults.

So stripped loki.yaml down, removed options where the default is "good enough" and tweaked retention settings per the upgrade notes[3].

So the config should basically be the example loki.yaml[4] + compactor, retention enabled and a few tweaks (ex: compress chunks with zstd).

[1] https://github.com/grafana/loki/releases/tag/v2.4.0 [2] https://grafana.com/docs/loki/latest/configuration/#common_config [3] https://grafana.com/docs/loki/latest/upgrading/#the-single-binary-no-longer-runs-a-table-manager [4] https://github.com/grafana/loki/blob/v2.4.0/cmd/loki/loki-local-config.yaml

Edited by Kristian Klausen

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading