node-epimetheus icon indicating copy to clipboard operation
node-epimetheus copied to clipboard

Listen on separate port

Open dobesv opened this issue 7 years ago • 3 comments

To avoid exposing the metrics to anyone accessing the site, it would be nice to be able to instrument the server without adding the /metrics route to it.

dobesv avatar Jan 31 '18 17:01 dobesv

That is, I'd like to create an http listener on port 3001 which only responds to /metrics with metrics, but isn't instrumented. And I'd like to collect metrics from my "main" express server.

dobesv avatar Jan 31 '18 17:01 dobesv

https://github.com/roylines/node-epimetheus/pull/54

hsingh6764 avatar Aug 03 '18 21:08 hsingh6764

Happy to merge, just waiting on my couple of "asks" in #54

roylines avatar Aug 21 '18 16:08 roylines