mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
chore: remove impact metrics scrape endpoint guard (#10300)
This commit is contained in:
parent
2dc7cbaa31
commit
4dc73dd7f6
@ -43,15 +43,13 @@ class BackstageController extends Controller {
|
||||
res.end(metricsOutput);
|
||||
});
|
||||
|
||||
if (this.flagResolver.isEnabled('impactMetrics')) {
|
||||
this.get('/impact/metrics', async (req, res) => {
|
||||
res.set('Content-Type', impactRegister.contentType);
|
||||
this.get('/impact/metrics', async (req, res) => {
|
||||
res.set('Content-Type', impactRegister.contentType);
|
||||
|
||||
const metricsOutput = await impactRegister.metrics();
|
||||
const metricsOutput = await impactRegister.metrics();
|
||||
|
||||
res.end(metricsOutput);
|
||||
});
|
||||
}
|
||||
res.end(metricsOutput);
|
||||
});
|
||||
}
|
||||
|
||||
if (config.server.enableHeapSnapshotEnpoint) {
|
||||
|
Loading…
Reference in New Issue
Block a user