Skip to content

Latest commit

 

History

History
 
 

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sizer-influx-grafana

Grafana Influx

This is a Docker image based on the awesome docker-influxdb-grafana from Phil Hawthorne.

Key Different

  • Newer Grafana version
  • Added provisioned app-sizer Dashboard and Datasources
  • ChronoGraf is not included in this container

The main purpose of this image is to be used to demo data from App Sizer.

Component Version
InfluxDB 1.8.2
Grafana 9.0.0

Pre-configured Dashboard

The Docker image includes a pre-configured dashboard in Grafana:

To use the dashboard, you either to:

  • Default Configuration: Uses database name sizer and measurement (table) named app_size. (They are default values configured in the App Sizer tool)
  • Custom Configuration:

To import the dashboard into an existing setup:

  1. Use this JSON file.
  2. Ensure you add the proper Grafana datasource.
  3. Update the measurement (table) name in the queries and variables if necessary

Quick Start

To start the container with persistence, you can use our teammate's docker image exported to Docker Hub:

docker run -d \
  --name sizer-influxdb-grafana \
  -p 3003:3003 \
  -p 8086:8086 \
  -v /path/for/influxdb:/var/lib/influxdb \
  -v /path/for/grafana:/var/lib/grafana \
  mikenguyen/sizer-influx-grafana:latest

Mapped Ports

Host Container Service
3003 3003 Grafana
8086 8086 InfluxDB

Accessing Services

Grafana

InfluxDB

  • Port: 8086
  • Username: root
  • Password: root