Commit Graph

4055 Commits

Author SHA1 Message Date
Alex Dadgar
f76eabfb71 don't dequeue 2016-06-07 09:51:20 -07:00
Alex Dadgar
c1c175010a Handle errors during stats collection 2016-06-03 14:23:18 -07:00
Alex Dadgar
a5f5013e3a Merge branch 'master' of github.com:hashicorp/nomad 2016-06-03 14:14:36 -07:00
Alex Dadgar
4cbfd6e481 changelog 2016-06-03 14:14:29 -07:00
Alex Dadgar
193c04a569 Merge pull request #1231 from hashicorp/b-fsm-lock
Fix periodic dispatch and blocked evals not releasing lock
2016-06-03 14:12:58 -07:00
Alex Dadgar
38aafc0f83 Fix case in periodic dispatch and blocked evals where lock was not released 2016-06-03 13:46:57 -07:00
Alex Dadgar
455688e16d Change eval_endpoint test to not retry but block longer 2016-06-03 12:02:49 -07:00
Alex Dadgar
c84cea28cd up timeout for dequeue in test 2016-06-03 11:36:50 -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
fe28f9eb69 Merge pull request #1221 from hashicorp/b-nil-wait
fix wait result being nil and some panics in the cli
2016-05-31 16:50:38 -07:00
Alex Dadgar
1c60397f26 flaky test 2016-05-31 23:50:14 +00:00
Alex Dadgar
757bc66321 fix wait result being nil and some panics in the cli 2016-05-31 23:09:05 +00:00
Alex Dadgar
9355a78dbe Merge pull request #1220 from hashicorp/f-plan-failure-reasons
plan shows failure reasons and ordered annotations
2016-05-31 15:32:22 -07:00
Alex Dadgar
c77026f5da plan shows failure reasons and ordered annotations 2016-05-31 21:51:23 +00:00
Alex Dadgar
db41573905 Merge pull request #1209 from hashicorp/b-blocked-eval-fixes
Fix race condition in which a reblocked evaluation could be dropped
2016-05-31 13:26:58 -07:00
Alex Dadgar
593b7b7761 Comments addressed 2016-05-31 11:39:03 -07:00
Alex Dadgar
a47c81ca1f changelog 2016-05-31 18:21:08 +00:00
Alex Dadgar
aaac26f486 Merge pull request #1206 from hashicorp/f-eval-status
Introduce eval-status and deprecate eval-monitor
2016-05-31 11:19:44 -07:00
Alex Dadgar
f5398d25e2 Clean failed placement output 2016-05-31 18:18:58 +00:00
Diptanu Choudhury
fe7f05a6e7 Pushing host stats 2016-05-31 04:05:47 +02:00
Diptanu Choudhury
9496242ab1 Merge pull request #1189 from hashicorp/f-alloc-resource-usage
Client APIs for reporting resource usage of host and allocations
2016-05-30 18:20:03 -07:00
Diptanu Choudhury
f1a534874d Fixed a test 2016-05-31 01:58:32 +02:00
Diptanu Choudhury
6ef5cfc9b3 Merge pull request #1213 from hgontijo/patch-1
Update alloc.html.md
2016-05-29 07:44:49 -07:00
Henrique M. Gontijo
fdde945f28 Update alloc.html.md
Updating the Allocation documentation page.
Issue: https://github.com/hashicorp/nomad/issues/1190
2016-05-28 21:49:34 -07:00
Diptanu Choudhury
e00e203bd9 updated the docker system dependency 2016-05-28 20:12:09 -07: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
0782803543 Added a test for alloc stats api endpoint 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
4611540182 Added a test for the clients stats endpoint 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
06f8d58038 Making the cli use new apis 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
455c7591c5 Fixed the docs for the stats command 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
25be2da69c Using the api client for querying nomad client endpoints 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
78709127ba Fixed the node status cli command 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