Commit Graph

92 Commits

Author SHA1 Message Date
Diptanu Choudhury
1e2ebced8d Getting inodes used percent back 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
c760d5910f Renamed error message in alloc endpoint 2016-05-28 20:03:52 -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
2571ea61bb Initializing the ring buffer with no cells 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
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
95a3ca8524 Changed the signature of ResourceUsageTS 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
4491c2b0e8 Added disk usage to node status 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
3f0c42cca3 Making the conversion to Stats simpler 2016-05-28 19:42:34 -07:00
Diptanu Choudhury
7d8196d7ea Added some documentation 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
01e0ae7753 Added a client API to display resource usage of an allocation 2016-05-28 19:42:34 -07:00
Alex Dadgar
b734173270 pass a copy of the task to the task environment 2016-05-05 22:01:17 -07:00
Alex Dadgar
2b505c6289 createDriver expects task environment 2016-04-13 14:24:08 -07:00
Alex Dadgar
6bf2b21ddb interpet the artifact source 2016-04-11 18:46:16 -07:00
Alex Dadgar
2036e96f51 ArtifactDownloaded in task runner state 2016-03-28 17:24:10 -07:00
Alex Dadgar
ff6028bd56 Test task failure killing TG and fix setting the task as received on a restore 2016-03-25 12:51:40 -07:00
Alex Dadgar
73419c2691 kill tasks in alloc when one fails 2016-03-25 12:50:25 -07:00
Alex Dadgar
6e779b863e Explain restart decision and display in alloc-status 2016-03-25 12:47:14 -07:00
Alex Dadgar
cd89a97529 Operator specifiable blacklist for task's using certain users 2016-03-24 10:55:14 -07:00
Diptanu Choudhury
ba12ba2127 Merge pull request #972 from hashicorp/scripts
Moving consul service to executor
2016-03-24 00:12:45 -07:00
Diptanu Choudhury
9a71225b9e Removing references to old consul services and adding consul config to executor context 2016-03-23 12:19:19 -07:00
Alex Dadgar
a9e8857d04 Show error when artifact validation fails in task runner 2016-03-22 16:09:41 -07:00
Alex Dadgar
55509e9f1b Validate the artifact client side as well 2016-03-19 13:28:37 -07:00
Alex Dadgar
dc6531cee7 Test task runner downloading artifacts 2016-03-15 14:34:25 -07:00
Alex Dadgar
4c1be8e637 Get tests to pass 2016-03-15 13:28:57 -07:00
Alex Dadgar
bdc7fdebe1 Download artifacts and remove old code for drivers 2016-03-15 13:28:57 -07:00
Alex Dadgar
76856961af Killing a docker container that is dead is not an error 2016-03-02 16:27:01 -08:00
Alex Dadgar
e0b1d7a963 Add Alloc ID/Name and Task Name to environment variables 2016-03-01 16:08:21 -08:00
Alex Dadgar
343fddb403 Acquire lock around handle 2016-02-29 10:45:08 -08:00
Alex Dadgar
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
Diptanu Choudhury
7f8f6712c5 Adding version information to snapshots 2016-02-24 19:06:30 -08:00
Alex Dadgar
6d927a7525 Make updating alloc status async 2016-02-19 21:44:23 -08:00
Alex Dadgar
eb76d6d623 Client stores when it receives a task 2016-02-19 14:49:43 -08:00
Alex Dadgar
f1c80afcf3 Killing a driver handle is retried with an exponential backoff 2016-02-16 21:00:49 -08:00
Alex Dadgar
c3a2bf267a go vet 2016-02-12 16:08:58 -08:00
Alex Dadgar
48de53aed1 Strip as much copystructure as possible 2016-02-10 17:54:43 -08:00
Alex Dadgar
5b3792a509 safe but slow 2016-02-10 13:44:53 -08:00
Alex Dadgar
e8f88d332a Precise registration 2016-02-06 17:08:20 -08:00
Alex Dadgar
b290b8ef79 Update the consul service when the task/alloc changes 2016-02-06 17:08:20 -08:00
Alex Dadgar
03aca9887b Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Alex Dadgar
5d297a446f Move restart tracker creation into task runner 2016-02-03 16:16:48 -08:00
Alex Dadgar
019883c5b1 Clean interaction between alloc-runner and task-runner 2016-02-02 11:09:29 -08:00