Slava Sayko
Slava Sayko
Related #140
Thank you, @danihenrique ! On memory usage: swagger-stats only keeps limited amount of data in memory, and it should not grow over time, for the same set of API operations....
Do you by any chance have non-repeating URL patterns that could accumulate over time ? Such as GUID in path, not defined as a URL parameter in routes ? If...
Could you try to run your app for some time with swagger-stats debug enabled, and share log ? To enable debug, set env variable `DEBUG=sws:*` Thanks !
When `DEBUG=sws:*` is set, swagger-stats logs will be written to stdout ... you can redirect them to file, and then run your app for several minutes when it processes traffic...
Thank you ! Will check what could be cause of this
Thanks! PR would be appreciated. I am researching what would be the best approach to intercept egress requests ...
Here is a starting point ... https://github.com/slanatech/swagger-stats/blob/master/lib/swsegress.js
Makes sense, will make UI optional dependency. Thanks!