{"repo":"UNIwise/socket.io-prometheus-metrics","free":true,"listed":false,"github":"https://github.com/UNIwise/socket.io-prometheus-metrics","clone":"git clone https://github.com/UNIwise/socket.io-prometheus-metrics.git","description":"Socket.IO prometheus metrics exporter written in typescript","language":"TypeScript","stars":36,"topics":["metrics","socketio","prometheus","nodejs","typescript"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"socket.io-prometheus-metrics Exposes a metrics endpoint for prometheus to collect data about socket.io . Installation Usage Basic usage Metrics is then available at localhost:9090/metrics . Prometheus default metrics can also be enabled by setting the collectDefaultMetrics option to true If you wish to serve the metrics yourself the createServer options can be set to false and metrics can be collected from the register Options Option Default Description ------------------------- -------------- ------------------------------------------------------------ path \"/metrics\" Metrics path port 9090 Metrics port createServer true Auto create http server collectDefaultMetrics false Collect prometheus default metrics checkForNewNamespaces true Collect metrics for namespaces that will be added at runtime Socket.io metrics all metrics have socket io prefix in their names. Name Help Labels --------------------------------- --------------------------------------------- ------------------- socket io connected Number of currently connected sockets socket io connect total Total count of socket.io connection requests namespace socket io disconnect total Total count of socket.io disconnections namespace socket io errors total Total count of socket.io errors namespace socket io events received total Total count of socket.io received events event , namespace socket io events sent total Total count of socket.io sent events event , namespace socket io receive bytes Total socket.io bytes received ev","default_branch":null,"files":null,"tree":[],"storefront":"/r/UNIwise","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/UNIwise/socket.io-prometheus-metrics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}