change the scraping url

This commit is contained in:
lanzafame 2020-09-29 10:35:07 +10:00 committed by Adin Schmahmann
parent 3d9821260a
commit 024bf80e6a

View File

@ -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
}