Commit Graph

738 Commits

Author SHA1 Message Date
Alex Dadgar
ac1cfd1821 unblock the readers to add liveness when using -n 2016-07-25 11:16:01 -07:00
Alex Dadgar
4cf65d7944 Read from correct offset 2016-07-25 11:16:01 -07:00
Alex Dadgar
53f198932f Fix buffer reuse 2016-07-25 11:16:01 -07:00
Alex Dadgar
065cf0915a tests 2016-07-25 11:16:01 -07:00
Alex Dadgar
2530f7bd40 initial api and command 2016-07-25 11:16:01 -07:00
Alex Dadgar
cc0fec53f1 initial log api impl 2016-07-25 11:16:01 -07:00
Alex Dadgar
74c2a400f5 Merge pull request #1458 from nak3/plan-stdin
Support nomad plan to take jobfile from stdin
2016-07-25 11:13:09 -07:00
Kenjiro Nakayama
df302a2c59 Support nomad plan to take jobfile from stdin 2016-07-23 18:18:56 +09:00
Alex Dadgar
590e5e9e9c Merge pull request #1457 from hashicorp/f-kill-event
Add killing event and mark task as not running when killed
2016-07-22 17:33:18 -07:00
Alex Dadgar
432277a608 Merge pull request #1453 from hashicorp/d-fs-tail
Documentation for tail and the stream endpoint
2016-07-22 16:21:25 -07:00
Alex Dadgar
84cb3d0c5e validate from stdin 2016-07-22 13:48:14 -07:00
matt maier
28e5e63f03 Change circonus_broker_search_tag to circonus_broker_select_tag to match option in consul 2016-07-22 15:16:14 -04:00
matt maier
d92dd0dc5a Circonus integration for telemetry metrics 2016-07-22 12:33:10 -04:00
Alex Dadgar
3ba8cf9aac Merge pull request #1438 from nak3/show-cpu-mhz
[tiny] Output MHz to CPU resouces in alloc-status
2016-07-21 15:59:13 -07:00
Alex Dadgar
7bb0a2336a Add killing event and mark task as not running when killed 2016-07-21 15:49:54 -07:00
Alex Dadgar
509bf07d4d Docs 2016-07-21 12:33:05 -07:00
Alex Dadgar
c6968f18b7 small cleanup of run command error msg 2016-07-21 09:52:41 -07:00
Alex Dadgar
31ad5aa03c Merge pull request #1449 from nak3/fix-syslog-plugin
Return when nomad syslog command has invalid number of argument
2016-07-21 09:44:45 -07:00
Kenjiro Nakayama
a167a78ccb Return when nomad syslog command has invalid number of argument 2016-07-21 23:19:22 +09:00
Kenjiro Nakayama
9b02a7a90e Fix nomad run parse error 2016-07-21 19:41:36 +09:00
Alex Dadgar
288aea39fc InitFields to Canonicalize 2016-07-20 16:08:52 -07:00
Kenjiro Nakayama
d8cf69f627 [tiny] Output MHz to CPU resouces in alloc-status 2016-07-20 19:46:34 +09:00
Kenjiro Nakayama
cf3a2daccf [tiny] Fix an indent in init template 2016-07-20 17:41:26 +09:00
Mathias Lafeldt
acb9997ca7 Fix typos in source code 2016-07-18 16:24:46 +02:00
Alex Dadgar
e9bfabe20d Merge pull request #1420 from hashicorp/f-tail-lines
Implement tail -n
2016-07-13 15:33:34 -06:00
Alex Dadgar
a1b46b3a6d Allow following of files when cating and fix offsets 2016-07-13 15:33:17 -06:00
Diptanu Choudhury
4b214f30f5 Merge pull request #1383 from hashicorp/f-job-summary
Job Summary - Part 1
2016-07-13 13:34:27 -06:00
Alex Dadgar
991220b5c7 implement -n for tail 2016-07-13 13:26:09 -06:00
Diptanu Choudhury
42ba68a201 Removing the queued state of Job Summary and alloc desired status false 2016-07-13 13:20:46 -06:00
Alex Dadgar
25dd45c763 frames to reader 2016-07-12 17:34:32 -06:00
Alex Dadgar
19ca6e7b55 address comments 2016-07-12 17:01:33 -06:00
Alex Dadgar
ffb57ffd6f Address more comments 2016-07-12 10:45:05 -06:00
Alex Dadgar
12ae85ff0c Tests and handle conn close behavior better 2016-07-12 10:18:48 -06:00
Alex Dadgar
3cc13aeca1 initial comments 2016-07-11 10:58:18 -06:00
Alex Dadgar
65a64fb1cb StreamFramer tests 2016-07-10 13:57:20 -04:00
Alex Dadgar
4f7c5fa502 StreamFramer encapsulates the sending, heartbeating and batching behavior of frames 2016-07-10 13:57:04 -04:00
Alex Dadgar
5b7ea09a7c Only initialize watcher once, fix offsetting, implement tail non-follow 2016-07-10 13:57:04 -04:00
Alex Dadgar
3159859949 initial command implementation 2016-07-10 13:57:04 -04:00
Alex Dadgar
451d63cfa6 Set up for testing 2016-07-10 13:57:04 -04:00
Alex Dadgar
a3d82ee47f Flush and use correct buffer size 2016-07-10 13:57:04 -04:00
Alex Dadgar
2368722146 initial tail impl 2016-07-10 13:57:04 -04:00
Diptanu Choudhury
473d165c0d Using net.JoinHostPort instead of handcrafting addrs 2016-07-08 16:45:14 -07:00
Diptanu Choudhury
6cb5fd3694 Allowing ports to be overriden in check definitions 2016-07-08 14:14:25 -07:00
Alex Dadgar
5dc6d559ce Document HCL only 2016-07-01 11:51:53 -07:00
Jake Champlin
b5b7b7d16e Update failing tests 2016-06-23 11:28:17 -04:00
Diptanu Choudhury
11381b442b Merge pull request #1344 from hashicorp/b-consul-service-name
Fixed parsing of consul agent service names
2016-06-22 15:47:34 -07:00
Alex Dadgar
dddf376a04 use microsecond granularity 2016-06-22 15:20:56 -07:00
Diptanu Choudhury
b71ace9c2c Fixed parsing of consul agent service names 2016-06-22 13:52:43 -07:00
Jake Champlin
c08b15b23b Add test for reading jobfile from stdin 2016-06-21 22:59:04 -04:00
Jake Champlin
d59add55d0 Formatting updates 2016-06-21 17:35:08 -04:00