Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 995 Bytes

File metadata and controls

69 lines (48 loc) · 995 Bytes

Prerequiste

Brew: Install package manager.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install node exporter

brew install node_exporter

Install grafana

brew install grafana

Install prometheus

brew install prometheus

Start the services

brew services start node_exporter
brew services start prometheus
brew services start grafana

Stop services from running

brew services stop node_exporter
brew services stop prometheus
brew services stop grafana

Update Grafana configuration

vi /opt/homebrew/etc/grafana/grafana.ini

To change prometheus configuration

# To change prometheus config
sudo vi /opt/homebrew/etc/prometheus.yml

Open prometheus UI

open http://localhost:3000

Open grafana UI

open http://localhost:3000

Default username/password for Grafana

admin/admin