{"library":"socket.io-prometheus","type":"library","category":null,"description":"socket.io-prometheus is a library designed to collect and expose Prometheus metrics from a Socket.IO server instance. It integrates directly with a `socket.io` server to monitor connection totals, disconnections, connected client counts, and event traffic (both sent and received) along with byte counts. The current stable version is 0.4.0, which appears to be under active maintenance rather than rapid feature development, with recent updates focused on package maintenance and CI matrix adjustments. A key differentiator is its direct, minimal integration specifically for Socket.IO, leveraging `prom-client` for metric registration and exposition, making it a straightforward solution for adding observability to Socket.IO applications within a Prometheus ecosystem.","language":"javascript","status":"active","version":"0.4.0","tags":["javascript","prometheus","socket.io"],"install":[{"cmd":"npm install socket.io-prometheus","imports":["import ioMetrics from 'socket.io-prometheus';","import { register } from 'prom-client';","import { register } from 'prom-client'; /* then register.contentType */"]},{"cmd":"yarn add socket.io-prometheus","imports":[]},{"cmd":"pnpm add socket.io-prometheus","imports":[]}],"homepage":null,"github":"https://github.com/shamil/socket.io-prometheus","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/socket.io-prometheus","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/socket.io-prometheus/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}