1
0
Fork 0

Add usage info to readme

This commit is contained in:
Gregory Eremin 2016-07-08 16:34:06 +02:00
parent 27078ea2bf
commit 33e186c369
1 changed files with 14 additions and 0 deletions

View File

@ -52,3 +52,17 @@ $ make graphite fast again
```
$ make run
```
## Using
* Open Grafana dashboard at `http://[docker-host]:3000/`, sign in as `admin`/`admin`
* Create new data source of type `Graphite` that points to `http://graphite-api:8000`
* Create a new chart with a test metric (`foo.bar` in this example)
* Start sending metrics to `StatsD`-compatible endpoint
* Metrics should show up on Grafana dashboard
You can send metrics right from terminal:
```
echo "foo.bar:1|C" | nc -4u -w1 `docker-machine ip` 8126
```