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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]