tools/etcd-dump-metrics/README
raw| 1 | |
| 2 | go install -v ./tools/etcd-dump-metrics |
| 3 | |
| 4 | # for latest main branch |
| 5 | etcd-dump-metrics > Documentation/metrics/latest |
| 6 | |
| 7 | # Or download etcd v3.3.9 to ./bin |
| 8 | goreman start |
| 9 | etcd-dump-metrics --addr http://localhost:2379/metrics > Documentation/metrics/v3.3.9 |
| 10 | |
| 11 | # Or download etcd v3.3.9 to temporary directory to fetch metrics |
| 12 | etcd-dump-metrics --debug --download-ver v3.3.9 |
| 13 | etcd-dump-metrics --download-ver v3.3.9 > Documentation/metrics/v3.3.9 |