mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 00:41:35 +08:00
Fix #1615
This commit is contained in:
parent
f16e25d484
commit
6cf21d3c2f
@ -110,7 +110,7 @@ function _M.log(conf, ctx)
|
||||
|
||||
local overhead = latency
|
||||
if ctx.var.upstream_response_time then
|
||||
overhead = overhead - tonumber(ctx.var.upstream_response_time)
|
||||
overhead = overhead - tonumber(ctx.var.upstream_response_time) * 1000
|
||||
end
|
||||
metrics.overhead:observe(overhead,
|
||||
gen_arr("request", service_id, balancer_ip))
|
||||
|
Loading…
Reference in New Issue
Block a user