Skip to content

narenderpal/docker-statsd-influxdb-grafana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image with StatsD, InfluxDB and Grafana

Versions

StatsD: 0.7.2
InfluxDB: 0.9.4.1
Grafana: 2.1.3

Quick Start

To start the container the first time launch:

docker run -d \
  --name docker-statsd-influxdb-grafana \
  -p 3003:9000 \
  -p 3004:8083 \
  -p 8086:8086 \
  -p 22022:22 \
  -p 8125:8125/udp \
  samuelebistoletti/docker-statsd-influxdb-grafana

To stop the container launch:

docker stop docker-statsd-influxdb-grafana

To start the container again launch:

docker start docker-statsd-influxdb-grafana

Mapped Ports

Host		Container		Service

3003		9000			grafana
8086		8086			influxdb
3004		8083			influxdb-admin
8125		8125			statsd
22022		22				sshd

SSH

ssh root@localhost -p 22022

Password: root

Grafana

Open http://localhost:3003

Username: root
Password: root

Add data source on Grafana

  1. Open Data Source from left side menu, then click on Add new
  2. Choose a name for the source and flag it as Default
  3. Choose InfluxDB 0.9.x as type
  4. Fill remaining fields as follows and click on Add without altering other fields
Url:		http://localhost:8086
Database:	data
User:		data
Password:	data

Now you are ready to add your first dashboard and launch some query on database.

InfluxDB

Web Interface

Open http://localhost:3004

Username: root  
Password: root  
Port:     8086

InfluxDB Shell (CLI)

  1. Establish a ssh connection with the container
  2. Launch influx to open InfluxDB Shell (CLI)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.8%
  • Shell 48.2%