Sean Chittenden
|
e36686a17d
|
Use consul/lib's RandomStagger
Removes four redundant copies of the method in the process.
|
2016-06-10 15:48:36 -04:00 |
|
Alex Dadgar
|
26c9110e82
|
fix types
|
2016-06-10 11:52:15 -07:00 |
|
Alex Dadgar
|
a3d41f2312
|
use time.Second instead of our own const
|
2016-06-10 11:38:59 -07:00 |
|
Alex Dadgar
|
3cf74e7fd8
|
Alloc-status only shows measured statistics and fixes to CPU calculations
|
2016-06-10 10:38:29 -07:00 |
|
Diptanu Choudhury
|
287e0eff22
|
Fixed merge conflicts
|
2016-06-10 04:47:34 +01:00 |
|
Diptanu Choudhury
|
a69307cff2
|
Using named variables
|
2016-06-10 04:45:16 +01:00 |
|
Diptanu Choudhury
|
9056be6d86
|
Fixed calculation of cpu usage percent in user and sys mode for pids
|
2016-06-10 04:06:32 +01:00 |
|
Alex Dadgar
|
98d7547014
|
Annotate what is measured
|
2016-06-09 19:45:41 -07:00 |
|
Alex Dadgar
|
b7e3a45fef
|
fix channel being nil on restore
|
2016-06-07 15:03:08 -07:00 |
|
Diptanu Choudhury
|
6bf38bb213
|
Fixed the svc id generation scheme while pruning services
|
2016-06-07 08:14:11 -07:00 |
|
Diptanu Choudhury
|
4027ff56f0
|
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
|
c21d606ebb
|
Getting inodes used percent back
|
2016-06-06 16:10:34 -07:00 |
|
Diptanu Choudhury
|
d928d02d85
|
Removing inode percent since it doesn't work in some cases
|
2016-06-06 16:10:34 -07:00 |
|
Alex Dadgar
|
ba1a92eb8c
|
Handle errors during stats collection
|
2016-06-03 14:23:18 -07:00 |
|
Diptanu Choudhury
|
667b478f3f
|
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
|
35e31c1b81
|
Enqueing metrics only if they are not nil
|
2016-06-02 17:14:15 -04:00 |
|
Diptanu Choudhury
|
7efde782fa
|
Sending metrics for tasks as well
|
2016-06-01 16:42:16 +02:00 |
|
Alex Dadgar
|
4e15611339
|
fix wait result being nil and some panics in the cli
|
2016-05-31 23:09:05 +00:00 |
|
Diptanu Choudhury
|
7f172f314f
|
Pushing host stats
|
2016-05-31 04:05:47 +02:00 |
|
Diptanu Choudhury
|
f95b1d00c3
|
Renamed error message in alloc endpoint
|
2016-05-28 20:03:52 -07:00 |
|
Diptanu Choudhury
|
ae87177eed
|
Added a test to make sure task runner is collecting stats
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
11d1dd113b
|
Added a test for docker
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
c0dc6cfbf2
|
Changing the api of the stats endpoints
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
fa9b0dd7e8
|
Implemented the resource usage ts since a time
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
02ceb6c697
|
Initializing the ring buffer with no cells
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
77ac2dd624
|
Initializing the ring buffer with no cells
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
a0c279f3b2
|
comments
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
4c85f02072
|
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
|
40e60ce920
|
Making the call to Stats on a go-routine
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
c8f5527158
|
Added a test to validate we are collecting stats
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
b2e8495971
|
Fixing the alloc runner tests
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
a64062d6a6
|
Fixed the compilation on linux
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
2b37f08d49
|
creating the host cpu percent calculator lazily
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
2ff43788a0
|
simplified the stats method in basic executor
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
097bab52a9
|
Fixed the logic of scanpids
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
f93820f40c
|
Added comments
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
c2da19bf11
|
Refactored the api for NewHostStatsCollector
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
0b0d0764e4
|
Changed signature of Allocation Stats Reporter
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
75c7f84490
|
Simplified the docker stats collection
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
98016ec066
|
Incorporated review comments for executor
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
c46400597e
|
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
|
b6e5227e7a
|
Renamed monitorUsage method
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
d2021e2953
|
Changed the signature of ResourceUsageTS
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
666b419dba
|
Acquiring locks before iterating allocations and tasks
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
05c221186b
|
Added disk usage to node status
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
cf247c1309
|
Added uptime to node stats
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
73fa700a88
|
Showing host resource usage stats
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
313c61b9db
|
Added pidstats in task resource usage struct
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
cfd3016747
|
Renamed CpuUsage to CpuStats
|
2016-05-28 19:59:20 -07:00 |
|
Diptanu Choudhury
|
77357ccf80
|
Added a test for calculating cpu stats
|
2016-05-28 19:59:20 -07:00 |
|