/v1/metrics

This commit is contained in:
2023-10-24 00:55:47 +08:00
parent 584103eba3
commit 471627712b

View File

@@ -80,7 +80,7 @@ func main() {
// metrics
m := ginmetrics.GetMonitor()
// m.SetMetricPath("/debug/metrics")
m.SetMetricPath("/v1/metrics")
m.Use(engine)
// error handle middleware