[I] bvar::PassiveStatus 无法暴露指标 (brpc)

2024-05-28 Thread via GitHub


shishc9 opened a new issue, #2653:
URL: https://github.com/apache/brpc/issues/2653

   你好,咨询一下 PassiveStatus 设计初衷是什么呢,或者针对哪些场景?
   根据 
[bvar::PassiveStatus\](https://github.com/apache/brpc/blob/master/docs/cn/bvar_c%2B%2B.md#bvarpassivestatus)
 文档,process_username 不能作为指标暴露出去,这个特化模板正确使用方法是什么呢?


-- 
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-unsubscr...@brpc.apache.org.apache.org

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


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



Re: [I] bvar::PassiveStatus 无法暴露指标 (brpc)

2024-05-29 Thread via GitHub


lorinlee commented on issue #2653:
URL: https://github.com/apache/brpc/issues/2653#issuecomment-2137649026

   这里“作为指标暴露出去”是指期望怎么暴露?使用场景的话,比如可以用builtin service看这个bvar,访问 
http://ip:internal_port/vars/process_username 就可以看到这个bvar对应的值。


-- 
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-unsubscr...@brpc.apache.org

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


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



Re: [I] bvar::PassiveStatus 无法暴露指标 (brpc)

2024-06-12 Thread via GitHub


cdjingit commented on issue #2653:
URL: https://github.com/apache/brpc/issues/2653#issuecomment-2164287507

   > 你好,咨询一下 PassiveStatusstd::string 设计初衷是什么呢,或者针对哪些场景? 根据 
[bvar::PassiveStatus](https://github.com/apache/brpc/blob/master/docs/cn/bvar_c%2B%2B.md#bvarpassivestatus)
 文档,process_username 不能作为指标暴露出去,这个特化模板正确使用方法是什么呢?
   文档中描述的场景比较清楚。不能暴露的原因,如上面所说,因为系统默认已经有一个process_username对应的bvar了


-- 
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-unsubscr...@brpc.apache.org

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


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



Re: [I] bvar::PassiveStatus 无法暴露指标 (brpc)

2024-06-12 Thread via GitHub


j05070415 commented on issue #2653:
URL: https://github.com/apache/brpc/issues/2653#issuecomment-2164288552

   谢谢,您的邮件我已收到!


-- 
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-unsubscr...@brpc.apache.org

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


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



Re: [I] bvar::PassiveStatus 无法暴露指标 (brpc)

2024-06-13 Thread via GitHub


cdjingit closed issue #2653: bvar::PassiveStatus 无法暴露指标
URL: https://github.com/apache/brpc/issues/2653


-- 
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-unsubscr...@brpc.apache.org

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


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