update
parent
9093bf2b79
commit
063fc82338
|
@ -21,7 +21,7 @@ func QPSCollect(svcName string) gin.HandlerFunc {
|
||||||
"svc": svcName,
|
"svc": svcName,
|
||||||
"method": ctx.Request.Method,
|
"method": ctx.Request.Method,
|
||||||
"route": ctx.Request.URL.Path,
|
"route": ctx.Request.URL.Path,
|
||||||
"form": "",
|
"from": "",
|
||||||
}).Observe(float64(time.Since(st).Milliseconds()))
|
}).Observe(float64(time.Since(st).Milliseconds()))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue