mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

The io/ioutil package has been deprecated as of Go 1.16, see https://golang.org/doc/go1.16#ioutil. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
go install -v ./tools/etcd-dump-metrics # for latest main branch etcd-dump-metrics > Documentation/metrics/latest # Or download etcd v3.3.9 to ./bin goreman start etcd-dump-metrics --addr http://localhost:2379/metrics > Documentation/metrics/v3.3.9 # Or download etcd v3.3.9 to temporary directory to fetch metrics etcd-dump-metrics --debug --download-ver v3.3.9 etcd-dump-metrics --download-ver v3.3.9 > Documentation/metrics/v3.3.9