Coder Social home page Coder Social logo

golang-melbourne-july-2017's Introduction

Visualising MQTT data using Golang, InfluxDB and Grafana

Slides

Presentation given at Golang Melbourne, July 4th 2017

Talk_Architecture

Getting started

The steps below assume Docker for Mac/Windows or via Linux, meaning exposed ports are accessible at http://localhost:<port>. If you're using Docker via Virtualbox/Vagrant/other, please substitute localhost for your IP.

  1. Clone the repo

  2. Run docker-compose up. This will bring up:

  1. The following UI's are now available:
  1. Access the Grafana UI, logging in as admin/admin

  2. Add a new data source with the following detail:

  • Name: influxdb-iot
  • Type: InfluxDB
  • HTTP URL: http://influxdb:8086
  • HTTP Access: proxy
  • InfluxDB Database: iot
  1. Click 'Add'

  2. Add another new data source with the following detail:

  • Name: influxdb-owntracks
  • Type: InfluxDB
  • HTTP URL: http://influxdb:8086
  • HTTP Access: proxy
  • InfluxDB Database: owntracks
  1. Now, let's import a dashboard

  2. Click 'Upload .json File' and select './grafana/IoT-dashboard.json'

  3. Leave the name as 'IoT' and select 'influxdb-iot' from the 'Select a InfluxDB data source' drop-down

  4. Click 'Import'. Your new IoT dashboard should already be showing data!

  5. Now, let's import another dashboard

  6. Click 'Upload .json File' and select './grafana/Owntracks-dashboard.json'

  7. Leave the name as 'Owntracks' and select 'influxdb-owntracks' from the 'Select a InfluxDB data source' drop-down

  8. Click 'Import'. Your new Owntracks dashboard should already be showing data!

golang-melbourne-july-2017's People

Contributors

ashmckenzie avatar

Stargazers

Robot_Invasion avatar  avatar Venkatesh avatar

Watchers

James Cloos avatar  avatar

Forkers

itsjustvenky

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.