express-status-monitor icon indicating copy to clipboard operation
express-status-monitor copied to clipboard

Custom Stats

Open InventivetalentDev opened this issue 5 years ago • 4 comments

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 :)

InventivetalentDev avatar Sep 08 '19 11:09 InventivetalentDev

Can you provide examples of some custom stats which you would like to see?

YasharF avatar Oct 04 '19 15:10 YasharF

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.

InventivetalentDev avatar Oct 07 '19 07:10 InventivetalentDev

Definitely a good idea. Extending existing mechanism should be too hard, I totally support that idea.

RafalWilinski avatar Oct 08 '19 11:10 RafalWilinski

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

algenty avatar Oct 20 '19 09:10 algenty