Skip to content
Aplicação para talk do Meetup de Node.js -> https://pt.slideshare.net/olucassanchez/nodejs-influx-grafana-91616289
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
.env
.gitignore
.jshintrc
README.md
package.json

README.md

start grafana

docker run \
  -d \
  -p 3000:3000 \
  --name=grafana \
  -e "GF_SERVER_ROOT_URL=http://grafana.server.name" \
  -e "GF_SECURITY_ADMIN_PASSWORD=secret" \
  grafana/grafana

start influx

docker run -p 8086:8086 \
      -v $PWD:/var/lib/influxdb \
      influxdb

start app

npm install

npm start

start infinity

npm install pm2 -g

pm2 start app/main.js

Access Grafana

http://localhost:3000/

login: admin
pass: secret
You can’t perform that action at this time.