Skip to content

Commit

Permalink
server: comment /debug-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenasm committed Oct 20, 2023
1 parent 8ff7082 commit b378373
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,9 @@ if (enableAuthentication) {
// fetchDockerData().then(it => res.send(it)).catch(e => res.send(e.toString()));
// });

app.get('/debug-metrics', (req, res) => {
fetchMetrics(lastRunningNodeExportes.map(({ address }) => `http://${address}:9100/metrics`)).then(it => res.send(it)).catch(e => res.send(e.toString()));
});
// app.get('/debug-metrics', (req, res) => {
// fetchMetrics(lastRunningNodeExportes.map(({ address }) => `http://${address}:9100/metrics`)).then(it => res.send(it)).catch(e => res.send(e.toString()));
// });

// start the polling

Expand Down

0 comments on commit b378373

Please sign in to comment.