Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

mahasak/RealtimeMeasurementNodeJSDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealtimeMeasurementDemo

Demonstration how to use NodeJS with InfluxDb and Grafana to visualize NodeJS-Express Web Application for scalable application

Prerequisite

Runnin InfluxDb

  • Extract downloaded file to some folder
  • Run "influxd"
  • Go to influxdb web console : http://localhost:8083/
  • Create influxdb user : CREATE USER "bigbears" WITH PASSWORD 'bigbears'
  • Change it according to you code (if any)
  • Create influxdb database: CREATE DATABASE "dev_hapiness"

Running Grafana

  • Extract downloaded file to some folder
  • Run "bin/grafana-server"
  • login with default username/password (admin/admin)
  • Add influxdb data source
  • Parameter as follows
    • Name : influx-default (or any name you want)
    • Default : checked
    • Type : InfluxDB
    • url : http://localhost:8086
    • Access : Direct
    • Database : dev_hapiness
    • User : bigbears
    • Password : bigbears
    • Defualt group by time : > 30s

Checkout code from GitHub

  • You know how to do it !!!

Running Demonstration

  • npm install
  • node app.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published