summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2019-01-25 12:26:33 +0600
committerzhengchao <[email protected]>2019-01-25 12:26:33 +0600
commit8d1a7814337c942d5a349d3ea99125a130b4456e (patch)
tree4125aeaf4e07781035428cac6c33afb599add8c7 /inc
parent460038627be34bcf468ba72ea9f97e04669b318e (diff)
增加NOT_SEND_METRIC_TO_SERVER开关,不发送统计数据到汇聚服务器。ID_INVISBLE仅控制本地的显示,不再影响汇聚行为。
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 e9af975..457b7e6 100644
--- a/inc/field_stat2.h
+++ b/inc/field_stat2.h
@@ -49,7 +49,8 @@ enum FS_option
STATS_SERVER_PORT, //VALUE is a unsigned short or a signed int, host order, SIZE= sizeof(unsigned short) or sizeof(int). No DEFAULT.
STATS_FORMAT, //VALUE is enum stats_output_format, STATSD or INFLUX_LINE, SIZE=sizeof(int), DEFAULT:STATSD.
MAX_STAT_FIELD_NUM, //VALUE is an interger, SIZE=sizeof(int), DEFAULT:1024.
- HISTOGRAM_GLOBAL_BINS //VALUE is a const char*, define a histogram bins for default field, SIZE = strlen(string+'\0')+1. DEFAULT: "0.5,0.8,0.9,0.95,0.99“.
+ HISTOGRAM_GLOBAL_BINS, //VALUE is a const char*, define a histogram bins for default field, SIZE = strlen(string+'\0')+1. DEFAULT: "0.5,0.8,0.9,0.95,0.99“.
+ NOT_SEND_METRIC_TO_SERVER //value is field_id/status_id/column_id, not output this string, SIZE=4,DEFAULT: Send.
};
//Always success.