brew install loki
Jump to navigation
Jump to search
brew install loki && brew services start loki && brew services info loki http://localhost:3100/metrics
curl -sSL http://localhost:3100/metrics | wc -l 1699 3100/metrics
Examples
Initialized empty Git repository in /Users/mm/homebrew/.git/ HOMEBREW_BREW_GIT_REMOTE set: using ... as the Homebrew/brew Git remote. fatal: '...' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ==> Downloading https://formulae.brew.sh/api/formula.jws.json #=O#- # # ==> Downloading https://formulae.brew.sh/api/cask.jws.json ######################################################################################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/loki/manifests/2.9.3 ######################################################################################################################################## 100.0% ==> Fetching loki ==> Downloading https://ghcr.io/v2/homebrew/core/loki/blobs/sha256:a232126ffcae4fdf98a279cc0ffe0412b46a4456d079e8d45914b3f485c90244 ######################################################################################################################################## 100.0% ==> Pouring loki--2.9.3.arm64_ventura.bottle.tar.gz ==> Caveats To start loki now and restart at login: brew services start loki Or, if you don't want/need a background service you can just run: /Users/mm/homebrew/opt/loki/bin/loki -config.file\=/Users/mm/homebrew/etc/loki-local-config.yaml ==> Summary 🍺 /Users/mm/homebrew/Cellar/loki/2.9.3: 9 files, 71.4MB ==> Running `brew cleanup loki`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Related
See also
Advertising: