aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Hongyu Chen <hongyu@google.com>2015-12-07 21:42:52 -0800
committerGravatar Hongyu Chen <hongyu@google.com>2015-12-07 21:42:52 -0800
commite1d472f18a4fa4b1ba872a9ba7bcd7af30d9d61e (patch)
tree37ea3338581e7a040261b62b572f7658d0af2673
parent045c8483c2d78421d40bf88112e012e1624a0d93 (diff)
Make census_tag_set the only field of census_context
-rw-r--r--src/core/census/context.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/census/context.h b/src/core/census/context.h
index d9907d4da7..e45409a6b8 100644
--- a/src/core/census/context.h
+++ b/src/core/census/context.h
@@ -39,11 +39,7 @@
/* census_context is the in-memory representation of information needed to
* maintain tracing, RPC statistics and resource usage information. */
struct census_context {
- gpr_uint64 op_id; /* Operation identifier - unique per-context */
- gpr_uint64 trace_id; /* Globally unique trace identifier */
- /* TODO(aveitch) Add census tags:
- const census_tag_set *tags;
- */
+ census_tag_set *tags; /* Opaque data structure for census tags. */
};
#endif /* GRPC_INTERNAL_CORE_CENSUS_CONTEXT_H */