socket.io-prometheus-metrics
socket.io-prometheus-metrics copied to clipboard
Feature: Timing per event
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 :-).
I'm currently developing a refactored v2 of this project so maybe it could be a part of that roadmap?
It would be really useful time for event metric, I agree. Has it been added finally? Thanks in advance!