mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
feat: using impact metrics with flags
This commit is contained in:
parent
34feef990e
commit
5c641e155d
@ -1145,6 +1145,7 @@ export function registerPrometheusMetrics(
|
||||
config.flagResolver.impactMetrics?.updateGauge(
|
||||
HEAP_MEMORY_TOTAL,
|
||||
process.memoryUsage().heapUsed,
|
||||
{ flagNames: ['consumptionModel'], context: {} },
|
||||
);
|
||||
featureTogglesArchivedTotal.reset();
|
||||
featureTogglesArchivedTotal.set(
|
||||
|
Loading…
Reference in New Issue
Block a user