From 0375e2ffc4ac7cf8adac6bdd146a9237f6d3c159 Mon Sep 17 00:00:00 2001 From: joy Date: Fri, 31 Oct 2025 12:50:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20scripts/deploy=5Fgpu=5Fmon?= =?UTF-8?q?itor.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ewr --- scripts/deploy_gpu_monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy_gpu_monitor.sh b/scripts/deploy_gpu_monitor.sh index a4ab83d..6502116 100644 --- a/scripts/deploy_gpu_monitor.sh +++ b/scripts/deploy_gpu_monitor.sh @@ -17,7 +17,7 @@ TARGET_DIR="/opt/scripts" # 脚本存放目录 TARGET_SCRIPT="${TARGET_DIR}/gpu_monitor.sh" # 目标脚本路径 CRON_SCHEDULE="*/3 * * * *" # 定时任务执行频率 LOG_FILE="/var/log/gpu_monitor.log" # 日志文件路径 -METRICS_DIR="" # 指标文件目录 +METRICS_DIR="/opt/scripts" # 指标文件目录 METRICS_FILE="${METRICS_DIR}/gpu_metrics.prom" # 指标文件 NODE_EXPORTER_SERVICE="node_exporter.service" # node_exporter服务名