InfluxDB : InfluxDB is an open-source time series database written in Go that has been built to work best with metrics, events, and analytics. Using InfluxDB, you can easily store system and application performance data and manage any time series data.
Grafana : Grafana is an open-source, general purpose dashboard that is used for visualizing time series data for Internet infrastructure and application analytics.
Grafana supports graphite, influxdb or opentsdb as backends and runs as a web application.
In this tutorial, we will learn how to create and run Grafana and InfluxDB Docker containers in Ubuntu 14.04.
A server running Ubuntu-14.04 with Docker installed.
A non-root user with sudo privileges setup on server.
Creating The Dockerfile
First, you will need to create the Docker file to install all requisite software.
Create docker file inside your home directory using the following command:
sudo nano Dockerfile
Add the following lines with all requisite software:
MAINTAINER Hitesh Jethva (email@example.com)
The above command starts the influx image, map the container path of /opt/influxdb/shared/data to your local /opt/influxdb, your local port 80, 8083, and 8086 to the exposed ports in the container and map port 8096 to UDP.
You can check the container is running by issuing the following command:
sudo docker ps
Accessing Grafana and InfluxDB
Once everything is up-to-date, you can reach the grafana web interface by typing the URL http://your-server-ip in your web browser, you should see the Grafana default page as below:
Truth be told, it’s difficult for a web application that doesn’t have some kind of identification, even if you don’t see it as a security measure in and of itself. The Internet is a kind of lawless land, and even on free services like Google’s, authentication ensures that abuses will...
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...