socket.io-prometheus-metrics icon indicating copy to clipboard operation
socket.io-prometheus-metrics copied to clipboard

Feature: Timing per event

Open DataTables opened this issue 5 years ago • 2 comments

Is it possible to add a time per event metric? At the moment the module is reporting counters for the events received / sent and for the bytes. I don't know if it is possible with Socket.io, but it would be really useful to be able to know how long each event handler takes to run as well.

p.s. Apologies for the multiple tickets today! I'm just a bit excited to be using this :-).

DataTables avatar Oct 27 '20 13:10 DataTables

I'm currently developing a refactored v2 of this project so maybe it could be a part of that roadmap?

naueramant avatar Nov 18 '20 19:11 naueramant

It would be really useful time for event metric, I agree. Has it been added finally? Thanks in advance!

beka-iglesias avatar Feb 20 '23 18:02 beka-iglesias