1
0
Fork 0

Add comments explaining test command

This commit is contained in:
Gregory Eremin 2016-07-09 00:21:23 +02:00
parent 27c75a45f7
commit 26638023d5
1 changed files with 9 additions and 5 deletions

View File

@ -37,19 +37,19 @@ Grafana 3 is also included.
Make sure [Docker](https://www.docker.com/products/docker) and Make sure [Docker](https://www.docker.com/products/docker) and
[Docker Compose](https://www.docker.com/products/docker-compose) are installed. [Docker Compose](https://www.docker.com/products/docker-compose) are installed.
``` ```bash
$ make graphite fast $ make graphite fast
``` ```
### Re-building ### Re-building
``` ```bash
$ make graphite fast again $ make graphite fast again
``` ```
## Starting ## Starting
``` ```bash
$ make run $ make run
``` ```
@ -63,6 +63,10 @@ $ make run
You can send metrics right from terminal: You can send metrics right from terminal:
``` ```bash
$ for i in {1..1000}; do echo "foo.bar:1|C" | nc -v -4u -w1 `docker-machine ip` 8126; done # 1000 times
# Send "foo.bar:1|C"
# Verbose, Using UDP, Timeout 1s
# To StatsD port on Docker
$ for i in {1..1000}; do echo "foo.bar:1|C" | nc -v -u -w1 `docker-machine ip` 8126; done
``` ```