express-status-monitor
express-status-monitor copied to clipboard
Custom Stats
Would be really awesome if this had a way to track custom statistics & display them in the monitor!
Still a great project as it is :)
Can you provide examples of some custom stats which you would like to see?
Anything, really. I think it would've nice to just be able to call a tracking function at specific intervals with a custom value to be shown on the charts.
Definitely a good idea. Extending existing mechanism should be too hard, I totally support that idea.
Hi, I am creating a new project since this week https://github.com/algenty/node-sys The goal is to create a new agent like telegraf or node_exporter in nodejs with inputs plugins like metrics cpu, networks, applications, .. and outputs plugins like files, influxdb, prometheus and others
I need an admin monitor for agent to display stats
Each inputs and outputs have stats like : inputs _nsInStatsFactory() { return { startAt: Date.now(), stopAt: null, pauseAt: null, stopAt: null, totalTime: 0, execCount: 0, successCount: 0, failedCount: 0, unknownCount: 0, }; }
BR Arnaud