summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-11-13 14:09:03 +0800
committerluwenpeng <[email protected]>2024-11-13 17:17:13 +0800
commit3d99178958d99a2ee6a7c94c58ae8f7479ea1e2a (patch)
treeea880387c3d13d34a7e0e73f9a7ff48521a42b0e /conf
parentaa98cf915e965203479dec7ab7d231edd8301384 (diff)
TSG-23378 TFE移除平台层的FieldStat2,为适配AArch64做准备
Diffstat (limited to 'conf')
-rw-r--r--conf/tfe/future.conf10
-rw-r--r--conf/tfe/tfe.conf14
2 files changed, 6 insertions, 18 deletions
diff --git a/conf/tfe/future.conf b/conf/tfe/future.conf
index f1ef8b0..c0c91bc 100644
--- a/conf/tfe/future.conf
+++ b/conf/tfe/future.conf
@@ -1,10 +1,4 @@
[STAT]
-no_stats=0
-statsd_server=127.0.0.1
-statsd_port=8100
histogram_bins=0.50,0.80,0.9,0.95
-statsd_cycle=5
-# FS_OUTPUT_STATSD=1, FS_OUTPUT_INFLUX_LINE=2
-statsd_format=2
-# printf diff Not available
-# print_diff=1
+output_file=log/future.json
+output_cycle=5
diff --git a/conf/tfe/tfe.conf b/conf/tfe/tfe.conf
index f863ea2..96f9b72 100644
--- a/conf/tfe/tfe.conf
+++ b/conf/tfe/tfe.conf
@@ -147,14 +147,8 @@ tcp_ttl_upstream=75
tcp_ttl_downstream=70
[stat]
-statsd_server=127.0.0.1
-statsd_port=8100
-statsd_cycle=5
-# 1:FS_OUTPUT_STATSD; 2:FS_OUTPUT_INFLUX_LINE
-statsd_format=2
-histogram_bins=0.5,0.8,0.9,0.95
-statsd_set_prometheus_port=9001
-statsd_set_prometheus_url_path=/tfe_prometheus
+output_file=log/tfe.json
+output_cycle=5
[traffic_mirror]
enable=1
@@ -163,7 +157,7 @@ device=eth4
type=1
default_vlan_id=2
table_info=resource/pangu/table_info_traffic_mirror.conf
-stat_file=log/traffic_mirror.status
+stat_file=log/traffic_mirror.json
app_symbol=tfe-mirror
[traffic_steering]
@@ -197,7 +191,7 @@ stat_switch=1
perf_switch=1
table_info=resource/pangu/table_info.conf
accept_path=/opt/tsg/etc/tsg_device_tag.json
-stat_file=log/pangu_scan.fs2
+stat_file=metrics/pangu_scan.json
effect_interval_s=1
deferred_load_on=0