mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-24 20:06:55 +01:00
chore: export default metrics register (#10989)
https://linear.app/unleash/issue/2-4035/avoid-prom-client-dependency-in-enterprise-cloud This exports the default metrics register so consumers can tap into it if needed.
This commit is contained in:
parent
7fdc0df9f2
commit
f06eabf7e6
@ -190,6 +190,7 @@ import ProjectStore from './features/project/project-store.js';
|
||||
import type { ReleasePlanMilestoneWriteModel } from './features/release-plans/release-plan-milestone.js';
|
||||
import { FakeChangeRequestAccessReadModel } from './features/change-request-access-service/fake-change-request-access-read-model.js';
|
||||
import { fakeImpactMetricsResolver } from '../test/fixtures/fake-impact-metrics.js';
|
||||
import { register as defaultMetricsRegister } from 'prom-client';
|
||||
|
||||
export async function initialServiceSetup(
|
||||
{ authentication }: Pick<IUnleashConfig, 'authentication'>,
|
||||
@ -503,6 +504,7 @@ export {
|
||||
impactRegister,
|
||||
EnvironmentStore,
|
||||
ProjectStore,
|
||||
defaultMetricsRegister,
|
||||
};
|
||||
|
||||
export type {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user