localhots.xyz graphite-ish / ef8ba0e
Use test.ping as a testing key Gregory Eremin 5 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
5656
5757 * Open Grafana dashboard at `http://[docker-host]:3000/`, sign in as `admin`/`admin`
5858 * Create new data source of type `Graphite` that points to `http://graphite-api:8000`
59 * Create a new chart with a test metric (`foo.bar` in this example)
59 * Create a new chart with a test metric (`test.ping` in this example)
6060 * Start sending metrics to `StatsD`-compatible endpoint
6161 * Metrics should show up on Grafana dashboard
6262
6464
6565 ```bash
6666 # 1000 times
67 # Send "foo.bar:1|C"
67 # Send "test.ping:1|C"
6868 # Verbose, Using UDP, Timeout 1s
6969 # 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
70 $ for i in {1..1000}; do echo "test.ping:1|C" | nc -v -u -w1 `docker-machine ip` 8126; done
7171 ```