Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Stats #129

Open
InventivetalentDev opened this issue Sep 8, 2019 · 4 comments
Open

Custom Stats #129

InventivetalentDev opened this issue Sep 8, 2019 · 4 comments

Comments

@InventivetalentDev
Copy link

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

@YasharF
Copy link
Contributor

YasharF commented Oct 4, 2019

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

@InventivetalentDev
Copy link
Author

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.

@RafalWilinski
Copy link
Owner

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

@algenty
Copy link

algenty commented Oct 20, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants