aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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