etcd/tools/etcd-dump-metrics
Brandon Philips 96cce208c2 go.mod: use go.etcd.io/etcd/v3 versioning
This change makes the etcd package compatible with the existing Go
ecosystem for module versioning.

Used this tool to update package imports:
  https://github.com/KSubedi/gomove
2020-04-28 00:57:35 +00:00
..

go install -v ./tools/etcd-dump-metrics

# for latest master 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