Diptanu Choudhury
|
b8fbdb78ca
|
Using a different client for collecting stats and waiting on containers
|
2016-06-11 20:37:29 +02:00 |
|
Diptanu Choudhury
|
d1fdd27f86
|
Moving the clkspeed code to helper
|
2016-06-11 17:31:49 +02:00 |
|
Diptanu Choudhury
|
304403a2f8
|
Extracted a method for getting clock speed
|
2016-06-11 02:07:28 +02:00 |
|
Diptanu Choudhury
|
446d3f22f2
|
Pruning out pids which are no longer present
|
2016-06-11 01:40:52 +02:00 |
|
Diptanu Choudhury
|
d31034941a
|
Not reset-ing the list of pids if they don't change
|
2016-06-11 01:19:50 +02:00 |
|
Diptanu Choudhury
|
4ac1c673aa
|
Implementing the total ticks per task for the docker driver
|
2016-06-10 23:33:25 +02:00 |
|
Diptanu Choudhury
|
358cdf8f63
|
Calculating total ticks consumed in the nomad client
|
2016-06-10 23:14:33 +02:00 |
|
Diptanu Choudhury
|
c13e750a02
|
Calculating the cpu ticks in nomad client
|
2016-06-10 22:22:32 +02:00 |
|
Alex Dadgar
|
2be78d2ba8
|
fix types
|
2016-06-10 11:52:15 -07:00 |
|
Alex Dadgar
|
a8b1d31812
|
use time.Second instead of our own const
|
2016-06-10 11:38:59 -07:00 |
|
Alex Dadgar
|
693c8f9e42
|
Alloc-status only shows measured statistics and fixes to CPU calculations
|
2016-06-10 10:38:29 -07:00 |
|
Diptanu Choudhury
|
d594d95012
|
Fixed merge conflicts
|
2016-06-10 04:47:34 +01:00 |
|
Diptanu Choudhury
|
06e90cb6c0
|
Using named variables
|
2016-06-10 04:45:16 +01:00 |
|
Diptanu Choudhury
|
8d52390aca
|
Fixed calculation of cpu usage percent in user and sys mode for pids
|
2016-06-10 04:06:32 +01:00 |
|
Alex Dadgar
|
17af581d93
|
Annotate what is measured
|
2016-06-09 19:45:41 -07:00 |
|
Alex Dadgar
|
cd36c4a7a3
|
fix channel being nil on restore
|
2016-06-07 15:03:08 -07:00 |
|
Diptanu Choudhury
|
3932eb8c7b
|
Fixed the svc id generation scheme while pruning services
|
2016-06-07 08:14:11 -07:00 |
|
Diptanu Choudhury
|
8c931a12ee
|
Returning an error if stats collection hasn't started yet for a new docker container
|
2016-06-06 18:52:54 -07:00 |
|
Diptanu Choudhury
|
1e2ebced8d
|
Getting inodes used percent back
|
2016-06-06 16:10:34 -07:00 |
|
Diptanu Choudhury
|
6f54b4aa02
|
Removing inode percent since it doesn't work in some cases
|
2016-06-06 16:10:34 -07:00 |
|
Alex Dadgar
|
c1c175010a
|
Handle errors during stats collection
|
2016-06-03 14:23:18 -07:00 |
|
Diptanu Choudhury
|
19b3411604
|
Merge pull request #1226 from hashicorp/f-push-stats
Push Resource Usage stats to remote sinks
|
2016-06-02 23:14:59 +02:00 |
|
Diptanu Choudhury
|
63dd00a2f3
|
Enqueing metrics only if they are not nil
|
2016-06-02 17:14:15 -04:00 |
|
Diptanu Choudhury
|
a9f02036c7
|
Sending metrics for tasks as well
|
2016-06-01 16:42:16 +02:00 |
|
Alex Dadgar
|
757bc66321
|
fix wait result being nil and some panics in the cli
|
2016-05-31 23:09:05 +00:00 |
|
Diptanu Choudhury
|
fe7f05a6e7
|
Pushing host stats
|
2016-05-31 04:05:47 +02:00 |
|
Diptanu Choudhury
|
c760d5910f
|
Renamed error message in alloc endpoint
|
2016-05-28 20:03:52 -07:00 |
|
Diptanu Choudhury
|
951b5532fd
|
Added a test to make sure task runner is collecting stats
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
993675dd4e
|
Added a test for docker
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
15e79c3783
|
Changing the api of the stats endpoints
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
68ec1f37ad
|
Implemented the resource usage ts since a time
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
0b868e07cb
|
Initializing the ring buffer with no cells
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
2571ea61bb
|
Initializing the ring buffer with no cells
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
f16191c297
|
comments
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
f765e82a11
|
Stopping the metrics collector timers using defer and starting to collect host stats right away
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
03c9d94a2b
|
Making the call to Stats on a go-routine
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
b51b08b39e
|
Added a test to validate we are collecting stats
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
1c635ead2d
|
Fixing the alloc runner tests
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
c99733e8c7
|
Fixed the compilation on linux
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
71d3361f79
|
creating the host cpu percent calculator lazily
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
2c5233814a
|
simplified the stats method in basic executor
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
f59ad3da53
|
Fixed the logic of scanpids
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
3a8b15242f
|
Added comments
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
73f05942f2
|
Refactored the api for NewHostStatsCollector
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
31af4e0ac4
|
Changed signature of Allocation Stats Reporter
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
3a2cce2419
|
Simplified the docker stats collection
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
584c1e34fb
|
Incorporated review comments for executor
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
bf6c034fec
|
Making the stats collection interval and number of data points to keep in memory configurable
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
cf8861e3e6
|
Renamed monitorUsage method
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
95a3ca8524
|
Changed the signature of ResourceUsageTS
|
2016-05-28 19:59:20 -07:00 |
|