diff options
author | Vijay Pai <vpai@google.com> | 2018-08-20 17:03:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 17:03:03 -0700 |
commit | ccc6ee3db0924e6f6e9aa1c8ccd60d7e562e6615 (patch) | |
tree | 096fe0a7c6b0a1d0dec5d203b4e9c5e23e1e6b4f /src/cpp/ext | |
parent | 46008f0d76d158c4828934ab569a3570c0c21135 (diff) | |
parent | eaa51cbc9de8e06c5714d1347dec25dea389950b (diff) |
Merge pull request #15984 from g-easy/hdrs
Move GetSpanFromServerContext() to public header.
Diffstat (limited to 'src/cpp/ext')
-rw-r--r-- | src/cpp/ext/filters/census/grpc_plugin.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cpp/ext/filters/census/grpc_plugin.h b/src/cpp/ext/filters/census/grpc_plugin.h index 7ff2e7a8b8..9e319cb994 100644 --- a/src/cpp/ext/filters/census/grpc_plugin.h +++ b/src/cpp/ext/filters/census/grpc_plugin.h @@ -24,15 +24,11 @@ #include "absl/strings/string_view.h" #include "include/grpcpp/opencensus.h" #include "opencensus/stats/stats.h" -#include "opencensus/trace/span.h" namespace grpc { class ServerContext; -// Returns the tracing Span for the current RPC. -::opencensus::trace::Span GetSpanFromServerContext(ServerContext* context); - // The tag keys set when recording RPC stats. ::opencensus::stats::TagKey ClientMethodTagKey(); ::opencensus::stats::TagKey ClientStatusTagKey(); |