You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/07/23 12:55:19 UTC

[GitHub] [trafficserver] brbzull0 opened a new pull request #8172: Fix clearing all stats function. (#5188)

brbzull0 opened a new pull request #8172:
URL: https://github.com/apache/trafficserver/pull/8172


   While doing some unit tests for the JSONRPC branch I found that the `traffic_ctl metric clear` wasn't working. Found out that this was already noticed by #5188. This PR should fix this issue.
   
   ```
   $ traffic_ctl metric get proxy.process.http.completed_requests
   proxy.process.http.completed_requests 0
   
   $ ab -n 1000 -c 10 http://127.0.0.1:8080/
   ....
   $ traffic_ctl metric get proxy.process.http.completed_requests
   proxy.process.http.completed_requests 797
   
   $ traffic_ctl metric clear <<<<
   
   $ traffic_ctl metric get proxy.process.http.completed_requests
   proxy.process.http.completed_requests 0
   ```
   
   _This issues seems to go a while back._


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] randall merged pull request #8172: Fix clearing all stats function

Posted by GitBox <gi...@apache.org>.
randall merged pull request #8172:
URL: https://github.com/apache/trafficserver/pull/8172


   


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org