remove the metrics package

Recording every sent and received packet in OpenCensus is quite expensive.
Arguably, the metrics needs depend on the application, so that's where the
implementation of a metrics collector should live anyway.
This commit is contained in:
Marten Seemann
2021-02-05 16:29:45 +08:00
parent 622ca23d4e
commit aa68b3015d
7 changed files with 62 additions and 349 deletions

2
go.mod
View File

@@ -5,7 +5,6 @@ go 1.14
require (
github.com/cheekybits/genny v1.0.0
github.com/francoispqt/gojay v1.2.13
github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect
github.com/golang/mock v1.4.4
github.com/marten-seemann/qpack v0.2.1
github.com/marten-seemann/qtls v0.10.0
@@ -13,7 +12,6 @@ require (
github.com/marten-seemann/qtls-go1-16 v0.1.0-rc.1
github.com/onsi/ginkgo v1.14.0
github.com/onsi/gomega v1.10.1
go.opencensus.io v0.22.2
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/net v0.0.0-20200707034311-ab3426394381
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e