From 3255dd9440c46635cfdf1002a935a375bbbcc627 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sat, 20 Mar 2021 12:54:36 +0800 Subject: [PATCH] update quic-go to v0.21.0-rc.1 This commit was moved from ipfs/kubo@473d7d5851783c45e95a27bf77ac3292918c641a --- gateway/core/corehttp/metrics.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gateway/core/corehttp/metrics.go b/gateway/core/corehttp/metrics.go index f84a6e18d..f34881f41 100644 --- a/gateway/core/corehttp/metrics.go +++ b/gateway/core/corehttp/metrics.go @@ -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)