mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-18 13:48:58 +02:00
feat: using impact metrics with flags
This commit is contained in:
parent
5c641e155d
commit
ad9033f8e1
@ -792,7 +792,11 @@ export function registerPrometheusMetrics(
|
||||
appName,
|
||||
})
|
||||
.observe(time);
|
||||
config.flagResolver.impactMetrics?.incrementCounter(REQUEST_COUNT);
|
||||
config.flagResolver.impactMetrics?.incrementCounter(
|
||||
REQUEST_COUNT,
|
||||
1,
|
||||
{ flagNames: ['consumptionModel'], context: {} },
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user