slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
893 stars 137 forks source link

Support /stats, /metrics and /ui endpoints on different port #23

Open sv2 opened 6 years ago

sv2 commented 6 years ago

In production deployments It may desired to expose swagger-stats on different port, so it can only be accessed internally. Support configuration to serve /stats, /metrics and /ui endpoints on different ( management ) port.

poteirard commented 5 years ago

+1 Do you know if it's possible to do it with this library? I got really useful help in another library which might be useful for you also. https://github.com/jochen-schweizer/express-prom-bundle/issues/25