summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2018-09-03 20:14:33 +0800
committerzhengchao <[email protected]>2018-09-03 20:14:33 +0800
commit963944fdaa645d738c20132a3ec3836fef2e3d5f (patch)
tree6fc6683a85b682ef90966bf91cd437742e037f71 /inc
parent947aeed5b9004052f8fca8ca395062a917b1a530 (diff)
histogram支持动态注册
Diffstat (limited to 'inc')
-rw-r--r--inc/field_stat2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/field_stat2.h b/inc/field_stat2.h
index 08438f5..222afc8 100644
--- a/inc/field_stat2.h
+++ b/inc/field_stat2.h
@@ -42,7 +42,8 @@ enum FS_option
STATS_SERVER_IP, //VALUE is a const char*, MUST end with '\0', SIZE= strlen(string+'\0')+1. No DEFAULT.
STATS_SERVER_PORT, //VALUE is a unsigned short or a signed int, host order, SIZE= sizeof(unsigned short) or sizeof(int). No DEFAULT.
MAX_STAT_FIELD_NUM, //VALUE is an interger, SIZE=sizeof(int), DEFAULT:1024.
- HISTOGRAM_GENERAL_BINS //VALUE is a const char*, define a histogram bins for general purpose, SIZE = strlen(string+'\0')+1.DEFAULT: "10,100,1000,10000".
+ HISTOGRAM_GLOBAL_BINS //VALUE is a const char*, define a histogram bins for default field,could be over ride by FS_histogram_set_bins,
+ //SIZE = strlen(string+'\0')+1.DEFAULT: "10,100,1000,10000".
};
//Always success.