mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
chore: remove impact metrics scrape endpoint guard (#10300)
This commit is contained in:
parent
2dc7cbaa31
commit
4dc73dd7f6
@ -43,7 +43,6 @@ 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);
|
||||
|
||||
@ -52,7 +51,6 @@ class BackstageController extends Controller {
|
||||
res.end(metricsOutput);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (config.server.enableHeapSnapshotEnpoint) {
|
||||
this.get('/heap-snapshot', async (req, res) => {
|
||||
|
Loading…
Reference in New Issue
Block a user