aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/census/grpc_filter.c
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-07-07 20:11:27 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-07-10 20:57:52 -0700
commit01c4d995d35958c64e65feb8193c5ce2e0845758 (patch)
tree0056af888ff66682166649dcb028b3c480b61dc4 /src/core/ext/census/grpc_filter.c
parentc28a6c1b3b4d68da7661997cd56d305b254a7d0b (diff)
Added new features to load reporting.
- Propagation of (rpc) method name. - Invocation of the hook at (call, channel) x (creation, destruction) - Added enum to identify the source of invocation. - Fixed testing. Went from test fixture to simple test.
Diffstat (limited to 'src/core/ext/census/grpc_filter.c')
-rw-r--r--src/core/ext/census/grpc_filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/census/grpc_filter.c b/src/core/ext/census/grpc_filter.c
index f51d850e01..3004a1fc97 100644
--- a/src/core/ext/census/grpc_filter.c
+++ b/src/core/ext/census/grpc_filter.c
@@ -138,7 +138,7 @@ static void client_init_call_elem(grpc_exec_ctx *exec_ctx,
static void client_destroy_call_elem(grpc_exec_ctx *exec_ctx,
grpc_call_element *elem,
- const grpc_call_stats *stats,
+ const grpc_call_final_info *final_info,
void *ignored) {
call_data *d = elem->call_data;
GPR_ASSERT(d != NULL);
@@ -158,7 +158,7 @@ static void server_init_call_elem(grpc_exec_ctx *exec_ctx,
static void server_destroy_call_elem(grpc_exec_ctx *exec_ctx,
grpc_call_element *elem,
- const grpc_call_stats *stats,
+ const grpc_call_final_info *final_info,
void *ignored) {
call_data *d = elem->call_data;
GPR_ASSERT(d != NULL);