aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-05 10:19:51 +0100
committerChocobozzz <me@florianbigard.com>2023-01-05 10:19:51 +0100
commit5847724474b9a1d94679e347ca2c24d2b10d0b20 (patch)
tree44ffd0f83b2d6996c8a454271e3f5a56ff7a2c2b /server/controllers
parent60bab7b540de3709f3392a0ea964524c13c7e404 (diff)
downloadPeerTube-5847724474b9a1d94679e347ca2c24d2b10d0b20.tar.gz
PeerTube-5847724474b9a1d94679e347ca2c24d2b10d0b20.tar.zst
PeerTube-5847724474b9a1d94679e347ca2c24d2b10d0b20.zip
Add tracker opentelemtry metrics
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/tracker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts
index 0ef98c35e..c4f3a8889 100644
--- a/server/controllers/tracker.ts
+++ b/server/controllers/tracker.ts
@@ -121,7 +121,7 @@ function createWebsocketTrackerServer (app: express.Application) {
121 // Don't destroy socket, we have Socket.IO too 121 // Don't destroy socket, we have Socket.IO too
122 }) 122 })
123 123
124 return server 124 return { server, trackerServer }
125} 125}
126 126
127// --------------------------------------------------------------------------- 127// ---------------------------------------------------------------------------