reviewable/pr15070/r20
Vizerai 7 years ago
parent 8cd49c528d
commit e1d7deeb53
  1. 8
      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

Loading…
Cancel
Save