This is a Docker image based on the awesome docker-influxdb-grafana from Phil Hawthorne.
- 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 |
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) namedapp_size
. (They are default values configured in the App Sizer tool) - Custom Configuration:
- For a different database name: Update the Grafana Data Sources named InfluxDB.
- For a different measurement name: Update all queries and variables in the dashboard.
To import the dashboard into an existing setup:
- Use this JSON file.
- Ensure you add the proper Grafana datasource.
- Update the measurement (table) name in the queries and variables if necessary
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
Host | Container | Service |
---|---|---|
3003 | 3003 | Grafana |
8086 | 8086 | InfluxDB |
- URL: http://localhost:3003
- Username:
root
- Password:
root
- Port: 8086
- Username:
root
- Password:
root