tidb的报警存储200g文件 我能删除吗

promethues的启动脚本里有设置,日志保留天数,我试过,直接改脚本后kill promethues进程,可以实现修改日志保留时长。
日志位置:/tidb-deploy/prometheus-9090/scripts/run_prometheus.sh
参数: --storage.tsdb.retention=“30d”
手动kill进程后,系统会自动再拉起promethues。

官方文档:
TiDB 监控常见问题 | PingCAP 文档中心