Skip to content

Commit

Permalink
Update qryn-loadtest.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Nov 5, 2023
1 parent 455e828 commit 1673e89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qryn-loadtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ get_read_authentication_headers().forEach((value, key) => {
})

const query_client = new Httpx({
baseURL: `${SCHEME}://${READ_HOSTNAME}/prometheus/api/v1`,
baseURL: `${SCHEME}://${READ_HOSTNAME}/api/v1`,
headers: query_client_headers,
timeout: 120e3 // 120s timeout.
});
Expand Down Expand Up @@ -527,7 +527,7 @@ export function run_range_query() {
console.debug("range query - time_range:", time_range, "start:", start, "end:", end, "step:", step, "query:", query)

describe(name, () => {
const res = query_client.post('/api/v1/query_range', {
const res = query_client.post('/query_range', {
query: query,
start: start,
end: end,
Expand Down Expand Up @@ -574,7 +574,7 @@ export function run_instant_query(name, config) {
console.debug(name, " - query: ", query)

describe(name, () => {
const res = query_client.post('/api/v1/query', {
const res = query_client.post('/query', {
query: query,
time: time,
}, {
Expand Down

0 comments on commit 1673e89

Please sign in to comment.