GithubHelp home page GithubHelp logo

vinodborole / telegraf-influxdb-grafana-stack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 4.05 MB

Telegraf, Influxdb and Grafana stack with pre-provisioned datasource and dashboard

License: MIT License

Dockerfile 1.60% HTML 20.67% CSS 11.17% JavaScript 66.57%

telegraf-influxdb-grafana-stack's Introduction

telegraf-influxdb-grafana-stack

Telegraf, Influxdb and Grafana stack with pre-provisioned datasource and dashboard

Setup

This project depends on the image from this repo https://github.com/vinodborole/telegraf_datagen follow the steps from this repo's readme, generate the image and then follow below steps

Clone the repo and run following command as per the choice

With custom data generated pushed using socket listener

docker-compose -f docker-compose-datagen.yml up -d

Open http://localhost:3001 in your browser that opens up the react app that embeds the grafana widgets

Showcase VM Stats

docker-compose up -d

Open http://localhost:3000 in your browser with credentials [admin/admin]

Clean up

docker-compose down

docker volume rm telegraf-influxdb-grafana-stack_grafana_data

docker volume rm telegraf-influxdb-grafana-stack_influxdb_data

Notes

  1. Datasource UID in dasboard and influxdb Datasource yml file have been hardcoded with random ID, this is to avoid the following error

failed to upgrade legacy queries datasource ${ds_influxdb_telegraf} was not found

  1. Wait for few minutes on the dashboard to see the data, refresh the page manually after couple of minute to reflect system data

Telegraf System Dashboard

All system stats pulled from telegraf agent

telegraf-influxdb-grafana-stack's People

Contributors

vinodborole avatar

Watchers

 avatar

Forkers

vikas2606

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.