diff --git a/test/monitor.js b/test/monitor.js index 5cfc2bf..128d3a0 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: `/metrics/job/${encodeURIComponent(TESTNAME)}` + path: `/metrics/job/${encodeURIComponent(TESTNAME)}`, method: 'POST', headers: { 'Content-Type': 'text/plain' } };