Add comments explaining test command
This commit is contained in:
parent
27c75a45f7
commit
26638023d5
14
README.md
14
README.md
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue