test/monitor.js aktualisiert
This commit is contained in:
@@ -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' }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user