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 2022/07/29 11:21:54 UTC

[GitHub] [incubator-brpc] weingithub opened a new issue, #1865: bvar中延时的数据显示,在界面打开时的实时数值,与每秒curl获取的值的内容不同

weingithub opened a new issue, #1865:
URL: https://github.com/apache/incubator-brpc/issues/1865

   **Describe the bug (描述bug)**
   bvar的延时统计的数据,在界面打开时的实时数值,与每秒curl获取的值的内容不同。
   然后实时数据与我通过打开bvar_dump获取到的值也不相同
   
   **To Reproduce (复现方法)**
   正常跑bvar统计即可
   
   **Expected behavior (期望行为)**
   界面上的实时更新的数值与curl获取到的数值相同
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **Additional context/screenshots (更多上下文/截图)**
   比如实时获取里面,有从200us到10ms的数值,但是通过curl看的话,没有10ms的值,只有1-2毫秒的那种。不知道是不是我使用的方式不对。
   


-- 
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: dev-unsubscribe@brpc.apache.org.apache.org

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


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


[GitHub] [incubator-brpc] weingithub commented on issue #1865: bvar中延时的数据显示,在界面打开时的实时数值,与每秒curl获取的值的内容不同

Posted by GitBox <gi...@apache.org>.
weingithub commented on issue #1865:
URL: https://github.com/apache/incubator-brpc/issues/1865#issuecomment-1200111234

   > 可以附上截图或者相关使用代码么
   截图如下:
   ![QQ截图20220730154317-mod](https://user-images.githubusercontent.com/8966017/181880563-072440d3-02cb-4f3b-8d77-2c055390621c.png)
   左边是实时显示的bvar数值取消,其中高位部分是10ms+,而当前圈中的是94us,右边是使用curl定时获取的脚本里的数据。在同一时间段,该值是1毫秒、3毫秒。
   


-- 
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: dev-unsubscribe@brpc.apache.org

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


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


[GitHub] [incubator-brpc] weingithub commented on issue #1865: bvar中延时的数据显示,在界面打开时的实时数值,与每秒curl获取的值的内容不同

Posted by GitBox <gi...@apache.org>.
weingithub commented on issue #1865:
URL: https://github.com/apache/incubator-brpc/issues/1865#issuecomment-1200111657

   > 可以附上截图或者相关使用代码么
   以下是截图内容:
   ![111](https://user-images.githubusercontent.com/8966017/181881279-bb5fb525-222a-46c1-a057-1614a86534d0.png)
   左边是实时显示的bvar数值取消,其中高位部分是10ms+,而当前圈中的是94us,右边是使用curl定时获取的脚本里的数据。在同一时间段,该值是1毫秒、3毫秒。
   不知道是否是curl的获取方式同实时显示中的时间间隔或者起始时间不同?
   


-- 
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: dev-unsubscribe@brpc.apache.org

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


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


[GitHub] [incubator-brpc] weingithub commented on issue #1865: bvar中延时的数据显示,在界面打开时的实时数值,与每秒curl获取的值的内容不同

Posted by GitBox <gi...@apache.org>.
weingithub commented on issue #1865:
URL: https://github.com/apache/incubator-brpc/issues/1865#issuecomment-1200611219

   > 
   
   可是我通过flags里面的bvar_dump,然后调整打印间隔为1秒,获取到的内容,也和界面显示的不一样呢。


-- 
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: dev-unsubscribe@brpc.apache.org

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


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


[GitHub] [incubator-brpc] wwbmmm commented on issue #1865: bvar中延时的数据显示,在界面打开时的实时数值,与每秒curl获取的值的内容不同

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1865:
URL: https://github.com/apache/incubator-brpc/issues/1865#issuecomment-1200603098

   curl获取到的应该是近10秒的平均值而界面上显示的是每1秒的平均值


-- 
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: dev-unsubscribe@brpc.apache.org

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


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


[GitHub] [incubator-brpc] Huixxi commented on issue #1865: bvar中延时的数据显示,在界面打开时的实时数值,与每秒curl获取的值的内容不同

Posted by GitBox <gi...@apache.org>.
Huixxi commented on issue #1865:
URL: https://github.com/apache/incubator-brpc/issues/1865#issuecomment-1200106365

   可以附上截图或者相关使用代码么


-- 
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: dev-unsubscribe@brpc.apache.org

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


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