feat: NEZ-2138 nz-talon 打包 telegraf 开源组件
1、nz-talon 编译打包时,打包 telegraf-1.26.2 (当前最新版本) 2、内置 cpu,mem,disk ,io 等默认监控配置 3、telegraf service 名称: nz-telegraf 4、promtail service 名称改为: nz-promtail 5、nz-talon 更新时确保原有 telegraf 配置不丢失
This commit is contained in:
@@ -40,16 +40,16 @@ public class PromtailController extends BaseController{
|
||||
@Value("${confagent.promtail.query.auth:true}")
|
||||
private Boolean queryAuth;
|
||||
|
||||
@Value("${confagent.promtail.restart:systemctl restart promtail}")
|
||||
@Value("${confagent.promtail.restart:systemctl restart nz-promtail}")
|
||||
private String restartCmd;
|
||||
|
||||
@Value("${confagent.versionFile:promtail.version}")
|
||||
private String versionFile;
|
||||
|
||||
@Value("${confagent.promtail.startCmd:systemctl start promtail.service}")
|
||||
@Value("${confagent.promtail.startCmd:systemctl start nz-promtail.service}")
|
||||
private String startCmd;
|
||||
|
||||
@Value("${confagent.promtail.stopCmd:systemctl stop promtail.service}")
|
||||
@Value("${confagent.promtail.stopCmd:systemctl stop nz-promtail.service}")
|
||||
private String stopCmd;
|
||||
|
||||
private final String[] QUERY_API_SUFFIX = {"query","query_range","series","labels","label","values"};
|
||||
|
||||
Reference in New Issue
Block a user