aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp
diff options
context:
space:
mode:
authorGravatar Vizerai <jsking@google.com>2018-05-25 14:11:49 -0700
committerGravatar Vizerai <jsking@google.com>2018-05-25 14:11:49 -0700
commite1d7deeb5396691ae8ea515b0db6e778a2c0a59d (patch)
treefacce24ab6d2c2f37841972a467b7fd2b19ac840 /include/grpcpp
parent8cd49c528d30ad1b58bb86811887b14ddb597c19 (diff)
update
Diffstat (limited to 'include/grpcpp')
-rw-r--r--include/grpcpp/opencensus.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/grpcpp/opencensus.h b/include/grpcpp/opencensus.h
index c09a74b251..7d14692575 100644
--- a/include/grpcpp/opencensus.h
+++ b/include/grpcpp/opencensus.h
@@ -23,15 +23,17 @@ namespace grpc {
// Registers the OpenCensus plugin with gRPC, so that it will be used for future
// RPCs. This must be called before any views are created on the measures
-// defined below.
+// defined below. This will only be enabled if the binary includes the
+// grpc_opencensus_plugin build target as a dependency. At the moment it is only
+// setup to be built with Bazel.
void RegisterOpenCensusPlugin();
// RPC stats definitions, defined by
// https://github.com/census-instrumentation/opencensus-specs/blob/master/stats/gRPC.md
// Registers the cumulative gRPC views so that they will be exported by any
-// registered stats exporter.
-// For on-task stats, construct a View using the ViewDescriptors below.
+// registered stats exporter. For on-task stats, construct a View using the
+// ViewDescriptors below.
void RegisterOpenCensusViewsForExport();
} // namespace grpc