localhots.xyz graphite-ish / 2663802
Add comments explaining test command Gregory Eremin 5 years ago
1 changed file(s) with 9 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
3636 Make sure [Docker](https://www.docker.com/products/docker) and
3737 [Docker Compose](https://www.docker.com/products/docker-compose) are installed.
3838
39 ```
39 ```bash
4040 $ make graphite fast
4141 ```
4242
4343 ### Re-building
4444
45 ```
45 ```bash
4646 $ make graphite fast again
4747 ```
4848
4949 ## Starting
5050
51 ```
51 ```bash
5252 $ make run
5353 ```
5454
6262
6363 You can send metrics right from terminal:
6464
65 ```bash
66 # 1000 times
67 # Send "foo.bar:1|C"
68 # Verbose, Using UDP, Timeout 1s
69 # To StatsD port on Docker
70 $ for i in {1..1000}; do echo "foo.bar:1|C" | nc -v -u -w1 `docker-machine ip` 8126; done
6571 ```
66 $ for i in {1..1000}; do echo "foo.bar:1|C" | nc -v -4u -w1 `docker-machine ip` 8126; done
67 ```