==> Downloading https://homebrew.bintray.com/bottles/prometheus-2.7.1.sierra.bottle.tar.gz ######################################################################## 100.0% ==> Pouring prometheus-2.7.1.sierra.bottle.tar.gz ==> Caveats When used with `brew services`, prometheus' configuration is stored as command line flags in /usr/local/etc/prometheus.args
Example configuration: echo "--config.file ~/.config/prometheus.yml" > /usr/local/etc/prometheus.args
To have launchd start prometheus now and restart at login: brew services start prometheus Or, if you don't want/need a background service you can just run: prometheus ==> Summary 🍺 /usr/local/Cellar/prometheus/2.7.1: 18 files, 93.6MB
brew 安装 grafana
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
brew install grafana
==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). No changes to formulae.
==> Downloading https://homebrew.bintray.com/bottles/grafana-6.0.0.sierra.bottle.tar.gz ######################################################################## 100.0% ==> Pouring grafana-6.0.0.sierra.bottle.tar.gz Warning: grafana dependency icu4c was built with a different C++ standard library (libc++ from clang). This may cause problems at runtime. ==> Caveats To have launchd start grafana now and restart at login: brew services start grafana Or, if you don't want/need a background service you can just run: grafana-server --config=/usr/local/etc/grafana/grafana.ini --homepath /usr/local/share/grafana --packaging=brew cfg:default.paths.logs=/usr/local/var/log/grafana cfg:default.paths.data=/usr/local/var/lib/grafana cfg:default.paths.plugins=/usr/local/var/lib/grafana/plugins ==> Summary 🍺 /usr/local/Cellar/grafana/6.0.0: 3,121 files, 164.8MB