Commit graph

7 commits

Author SHA1 Message Date
Ludwig Behm 40c05a7905 back: add a /metrics.json endpoint 2022-02-02 23:47:36 +01:00
David Négrier 3e91a79078 Upgrading eslint 2021-12-23 15:33:19 +01:00
David Négrier 10c3d6dee2 Applying Prettier on pusher and back 2021-06-24 10:09:10 +02:00
kharhamel b1d2543631 improvment: added prometheus metrics for the number of groups in a room 2020-10-30 15:23:50 +01:00
arp e6bd655527 move most of the logic of IOSocketController into a dedicated class 2020-10-15 18:22:28 +02:00
David Négrier 2cea0e490b Fixing disconnect call 2020-09-29 09:45:47 +02:00
David Négrier af6924a27c Adding Prometheus metrics
This commit adds a '/metrics' endpoint in the API that can be exploited by Prometheus.

This endpoint returns:

- the number of connected sockets
- the number of users per room
- common NodeJS and system metrics

WARNING: this endpoint is public right now and should be protected
2020-06-09 11:49:23 +02:00