digikare / nestjs-prom

A prometheus module for nestjs
160 stars 54 forks source link

Allow dynamic module registration #27

Open FreifeldRoyi opened 4 years ago

FreifeldRoyi commented 4 years ago

It is not possible (as far as I understand) to initialise PromModule as a dynamic module. This is important in order to config the prom client dynamically using configurations given at runtime

spike008t commented 4 years ago

What is your use case ?

FreifeldRoyi commented 4 years ago

Add tags from configuration I store in ConfigService

spike008t commented 4 years ago

I see, I will look at it asap