From f4457942ee33be8f10bfc9bedfc8957aa3954964 Mon Sep 17 00:00:00 2001 From: Timm Date: Sun, 20 Apr 2025 01:46:18 +0200 Subject: [PATCH] test/monitor.js aktualisiert --- test/monitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/monitor.js b/test/monitor.js index 103d4ae..5cfc2bf 100644 --- a/test/monitor.js +++ b/test/monitor.js @@ -68,7 +68,7 @@ if (!PUSHGATEWAY_URL) { const protocolLib = pushUrl.protocol === 'https:' ? https : http; const options = { hostname: pushUrl.hostname, - path: pushUrl.pathname + pushUrl.search, + path: `/metrics/job/${encodeURIComponent(TESTNAME)}` method: 'POST', headers: { 'Content-Type': 'text/plain' } };