1
0
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:
Mateusz Kwasniewski 2025-07-03 12:05:38 +02:00 committed by GitHub
parent 2dc7cbaa31
commit 4dc73dd7f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) => {