cbrinley / droned

DroneD - Application Service Framework
Apache License 2.0
2 stars 0 forks source link

unclear logic in systemstats cpu time #1

Open cbrinley opened 12 years ago

cbrinley commented 12 years ago

The systemstats service reports on CPU time metrics. These are continuous counters as a result we get something of an integral instead of a time spent in mode X during the last interval. Each interval the CPU stats should be collected and value output for the current interval not a running total.

example: currently our counters look like this: 0, 10 ,30, 50, 60 , 100.... the should look something like this: 0, 10, 20,20,10,40

where the step size is output not the total. The accumulated totals may be of value so they will be made available as an option in the config.

JustinVenus commented 12 years ago

That will be a nice enhancement.

cbrinley commented 12 years ago

initial coding done, need to QA