We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70b402d commit 93a91ffCopy full SHA for 93a91ff
opencensus/trace/BUILD
@@ -127,6 +127,7 @@ cc_library(
127
visibility = ["//visibility:public"],
128
deps = [
129
":span_context",
130
+ "@com_google_absl//absl/strings",
131
],
132
)
133
opencensus/trace/internal/grpc_trace_bin.cc
@@ -42,7 +42,8 @@ constexpr int kTraceIdOfs = 1;
42
constexpr int kSpanIdOfs = kTraceIdOfs + 1 + kTraceIdLen;
43
constexpr int kTraceOptionsOfs = kSpanIdOfs + 1 + kSpanIdLen;
44
45
-static_assert(1 + 1 + kTraceIdLen + 1 + kSpanIdLen + 1 + kTraceOptionsLen ==
+static_assert(kVersionLen + 1 + kTraceIdLen + 1 + kSpanIdLen + 1 +
46
+ kTraceOptionsLen ==
47
kGrpcTraceBinHeaderLen,
48
"header length is wrong");
49
0 commit comments