add observability to worker and health server
This commit is contained in:
1 parent
48ca64ec6f
commit
f43bf9ab3d
3 files changed
+47
-1
No files matched your search
@@ -85,4 +85,6 @@ export interface IQueueWorker extends IJobScheduler {
|
||||
readonly serviceName: string;
|
||||
init(): Promise<boolean>;
|
||||
getHealth(): WorkerHealth;
|
||||
countDueBacklog(): Promise<number>;
|
||||
countAliveWorkers(): Promise<number>;
|
||||
}
|
||||
Reference in new issue
Block a user