Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • infrastructure infrastructure
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 106
    • Issues 106
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • infrastructureinfrastructure
  • Merge requests
  • !502

loki: Simplify loki.yaml

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kristian Klausen requested to merge klausenbusk/infrastructure:loki-2.4.0 into master Nov 06, 2021
  • Overview 3
  • Commits 1
  • Pipelines 3
  • Changes 1

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 Nov 17, 2021 by Kristian Klausen
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: loki-2.4.0