dabue opened a new pull request #1645:
URL: https://github.com/apache/incubator-apisix/pull/1645


   ### Summary
   correct the value of overhead in  plugins/prometheus/exporter.lua
   * [Add related tests]
   prometheus.t  test 26 to 29
   1st  add a mock service /hello4 to sleep 1s, 
   
   === TEST 26: add a service #3 to distinguish other services
   === TEST 27: add a route 4 to redirect /hello4
   === TEST 28: request from client to /hello4 ( all hit, the hello4 sleep 1s)
   === TEST 29: fetch the prometheus metric data with `overhead`(the overhead < 
1s)
   With the previous error, the value of overhead was above 1s,  the overhead's 
value  is less than 1s by fix the error.
   
   ### Issues resolved
   
   Fix #1625
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to