change the scraping url
lanzafame committed
Sep 29, 2020 at 10:35 UTC
024bf80e6a574e791b397bcba5875dae76c32c3b
1 file changed
+2
-2
core/corehttp/metrics.go
+2
-2
@@ -49,8 +49,8 @@ func MetricsOpenCensusCollectionOption() ServeOption {
49
}
50
51
// Construct the mux
52
- zpages.Handle(mux, "/ocmetrics/debug")
53
- mux.Handle("/ocmetrics", pe)
52
+ zpages.Handle(mux, "/debug/metrics/oc/debugz")
53
+ mux.Handle("/debug/metrics/oc", pe)
54
55
return mux, nil
56
}