We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8581fd0 commit 3a1731cCopy full SHA for 3a1731c
1 file changed
lib/server.js
@@ -379,6 +379,7 @@ function main() {
379
process.env.REPORT_TOKEN = _config.reportToken;
380
const server = new S3Server(_config);
381
server.initiateStartup(logger.newRequestLogger());
382
+ monitoringClient.collectDefaultMetrics({ timeout: 5000 });
383
}
384
if (this.cluster && cluster.isPrimary) {
385
for (let n = 0; n < workers; n++) {
@@ -429,8 +430,8 @@ function main() {
429
430
if (this.cluster && cluster.isWorker) {
431
const server = new S3Server(_config, cluster.worker);
432
433
434
- monitoringClient.collectDefaultMetrics({ timeout: 5000 });
435
436
437
module.exports = main;
0 commit comments