aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts b/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts
index c51a50ebb..766cbe03b 100644
--- a/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts
+++ b/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts
@@ -159,7 +159,7 @@ export class NodeJSObserversBuilder {
159 159
160 this.meter.createObservableGauge('nodejs_active_requests_total', { 160 this.meter.createObservableGauge('nodejs_active_requests_total', {
161 description: 'Total number of active libuv requests.' 161 description: 'Total number of active libuv requests.'
162 }).addCallback(async observableResult => { 162 }).addCallback(observableResult => {
163 const requests = (process as any)._getActiveRequests() 163 const requests = (process as any)._getActiveRequests()
164 164
165 observableResult.observe(requests.length) 165 observableResult.observe(requests.length)