diff --git a/.words b/.words index c839c1f35..561453ce9 100644 --- a/.words +++ b/.words @@ -27,6 +27,7 @@ localhost mutex prefetching protobuf +prometheus repin serializable teardown diff --git a/clientv3/example_metrics_test.go b/clientv3/example_metrics_test.go index 52d7af6ca..802a2af1f 100644 --- a/clientv3/example_metrics_test.go +++ b/clientv3/example_metrics_test.go @@ -46,7 +46,7 @@ func ExampleClient_metrics() { // get a key so it shows up in the metrics as a range RPC cli.Get(context.TODO(), "test_key") - // listen for all prometheus metrics + // listen for all Prometheus metrics ln, err := net.Listen("tcp", ":0") if err != nil { log.Fatal(err) @@ -61,7 +61,7 @@ func ExampleClient_metrics() { <-donec }() - // make an http request to fetch all prometheus metrics + // make an http request to fetch all Prometheus metrics url := "http://" + ln.Addr().String() + "/metrics" resp, err := http.Get(url) if err != nil { diff --git a/clientv3/integration/metrics_test.go b/clientv3/integration/metrics_test.go index b309d5b03..cd45500ba 100644 --- a/clientv3/integration/metrics_test.go +++ b/clientv3/integration/metrics_test.go @@ -44,7 +44,7 @@ func TestV3ClientMetrics(t *testing.T) { err error ) - // listen for all prometheus metrics + // listen for all Prometheus metrics donec := make(chan struct{}) go func() { defer close(donec)