Skip to content

Commit

Permalink
Merge pull request ipfs/kubo#8125 from ipfs/update-quic-go
Browse files Browse the repository at this point in the history
update quic-go to v0.21.0-rc.1

This commit was moved from ipfs/kubo@c32c757
  • Loading branch information
aschmahmann authored May 13, 2021

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
2 parents e6f6c42 + 3255dd9 commit c5b259e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gateway/core/corehttp/metrics.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@ import (
"go.opencensus.io/zpages"

ocprom "contrib.go.opencensus.io/exporter/prometheus"
quicmetrics "github.com/lucas-clemente/quic-go/metrics"
prometheus "github.com/prometheus/client_golang/prometheus"
promhttp "github.com/prometheus/client_golang/prometheus/promhttp"
)
@@ -44,10 +43,6 @@ func MetricsOpenCensusCollectionOption() ServeOption {
view.RegisterExporter(pe)
view.SetReportingPeriod(2 * time.Second)

if err := view.Register(quicmetrics.DefaultViews...); err != nil {
return nil, err
}

// Construct the mux
zpages.Handle(mux, "/debug/metrics/oc/debugz")
mux.Handle("/debug/metrics/oc", pe)

0 comments on commit c5b259e

Please sign in to comment.