Merge pull request #6790 from sinsharat/clientv3_metrics_doc_update

clientv3: updated doc for metric support
release-3.1
Xiang Li 2016-11-02 14:56:04 -07:00 committed by GitHub
commit 844378f0a7
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ if err != nil {
}
```
## Metrics
The etcd client optionally exposes RPC metrics through [go-grpc-prometheus](https://github.com/grpc-ecosystem/go-grpc-prometheus). See the [examples](https://github.com/coreos/etcd/blob/master/clientv3/example_metrics_test.go).
## Examples
More code examples can be found at [GoDoc](https://godoc.org/github.com/coreos/etcd/clientv3).