leslie-tsang commented on issue #5146: URL: https://github.com/apache/apisix/issues/5146#issuecomment-928910201
> @leslie-tsang > Please read the link given by @zhendongcmss. The problem is not about the cached time. https://github.com/apache/apisix/blob/d413d77a9eff5fd5585f83c01fc0843523ef2bf2/apisix/plugins/prometheus/exporter.lua#L146 IMO, `ngx.now` may return a cached time, which causes incorrect latency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
