#44 为cache和proxy设置statsd server。

This commit is contained in:
zhengchao
2018-11-23 17:23:48 +08:00
parent 88849c9890
commit 3970d9de04
6 changed files with 24 additions and 12 deletions

View File

@@ -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), "");