test/monitor.js aktualisiert

This commit is contained in:
2025-04-20 01:46:18 +02:00
parent 1a7a355f57
commit f4457942ee

View File

@@ -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' }
};