test/monitor.js aktualisiert

This commit is contained in:
2025-04-20 01:47:43 +02:00
parent f4457942ee
commit 6fb253334b

View File

@@ -68,7 +68,7 @@ if (!PUSHGATEWAY_URL) {
const protocolLib = pushUrl.protocol === 'https:' ? https : http;
const options = {
hostname: pushUrl.hostname,
path: `/metrics/job/${encodeURIComponent(TESTNAME)}`
path: `/metrics/job/${encodeURIComponent(TESTNAME)}`,
method: 'POST',
headers: { 'Content-Type': 'text/plain' }
};