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/12/06 04:27:01 UTC

[GitHub] [incubator-brpc] serverglen commented on a diff in pull request #2041: mbvar support delete_stats and has_stats interface

serverglen commented on code in PR #2041:
URL: https://github.com/apache/incubator-brpc/pull/2041#discussion_r1040446549


##########
src/bvar/multi_dimension_inl.h:
##########
@@ -204,6 +221,13 @@ T* MultiDimension<T>::get_stats_impl(const key_type& labels_value, STATS_OP stat
     return cache_metric;
 }
 
+template <typename T>
+inline
+bool MultiDimension<T>::has_stats(const key_type& labels_value) {
+    auto bvar = get_stats_impl(labels_value);

Review Comment:
   thanks



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