Commit Graph

3983 Commits

Author SHA1 Message Date
Diptanu Choudhury
3192e318e9 Renamed CpuUsage to CpuStats 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
458b7014e4 Added a test for calculating cpu stats 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3dc28bd871 Stopping stats collection of tasks which has been destroyed 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
16f298fb95 Fixed the percentage calculation for cgroups 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3f336f46ad Added missing vendored dependencies 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
df68129e5a Added some docs 2016-05-28 19:59:03 -07:00
Diptanu Choudhury
b7158be541 Added locks to RingBuf 2016-05-28 19:59:03 -07:00
Diptanu Choudhury
98068678f1 Implemented nomad cpu percentage calculator 2016-05-28 19:59:03 -07:00
Diptanu Choudhury
0af3e7e8a1 Using humanize for showing memory 2016-05-28 19:59:03 -07:00
Diptanu Choudhury
7f016a7577 Reporting percentage usage of cpu in nomad stats 2016-05-28 19:59:03 -07:00
Diptanu Choudhury
cbe6f6a235 updating the CpuStats api 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
f693545814 Vendoring go-ps 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
30cbfe1f71 Implemented cpu stats 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
ea1370d426 Fixed implementation of the docker stats 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
9a851a11ee Added the PidStats method on the executor 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
c85b4de46a Adding a query param to return time series of stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
0fdff61d2d Implemented stats for raw_exec 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
72c60d6b99 Added some docs to resource stats endpoint 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
3f0c42cca3 Making the conversion to Stats simpler 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
1f12e90b9b Returning nil if peek is called before any value is enqueued 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
7d8196d7ea Added some documentation 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
fe8f640cc8 Collecting host stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
445b181fec Updated gopsutil 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
f390261cd0 Reporting time series of stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
eda53e3bcb Added a ringbuff datastructure 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
50250b1455 Added the nomad stats command 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
a485a38029 Added cpu stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
01e0ae7753 Added a client API to display resource usage of an allocation 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
1cae57aee9 Add the Stats api to driverhandle 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
e3f8d31b75 Merge pull request #1207 from dkerwin/docker_add_shm_size
Add support for shm_size to docker driver
2016-05-28 19:28:59 -07:00
Diptanu Choudhury
dc8ebc75da Merge pull request #1212 from kennethzfeng/master
Add reload command to systemd unit file
2016-05-28 19:27:49 -07:00
Kenneth Feng
aa244aea3f Add reload command to systemd unit file 2016-05-28 17:12:57 -04:00
Daniel Kerwin
d4dca3b02d Update to latest go-dockerclient. Fix .gitignore expression to allow
docker/pkg packages.
2016-05-28 12:01:56 +02:00
Alex Dadgar
d60d801cae changelog 2016-05-27 17:43:20 -07:00
Alex Dadgar
e06aefb5e3 Merge pull request #1210 from hashicorp/b-task-dashes
Validate that tasks don't contain slashes
2016-05-27 17:37:52 -07:00
Alex Dadgar
e416624cb2 validate that tasks don't contain slashes 2016-05-27 17:17:10 -07:00
Alex Dadgar
47979c4234 Revert "validate that tasks don't contain slashes"
This reverts commit b3025782d0.
2016-05-27 17:15:25 -07:00
Alex Dadgar
b3025782d0 validate that tasks don't contain slashes 2016-05-27 17:13:17 -07:00
Alex Dadgar
954c10d311 Merge pull request #1208 from hashicorp/b-blocked-dont-store-metrics
Blocked evals don't store TG alloc metrics
2016-05-27 11:49:27 -07:00
Alex Dadgar
f47d341c4e Blocked evals don't store TG alloc metrics 2016-05-27 11:26:14 -07:00
Daniel Kerwin
7ebefef322 Fix vendor rootPath 2016-05-27 12:45:25 +02:00
Daniel Kerwin
98b227fecf Add support for shm_size to docker driver. Required update of go-dockerclient
to more recent version (ba4298ecf4cfa216f1cce2befbf653359f62c722).
2016-05-27 12:30:04 +02:00
Alex Dadgar
7455413551 changelog 2016-05-25 11:19:27 -07:00
Alex Dadgar
094a090d16 Merge pull request #1199 from hashicorp/f-lighter-blocked-evals
Reuse blocked evaluations and handle unblock events that occurred during scheduling
2016-05-25 11:17:59 -07:00
Alex Dadgar
230b66377b address comment 2016-05-25 10:30:47 -07:00
Diptanu Choudhury
20f4042a0a Merge pull request #1204 from hashicorp/fix-server-address
Use Bind Addr as server's IP while registering with consul in the absence of other configuration.
2016-05-24 22:30:35 -07:00
Diptanu Choudhury
9d8f6d0837 Added a test for generation of the server addr 2016-05-24 21:29:13 -07:00
Alex Dadgar
bd079a2c1d test fixes and delete 2016-05-24 20:20:06 -07:00
Alex Dadgar
8456f77220 Periodically unblock failed evaluations 2016-05-24 20:10:56 -07:00
Alex Dadgar
1fc3fec1be Track unblock indexes and check evals on block to see if they missed an update while in the scheduler 2016-05-24 20:10:56 -07:00