This commit is contained in:
Chocobozzz 2022-07-19 15:34:44 +02:00
parent d30110407f
commit 7fd28c99b9
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ export class NodeJSObserversBuilder {
this.meter.createObservableGauge('nodejs_active_requests_total', {
description: 'Total number of active libuv requests.'
}).addCallback(async observableResult => {
}).addCallback(observableResult => {
const requests = (process as any)._getActiveRequests()
observableResult.observe(requests.length)