diff options
| author | 刘畅 <[email protected]> | 2023-03-28 10:35:04 +0000 |
|---|---|---|
| committer | 刘畅 <[email protected]> | 2023-03-28 10:35:04 +0000 |
| commit | 54d7bdfd760309474ed2bd13f7940d96fc007451 (patch) | |
| tree | 955c23b1cd46b6837a2a6cb69b1a411e396b22ee /conf | |
| parent | daac158a2890ab58a826ae973a2e775625d6af07 (diff) | |
| parent | d6e6708cbeefcb90e09bb5fa76133d8f56a7f6ad (diff) | |
Merge branch 'shaping_fieldstat3' into 'rel'v1.1.0
Shaping fieldstat3
See merge request liuchang/shaping-engine!1
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | conf/shaping.conf (renamed from conf/main.conf) | 7 | ||||
| -rw-r--r-- | conf/zlog.conf | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt index b278878..ddc2429 100644 --- a/conf/CMakeLists.txt +++ b/conf/CMakeLists.txt @@ -1,4 +1,4 @@ -install(FILES main.conf DESTINATION conf COMPONENT Profile) +install(FILES shaping.conf DESTINATION conf COMPONENT Profile) install(FILES shaping_maat.json DESTINATION conf COMPONENT Profile) install(FILES table_info.json DESTINATION conf COMPONENT Profile) install(FILES zlog.conf DESTINATION conf COMPONENT Profile)
\ No newline at end of file diff --git a/conf/main.conf b/conf/shaping.conf index e134a70..5a8adec 100644 --- a/conf/main.conf +++ b/conf/shaping.conf @@ -28,9 +28,10 @@ SWARMKV_CLUSTER_ANNOUNCE_PORT=8501 SWARMKV_HEALTH_CHECK_PORT=0 SWARMKV_HEALTH_CHECK_ANNOUNCE_PORT=1111 -#[METRIC] -#TELEGRAF_IP="127.0.0.1" -#TELEGRAF_PORT=6667 +[METRIC] +FIELDSTAT_OUTPUT_INTERVAL_MS=500 +LINE_PROTOCOL_SERVER_IP="127.0.0.1" +LINE_PROTOCOL_SERVER_PORT=6667 [CONFIG] #PROFILE_QUEUE_LEN_PER_PRIORITY_MAX=128 diff --git a/conf/zlog.conf b/conf/zlog.conf index a7a988d..6ce69f4 100644 --- a/conf/zlog.conf +++ b/conf/zlog.conf @@ -7,4 +7,4 @@ INFO=20 FATAL=30 [rules] -shaping.fatal "./log/shaping.log.%d(%F)"; +log_shaping.fatal "./log/shaping.log.%d(%F)"; |
