From 0cae6007a193d6ee96ccc5bab22c3cab783e7ba8 Mon Sep 17 00:00:00 2001 From: medcl Date: Wed, 25 Oct 2023 22:23:45 +0800 Subject: [PATCH] optimize agent tpl files --- config/agent/init_agent_config.tpl | 5 ++++- config/install_agent.tpl | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/agent/init_agent_config.tpl b/config/agent/init_agent_config.tpl index 2b540a05..4693292a 100644 --- a/config/agent/init_agent_config.tpl +++ b/config/agent/init_agent_config.tpl @@ -111,7 +111,7 @@ metrics: enabled: true summary: true sockets: true - throughput: true + #throughput: true details: true memory: metrics: @@ -139,6 +139,7 @@ pipeline: - name: merge_logs auto_start: true keep_running: true + retry_delay_in_ms: 10000 processor: - indexing_merge: elasticsearch: "$[[INGEST_CLUSTER_ID]]" @@ -153,6 +154,7 @@ pipeline: - name: merge_metrics auto_start: true keep_running: true + retry_delay_in_ms: 10000 processor: - indexing_merge: elasticsearch: "$[[INGEST_CLUSTER_ID]]" @@ -167,6 +169,7 @@ pipeline: enabled: true auto_start: true keep_running: true + retry_delay_in_ms: 10000 processor: - bulk_indexing: max_worker_size: 1 diff --git a/config/install_agent.tpl b/config/install_agent.tpl index aae8c9f4..d4a268a7 100644 --- a/config/install_agent.tpl +++ b/config/install_agent.tpl @@ -252,7 +252,7 @@ elastic: disk_queue: max_msg_size: 20485760 max_bytes_per_file: 20485760 - max_used_bytes: 524288000 + max_used_bytes: 1024288000 retention.max_num_of_local_files: 1 compress: idle_threshold: 0