about summary refs log tree commit diff
path: root/streaming
diff options
context:
space:
mode:
authoremilweth <7402764+emilweth@users.noreply.github.com>2023-02-11 02:15:07 +0100
committerGitHub <noreply@github.com>2023-02-11 02:15:07 +0100
commitc1b823368c894c80b586d37c85012ee766a32c0e (patch)
tree6d8674a1eea2a67e19d076c5d8712ed71224d84f /streaming
parent61c5dfb9295ea66c376c452a7ef7379e8c562416 (diff)
dot is not allowed (#23519)
Diffstat (limited to 'streaming')
-rw-r--r--streaming/index.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/streaming/index.js b/streaming/index.js
index a8708ec78..1121c77bf 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -856,15 +856,15 @@ const startWorker = async (workerId) => {
     res.write('# TYPE connected_channels gauge\n');
     res.write('# HELP connected_channels The number of Redis channels the streaming server is subscribed to\n');
     res.write(`connected_channels ${Object.keys(subs).length}.0\n`);
-    res.write('# TYPE pg.pool.total_connections gauge \n');
-    res.write('# HELP pg.pool.total_connections The total number of clients existing within the pool\n');
-    res.write(`pg.pool.total_connections ${pgPool.totalCount}.0\n`);
-    res.write('# TYPE pg.pool.idle_connections gauge \n');
-    res.write('# HELP pg.pool.idle_connections The number of clients which are not checked out but are currently idle in the pool\n');
-    res.write(`pg.pool.idle_connections ${pgPool.idleCount}.0\n`);
-    res.write('# TYPE pg.pool.waiting_queries gauge \n');
-    res.write('# HELP pg.pool.waiting_queries The number of queued requests waiting on a client when all clients are checked out\n');
-    res.write(`pg.pool.waiting_queries ${pgPool.waitingCount}.0\n`);
+    res.write('# TYPE pg_pool_total_connections gauge \n');
+    res.write('# HELP pg_pool_total_connections The total number of clients existing within the pool\n');
+    res.write(`pg_pool_total_connections ${pgPool.totalCount}.0\n`);
+    res.write('# TYPE pg_pool_idle_connections gauge \n');
+    res.write('# HELP pg_pool_idle_connections The number of clients which are not checked out but are currently idle in the pool\n');
+    res.write(`pg_pool_idle_connections ${pgPool.idleCount}.0\n`);
+    res.write('# TYPE pg_pool_waiting_queries gauge \n');
+    res.write('# HELP pg_pool_waiting_queries The number of queued requests waiting on a client when all clients are checked out\n');
+    res.write(`pg_pool_waiting_queries ${pgPool.waitingCount}.0\n`);
     res.write('# EOF\n');
     res.end();
   }));