mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 03:17:43 +08:00
change the scraping url
This commit is contained in:
parent
3d9821260a
commit
024bf80e6a
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user