Fetch job queue counts for metrics on scraping (#509)

This commit is contained in:
prathamesh0
2024-05-16 16:34:07 +05:30
committed by GitHub
parent 20fa6ceaa6
commit 1ca74548ff
3 changed files with 46 additions and 35 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ export class JobRunnerCmd {
await startJobRunner(jobRunner);
jobRunner.handleShutdown();
await startMetricsServer(config, indexer, this._currentEndpointIndex);
await startMetricsServer(config, jobQueue, indexer, this._currentEndpointIndex);
}
_getArgv (): any {