aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/plugin_registry/grpc_plugin_registry.c
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-04-01 11:15:48 -0700
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-04-01 11:15:48 -0700
commit4eb36c0af1a1f5ed2ef80f387380b6e79a0b855d (patch)
tree92b4c992f74a5b988889b0914d020825aa347ade /src/core/plugin_registry/grpc_plugin_registry.c
parentab980eca40f50a60ef26acd12900970b0c7db003 (diff)
parentd0bcc43261c4b3248fb6bed68c7c42e13d35a465 (diff)
Merge pull request #6001 from ctiller/optionalize_census
Optionalize census
Diffstat (limited to 'src/core/plugin_registry/grpc_plugin_registry.c')
-rw-r--r--src/core/plugin_registry/grpc_plugin_registry.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/plugin_registry/grpc_plugin_registry.c b/src/core/plugin_registry/grpc_plugin_registry.c
index 3e3c214c22..422d3c92b8 100644
--- a/src/core/plugin_registry/grpc_plugin_registry.c
+++ b/src/core/plugin_registry/grpc_plugin_registry.c
@@ -37,10 +37,14 @@ extern void grpc_lb_policy_pick_first_init(void);
extern void grpc_lb_policy_pick_first_shutdown(void);
extern void grpc_lb_policy_round_robin_init(void);
extern void grpc_lb_policy_round_robin_shutdown(void);
+extern void census_grpc_plugin_init(void);
+extern void census_grpc_plugin_shutdown(void);
void grpc_register_built_in_plugins(void) {
grpc_register_plugin(grpc_lb_policy_pick_first_init,
grpc_lb_policy_pick_first_shutdown);
grpc_register_plugin(grpc_lb_policy_round_robin_init,
grpc_lb_policy_round_robin_shutdown);
+ grpc_register_plugin(census_grpc_plugin_init,
+ census_grpc_plugin_shutdown);
}