digikare / nestjs-prom

A prometheus module for nestjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option for custom controller

pragmaticivan opened this issue · comments

Something controller: MyCustomController in the options should do.

The expected behavior is:

  • If withDefaultController = true + controller = MyCustomController Then MyCustomController should be load over defaultController.
  • if withDefaultController = false + controller = MyCustomController Then MyCustomController should be load over defaultController.
  • if withDefaultController = false + controller = null Then no controller should be loaded.