swagger-stats
swagger-stats copied to clipboard
HELP / Feature Suppport Pm2 multi process
Hi, I Use PM2, and data between process are not synced. (https://github.com/slanatech/swagger-stats/issues/29) The native dashboard (/ui or /ux) is very good, Prometheus is to big for my needs
PM2 Allow IPC, I would like to sync data between process. Maybe push data on other process every route executed. Or send All data every X time
We can get stat : getCoreStats How can we "setStat" programmatically ?
Thanks. And congrats for your work !
Is there any current work around for PM2 cluster mode to get an aggregated view of swagger-stats /ui /ux endpoints? I hate when I refresh the page and I get different processes endpoint. Its nice to know the internal load balancing is working but the metrics and endpoint need to be aggregated together somehow
It's possible for metrics: https://swaggerstats.io/guide/prometheus.html#scraping-with-multiple-pm2-processes Not yet for stats & UX