chore: add hourly runtime slo soak monitor

This commit is contained in:
Your Name
2026-07-02 12:45:55 +08:00
parent f9a385f333
commit 8e0ace1389
5 changed files with 139 additions and 7 deletions
+6
View File
@@ -319,6 +319,10 @@ async function writeMetadata() {
path.join(root, 'scripts', 'install-runtime-slo-report-agent.sh'),
path.join(runtimeRoot, 'scripts', 'install-runtime-slo-report-agent.sh'),
);
await fs.copyFile(
path.join(root, 'scripts', 'install-runtime-slo-soak-agent.sh'),
path.join(runtimeRoot, 'scripts', 'install-runtime-slo-soak-agent.sh'),
);
await fs.copyFile(
path.join(root, 'scripts', 'install-agent-run-worker-agent.sh'),
path.join(runtimeRoot, 'scripts', 'install-agent-run-worker-agent.sh'),
@@ -396,6 +400,7 @@ async function writeMetadata() {
' node scripts/runtime-slo-report.mjs --write-report',
' node scripts/runtime-slo-report.mjs --write-report --prune --retention-days 30',
' bash scripts/install-runtime-slo-report-agent.sh',
' bash scripts/install-runtime-slo-soak-agent.sh',
' node scripts/runtime-worker-drain.mjs drain goosed-3',
' node scripts/runtime-worker-drain.mjs undrain goosed-3',
' node scripts/check-tool-runtime.mjs',
@@ -435,6 +440,7 @@ async function main() {
await fs.chmod(path.join(runtimeRoot, 'scripts', 'install-runtime-metrics-agent.sh'), 0o755);
await fs.chmod(path.join(runtimeRoot, 'scripts', 'install-runtime-heartbeat-agent.sh'), 0o755);
await fs.chmod(path.join(runtimeRoot, 'scripts', 'install-runtime-slo-report-agent.sh'), 0o755);
await fs.chmod(path.join(runtimeRoot, 'scripts', 'install-runtime-slo-soak-agent.sh'), 0o755);
await fs.chmod(path.join(runtimeRoot, 'scripts', 'install-agent-run-worker-agent.sh'), 0o755);
await fs.chmod(path.join(runtimeRoot, 'scripts', 'agent-run-guard.mjs'), 0o755);
await fs.chmod(path.join(runtimeRoot, 'scripts', 'install-agent-run-guard-agent.sh'), 0o755);