#44 为cache和proxy设置statsd server。
This commit is contained in:
@@ -279,8 +279,8 @@ int tfe_stat_init(struct tfe_proxy * proxy, const char * profile)
|
||||
|
||||
int value = 0, i = 0;
|
||||
screen_stat_handle_t fs_handle = NULL;
|
||||
char statsd_server_ip[TFE_SYMBOL_MAX];
|
||||
char histogram_bins[TFE_SYMBOL_MAX];
|
||||
char statsd_server_ip[TFE_SYMBOL_MAX]={0};
|
||||
char histogram_bins[TFE_SYMBOL_MAX]={0};
|
||||
int statsd_server_port=0;
|
||||
MESA_load_profile_string_def(profile, "STAT", "statsd_server", statsd_server_ip,
|
||||
sizeof(statsd_server_ip), "");
|
||||
|
||||
Reference in New Issue
Block a user