Difference between revisions of "Brew install loki"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [[brew install]] [[loki]] && [[brew services start loki]] | + | [[brew install]] [[loki]] && [[brew services start loki]] && [[brew services info loki]] |
http://localhost:3100/metrics | http://localhost:3100/metrics | ||
+ | |||
+ | [[curl -sSL]] http://localhost:3100/metrics | wc -l | ||
+ | 1699 | ||
+ | [[3100/metrics]] | ||
== Examples == | == Examples == | ||
Line 39: | Line 43: | ||
== Related == | == Related == | ||
* <code>[[brew services start loki]]</code> | * <code>[[brew services start loki]]</code> | ||
+ | * [[homebrew.mxcl.loki]], [[homebrew.mxcl.loki.plist]] | ||
+ | * [[brew uninstall --zap loki]] | ||
== See also == | == See also == |
Latest revision as of 16:34, 9 April 2024
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[edit]
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[edit]
See also[edit]
Advertising: