spacewander commented on issue #5146: URL: https://github.com/apache/apisix/issues/5146#issuecomment-928914097
> > > > @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. You should read the link. Maxim Dounin, the maintainer of Nginx, already gave an answer. -- 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]
