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
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
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c5b259e

Please sign in to comment.