Optional
bootstrapOptions: BootstrapOptionsBootstrap settings, define how the Custom and the Service Registry settings should be loaded.
Optional
serviceRegistryOptions: ServiceRegistryOptions<CustomSettings>Service Registry settings, used as a base for the Service Registry configuration manager.
Optional
customSettings: Partial<CustomSettings>Custom settings provided by the user, used as a base for the Custom configuration manager.
Custom settings
Service Register health information
The logger instance
Service Register settings
Service settings
Service Register status
Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
path to the property to get
Optional
defaultValue: Tdefault value to return if the property is not found
Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
path to the property to get
Optional
defaultValue: CustomSettings[P]default value to return if the property is not found
Register a resource within the service observability
The resource or resources to be register
Readonly
startReadonly
stopAdd a listener for the command
event, emitted when a new command is received
command
event
Command event listener
Removes the specified listener from the listener array for the command
event.
command
event
Command event listener
Add a listener for the command
event, emitted when a new command is received
command
event
Command event listener
Add a listener for the command
event, emitted when a new command is received. This is a
one-time event, the listener will be removed after the first emission.
command
event
Command event listener
Removes the specified listener from the listener array for the command
event.
command
event
Command event listener
Create a new instance of the Service Registry