Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen on separate port #48

Open
dobesv opened this issue Jan 31, 2018 · 3 comments
Open

Listen on separate port #48

dobesv opened this issue Jan 31, 2018 · 3 comments

Comments

@dobesv
Copy link

dobesv commented Jan 31, 2018

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
Copy link
Author

dobesv commented Jan 31, 2018

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.

@hsingh6764
Copy link

#54

@roylines
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants