Skip to content

Instantly share code, notes, and snippets.

@kitallis
Created October 19, 2015 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kitallis/2311aec01b005fecfa32 to your computer and use it in GitHub Desktop.
Save kitallis/2311aec01b005fecfa32 to your computer and use it in GitHub Desktop.
quickly setup prometheus monitoring on os x
brew install go
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
GO15VENDOREXPERIMENT=1 go get github.com/prometheus/prometheus/cmd/...
prometheus -config.file=prometheus.yml
@sanjeev1779
Copy link

Please update
prometheus -config.file=prometheus.yml
to prometheus **--**config.file=prometheus.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment