UNIwise / socket.io-prometheus-metrics

Socket.IO prometheus metrics exporter written in typescript
Apache License 2.0
36 stars 17 forks source link

Feature: Timing per event #13

Open DataTables opened 3 years ago

DataTables commented 3 years ago

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 :-).

naueramant commented 3 years ago

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

beka-iglesias commented 1 year ago

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