aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-19 15:34:44 +0200
committerChocobozzz <me@florianbigard.com>2022-07-19 15:34:44 +0200
commit7fd28c99b9dfd0a0fe6799d947631e57f72e817a (patch)
treecf0a8cce9ee6859a0e167910f81bdd690fbf86ca /server
parentd30110407ffb484e12f493c136f50227e1094e75 (diff)
downloadPeerTube-7fd28c99b9dfd0a0fe6799d947631e57f72e817a.tar.gz
PeerTube-7fd28c99b9dfd0a0fe6799d947631e57f72e817a.tar.zst
PeerTube-7fd28c99b9dfd0a0fe6799d947631e57f72e817a.zip
Fix lint
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)