We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
overhead
1 parent 5d39cb5 commit 8a72574Copy full SHA for 8a72574
apisix/plugins/prometheus/exporter.lua
@@ -110,7 +110,7 @@ function _M.log(conf, ctx)
110
111
local overhead = latency
112
if ctx.var.upstream_response_time then
113
- overhead = overhead - tonumber(ctx.var.upstream_response_time)
+ overhead = overhead - tonumber(ctx.var.upstream_response_time) * 1000
114
end
115
metrics.overhead:observe(overhead,
116
gen_arr("request", service_id, balancer_ip))
0 commit comments