tools/benchmark/README.md: Update installation as go get does not work

This commit is contained in:
Lili Cosic 2021-05-21 18:52:08 +02:00
parent b29e8e47a6
commit 312908c068

View File

@ -2,11 +2,13 @@
`etcd/tools/benchmark` is the official benchmarking tool for etcd clusters. `etcd/tools/benchmark` is the official benchmarking tool for etcd clusters.
## Download and install ## Install
To get `benchmark` from the `main` branch via `go get`:
To install `benchmark` follow these steps.
```sh ```sh
$ go get go.etcd.io/etcd/tools/benchmark $ go get go.etcd.io/etcd/v3/tools/benchmark
# GOPATH should be set $ benchmark --help
$ ls $GOPATH/bin
benchmark
``` ```
Last command should output of usage of `benchmark`.