aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/census/trace_context.h
diff options
context:
space:
mode:
authorGravatar Vizerai <jsking@google.com>2017-01-20 18:30:44 -0800
committerGravatar Vizerai <jsking@google.com>2017-02-01 16:05:12 -0800
commit864db53e482a032f10343852a702e51eadc5dc5f (patch)
treeb61cfeaeeda89640bdc90144f57250ad2ad3fa6a /src/core/ext/census/trace_context.h
parent28ec869b5a2567cd30a6e3bcc0efbee0ab0ae7f5 (diff)
Updated trace_context.proto and associated files.
Diffstat (limited to 'src/core/ext/census/trace_context.h')
-rw-r--r--src/core/ext/census/trace_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ext/census/trace_context.h b/src/core/ext/census/trace_context.h
index 1cb5e26ea7..f391a1b7c1 100644
--- a/src/core/ext/census/trace_context.h
+++ b/src/core/ext/census/trace_context.h
@@ -38,6 +38,9 @@
#include "src/core/ext/census/gen/trace_context.pb.h"
+/* Span option flags. */
+#define SPAN_OPTIONS_IS_SAMPLED 0x01
+
/* Maximum number of bytes required to encode a TraceContext (31)
1 byte for trace_id field
1 byte for trace_id length