Skip to content

Commit ecd0421

Browse files
author
Lucienne Seidler
committed
updated URI to query string
1 parent 81f6730 commit ecd0421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chronos_npm_package/controllers/utilities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ const helpers = {
226226
const URI = helpers.getMetricsURI(config);
227227
const query = URI + encodeURIComponent('{__name__=~".+",container=""}');
228228
try {
229-
const response = await axios.get(URI);
229+
const response = await axios.get(query);
230230
return helpers.parseProm(response.data.data.result);
231231
} catch (error) {
232232
return console.error(config.mode, '|', 'Error fetching from URI:', URI, '\n', error);

0 commit comments

Comments
 (0)