erisnar / data-visualizing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Visualizing

In this project we visualize data from an InfluxDB in a Grafana dashboard.

To build and deploy the stack run:

make all

Go to http://localhost:3000 to view example Grafana dashboard.

Docker Compose

Docker Compose is used to manage three containers. The stack consists of:

  • Python app
  • InfluxDB
  • Grafana

The Python application generates data which is stored in the InfluxDB. Grafana is used to visualize the data from InfluxDB.

Python Application

The Python application generates a random country code every 5 second and inserts a JSON object in the InfluxDB. The goal is to simulate incoming traffic to a website.

country_codes

Cleanup

To destroy the stack run:

make destroy

About

License:MIT License


Languages

Language:Python 77.8%Language:Dockerfile 12.5%Language:Makefile 9.7%