You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/07/05 10:26:43 UTC

[GitHub] [incubator-brpc] hellowalnut opened a new issue #835: 使用 bvar::LatencyRecorder的时,latency和qps值一直是0.

hellowalnut opened a new issue #835: 使用 bvar::LatencyRecorder的时,latency和qps值一直是0.
URL: https://github.com/apache/incubator-brpc/issues/835
 
 
   hi, 在使用 bvar::LatencyRecorder的时,latency和qps值一直是0. 
   ``` c++
   static void test()
   {
       bvar::LatencyRecorder my_test("this_is_my_test_quota")
       for(;;){            
           bthread_usleep(1000);
           my_test << 1000;    
       }
   }
   ```
   一直跑了好几分钟,
   在vars里显示如下:
   this_is_my_test_quota_count : 88348
   this_is_my_test_quota_latency : 0
   this_is_my_test_quota_latency_9999 : 0
   this_is_my_test_quota_latency_cdf : "click to view"
   this_is_my_test_quota_latency_percentiles : "[0,0,0,0]"
   this_is_my_test_quota_max_latency : 0
   this_is_my_test_quota_qps : 0
   
   count数量可以统计到,其它项都为0,点开后展示的图形上的值也是0
    bvar_dump_interval  值是10s
   请教下,是使用方法或设置不对么?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org