boulder/vendor/github.com/stretchr/testify/require
Jacob Hoffman-Andrews b8a237ffb3 Use grpc-go-prometheus for RPC stats. (#2391)
There's an off-the-shelf package that provides most of the stats we care about
for gRPC using interceptors. This change vendors go-grpc-prometheus and its
dependencies, and calls out to the interceptors provided by that package from
our own interceptors.

This will allow us to get metrics like latency histograms by call, status codes
by call, and so on.

Fixes #2390.

This change vendors go-grpc-prometheus and its dependencies. Per contributing guidelines, I've run the tests on these dependencies, and they pass:

go test github.com/davecgh/go-spew/spew github.com/grpc-ecosystem/go-grpc-prometheus github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto github.com/pmezard/go-difflib/difflib github.com/stretchr/testify/assert github.com/stretchr/testify/require github.com/stretchr/testify/suite 
ok      github.com/davecgh/go-spew/spew 0.022s
ok      github.com/grpc-ecosystem/go-grpc-prometheus    0.120s
?       github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto [no test files]
ok      github.com/pmezard/go-difflib/difflib   0.042s
ok      github.com/stretchr/testify/assert      0.021s
ok      github.com/stretchr/testify/require     0.017s
ok      github.com/stretchr/testify/suite       0.012s
2016-12-05 14:31:22 -08:00
..
doc.go Use grpc-go-prometheus for RPC stats. (#2391) 2016-12-05 14:31:22 -08:00
forward_requirements.go Use grpc-go-prometheus for RPC stats. (#2391) 2016-12-05 14:31:22 -08:00
require.go Use grpc-go-prometheus for RPC stats. (#2391) 2016-12-05 14:31:22 -08:00
require.go.tmpl Use grpc-go-prometheus for RPC stats. (#2391) 2016-12-05 14:31:22 -08:00
require_forward.go Use grpc-go-prometheus for RPC stats. (#2391) 2016-12-05 14:31:22 -08:00
require_forward.go.tmpl Use grpc-go-prometheus for RPC stats. (#2391) 2016-12-05 14:31:22 -08:00
requirements.go Use grpc-go-prometheus for RPC stats. (#2391) 2016-12-05 14:31:22 -08:00