GRPC Core
0.11.0.0
|
Represent functions to map RPC name ID to service/method names. More...
#include <census.h>
Data Fields | |
const char *(* | get_rpc_service_name )(gpr_int64 id) |
const char *(* | get_rpc_method_name )(gpr_int64 id) |
Represent functions to map RPC name ID to service/method names.
Census breaks down all RPC stats by service and method names. We leave the definition and format of these to the RPC system. For efficiency purposes, we encode these as a single 64 bit identifier, and allow the RPC system to provide a structure for functions that can convert these to service and method strings.
TODO(aveitch): Instead of providing this as an argument to the rpc_start_op() functions, maybe it should be set once at census initialization.
const char*(* census_rpc_name_info::get_rpc_method_name)(gpr_int64 id) |
const char*(* census_rpc_name_info::get_rpc_service_name)(gpr_int64 id) |