Closed bklepar closed 4 years ago
This is already done èvery time the metric is scraped? I can't see how this should fix it?
Closed due to inactivity
@naueramant thank you for review. indeed it works when own get used, but if we try to add those metrics to already existing prom client - it bypasses the get handler and metric is always zero. so fix allows this metric to work no matter how it is consumed.
@naueramant thank you for review. indeed it works when own get used, but if we try to add those metrics to already existing prom client - it bypasses the get handler and metric is always zero. so fix allows this metric to work no matter how it is consumed.
A valid point! I will merge and maybe rework the code asap.
updates socket_io_connected when new socket connected or disconnected sample and simple fix for https://github.com/UNIwise/socket.io-prometheus-metrics/issues/5