From 024bf80e6a574e791b397bcba5875dae76c32c3b Mon Sep 17 00:00:00 2001 From: lanzafame Date: Tue, 29 Sep 2020 10:35:07 +1000 Subject: [PATCH] change the scraping url --- core/corehttp/metrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/corehttp/metrics.go b/core/corehttp/metrics.go index e5bd81283..de0dcd743 100644 --- a/core/corehttp/metrics.go +++ b/core/corehttp/metrics.go @@ -49,8 +49,8 @@ func MetricsOpenCensusCollectionOption() ServeOption { } // Construct the mux - zpages.Handle(mux, "/ocmetrics/debug") - mux.Handle("/ocmetrics", pe) + zpages.Handle(mux, "/debug/metrics/oc/debugz") + mux.Handle("/debug/metrics/oc", pe) return mux, nil }