https://github.com/entelo/docker-statsd-influxdb-grafana
Alpine docker image with telegraf (statsd), influxdb and grafana.
https://github.com/entelo/docker-statsd-influxdb-grafana
alpine docker grafana influxdb statsd telegraf
Last synced: 3 months ago
JSON representation
Alpine docker image with telegraf (statsd), influxdb and grafana.
- Host: GitHub
- URL: https://github.com/entelo/docker-statsd-influxdb-grafana
- Owner: entelo
- License: mit
- Created: 2017-04-04T19:57:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-14T18:52:44.000Z (over 7 years ago)
- Last Synced: 2025-03-04T07:23:19.866Z (over 1 year ago)
- Topics: alpine, docker, grafana, influxdb, statsd, telegraf
- Language: Shell
- Size: 26.4 KB
- Stars: 2
- Watchers: 40
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Alpine Docker Image with Telegraf (StatsD), InfluxDB and Grafana
## Versions
* Alpine: 3.5
* Telegraf (StatsD): 1.2.1
* InfluxDB: 1.2.2
* Grafana: 4.2.0
## Quick Start
To start the container the first time launch:
```sh
docker run -d \
--name docker-statsd-influxdb-grafana \
-p 3000:3000 \
-p 8083:8083 \
-p 8086:8086 \
-p 8125:8125/udp \
entelo/docker-statsd-influxdb-grafana:latest
```
You can replace `latest` with the desired version listed in changelog file.
To stop the container launch:
```sh
docker stop docker-statsd-influxdb-grafana
```
To start the container again launch:
```sh
docker start docker-statsd-influxdb-grafana
```
## Ports
```
Container Service
3000 grafana
8083 influxdb-admin
8086 influxdb
8125 statsd
```
## Grafana
Open
```
Username: admin
Password: admin
```
### Add data source on Grafana
1. Using the wizard click on `Add data source`
2. Choose a `name` for the source and flag it as `Default`
3. Choose `InfluxDB` as `type`
4. Choose `direct` as `access`
5. Fill remaining fields as follows and click on `Add` without altering other fields
```
Url: http://localhost:8086
Database: telegraf
User:
Password:
```
Basic auth and credentials must be left unflagged. Proxy is not required.
Now you are ready to add your first dashboard and launch some query on database.
## InfluxDB
### Web Interface
Open and use database `telegraf`.
### InfluxDB Shell (CLI)
Run influx in the container to open InfluxDB Shell (CLI)