GithubHelp home page GithubHelp logo

bobtronic / tig-stack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janvda/balena-node-red-mqtt-nginx-tig-stack

3.0 1.0 3.0 771 KB

Composite docker application for TIG stack (Telegraf, InfluxDb, Grafana) for deployment on Raspberry Pi

License: Eclipse Public License 2.0

Dockerfile 9.95% Shell 2.34% JavaScript 87.71%

tig-stack's Introduction

Docker compose stack for Telegraf, InfluxDb, Grafana with configuration and dashboards for Raspberry Pi

1. What

This github repository describes a composite docker application that can be deployed on an arm device (e.g. a Raspberry Pi 3 Model B+) running Raspian.

1.1 System resource monitoring using the TIG Stack (Telegraf, Influxdb & Grafana)

The system resource monitoring is realized by the TIG stack and happens as follows:

  1. The Telegraf container collects the system resource metrics (memory, CPU, disk, network, ...) of the raspberry pi device and sends them to
  2. the Influxdb container that will store them in the influx database.
  3. The Grafana container has a dashboard (see screenshot below) showing these system metrics that it has retrieved from the influxdb.

2 Telegraf

The table below specifies the environment variables that can be set in the Balena Device Service Variables panel for the Telegraf Service. Note that the Default Value is defined in docker-compose.yml

Name Default Value Description
interval 60s Frequency at which metrics are collected
flush_interval 60s Flushing interval (should not set < interval)

3. Grafana

The Grafana user interface can be accessed at port 3000 of the host OS. The login and password is admin. The name of the dashboard is system metrics.

Here below a screenshot of the system metrics dashboard that is also provisioned by this application ( file is grafana\dashboards\system metrics.json)

system metrics example top part system metrics example bottom part

Credits

  1. Forked from https://github.com/janvda/balena-node-red-mqtt-nginx-TIG-stack
  2. Initializing Grafana with preconfigured dashboards (github repository)
  3. InfluxDB system metrics dashboard
  4. Grafana Series Part 1: Setting up InfluxDB, Grafana and Telegraf with Docker on Linux

tig-stack's People

Contributors

janvda avatar bobtronic avatar

Stargazers

Chase avatar Viktoras avatar  avatar

Watchers

James Cloos avatar

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.