aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/server/load_reporter/load_reporter.h
diff options
context:
space:
mode:
authorGravatar Juanli Shen <juanlishen@google.com>2018-07-13 19:52:59 -0700
committerGravatar Juanli Shen <juanlishen@google.com>2018-07-13 19:52:59 -0700
commitbe40b0d3a8cf2e37c80b2c248111051fa8bdf7bc (patch)
tree79384a0045d5bbc550666f047d088f9582755086 /src/cpp/server/load_reporter/load_reporter.h
parentf9f5c67aff91e4ad26371b0a2482a5011ab45226 (diff)
Add server load reporting service
Diffstat (limited to 'src/cpp/server/load_reporter/load_reporter.h')
-rw-r--r--src/cpp/server/load_reporter/load_reporter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cpp/server/load_reporter/load_reporter.h b/src/cpp/server/load_reporter/load_reporter.h
index 49a2e4b53c..b2254d5601 100644
--- a/src/cpp/server/load_reporter/load_reporter.h
+++ b/src/cpp/server/load_reporter/load_reporter.h
@@ -59,7 +59,10 @@ class CensusViewProvider {
// with the same tag values in a related view data. Several ViewData's are
// considered related if their views are based on the measures that are always
// recorded at the same time.
- double static GetRelatedViewDataRowDouble(
+ static double GetRelatedViewDataRowDouble(
+ const ViewDataMap& view_data_map, const char* view_name,
+ size_t view_name_len, const std::vector<grpc::string>& tag_values);
+ static uint64_t GetRelatedViewDataRowInt(
const ViewDataMap& view_data_map, const char* view_name,
size_t view_name_len, const std::vector<grpc::string>& tag_values);