chore: add runtime metrics agent and slo report
This commit is contained in:
@@ -279,6 +279,14 @@ async function writeMetadata() {
|
||||
path.join(root, 'scripts', 'runtime-worker-metrics.mjs'),
|
||||
path.join(runtimeRoot, 'scripts', 'runtime-worker-metrics.mjs'),
|
||||
);
|
||||
await fs.copyFile(
|
||||
path.join(root, 'scripts', 'runtime-slo-report.mjs'),
|
||||
path.join(runtimeRoot, 'scripts', 'runtime-slo-report.mjs'),
|
||||
);
|
||||
await fs.copyFile(
|
||||
path.join(root, 'scripts', 'install-runtime-metrics-agent.sh'),
|
||||
path.join(runtimeRoot, 'scripts', 'install-runtime-metrics-agent.sh'),
|
||||
);
|
||||
await fs.copyFile(
|
||||
path.join(root, 'scripts', 'check-tool-runtime.mjs'),
|
||||
path.join(runtimeRoot, 'scripts', 'check-tool-runtime.mjs'),
|
||||
@@ -332,6 +340,8 @@ async function writeMetadata() {
|
||||
' node scripts/runtime-worker-drain.mjs reconcile --apply',
|
||||
' node scripts/runtime-worker-metrics.mjs status',
|
||||
' node scripts/runtime-worker-metrics.mjs sample',
|
||||
' bash scripts/install-runtime-metrics-agent.sh',
|
||||
' node scripts/runtime-slo-report.mjs',
|
||||
' node scripts/runtime-worker-drain.mjs drain goosed-3',
|
||||
' node scripts/runtime-worker-drain.mjs undrain goosed-3',
|
||||
' node scripts/check-tool-runtime.mjs',
|
||||
@@ -355,6 +365,9 @@ async function main() {
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'wechat-mp-menu.mjs'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'check-stream-runtime.mjs'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'runtime-worker-drain.mjs'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'runtime-worker-metrics.mjs'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'runtime-slo-report.mjs'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'install-runtime-metrics-agent.sh'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'check-tool-runtime.mjs'), 0o755);
|
||||
await fs.chmod(path.join(runtimeRoot, 'scripts', 'memind-portal-tunnel.sh'), 0o755);
|
||||
console.log('');
|
||||
|
||||
Reference in New Issue
Block a user