Diptanu Choudhury
b755ab9341
Changed the stats endpoints
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
b273eb82a5
Making task a flag in the stats command
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
1183037d56
Added uptime to node stats
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
aee9db02d5
Showing host resource usage stats
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
6132ccc230
Added pidstats in task resource usage struct
2016-05-28 19:59:20 -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
c85b4de46a
Adding a query param to return time series of stats
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
fe8f640cc8
Collecting host stats
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
50250b1455
Added the nomad stats command
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
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
0c0f64aaff
Merge pull request #1181 from hashicorp/f-plan-cli
...
cli: nomad plan command
2016-05-24 20:09:12 -07:00
Alex Dadgar
6dc9b7e1ac
Merge pull request #1188 from hashicorp/f-no-failed-allocs
...
Failed Allocation Metrics stored in Evaluation
2016-05-24 20:06:28 -07:00
Alex Dadgar
0a6c5ba084
meta flag test
2016-05-24 18:53:46 -07:00
Alex Dadgar
ed94128d68
output and test fix
2016-05-24 18:42:05 -07:00
Alex Dadgar
92bddbc3a5
rename SpawnedBlockedEval and simplify map safety check
2016-05-24 18:12:59 -07:00
Diptanu Choudhury
f1c96df3f3
Using the bind addr as server's IP if advertise addr and addresses.HTTP is not specified
2016-05-24 17:27:09 -07:00
Alex Dadgar
05ea2bd583
Compress HTTP API responses and have the api client utilize this
2016-05-24 10:26:53 -07:00
Alex Dadgar
4133157afb
Merge pull request #1182 from hashicorp/f-json-encoder
...
Use codegen for json marshalling
2016-05-20 14:30:25 -07:00
Alex Dadgar
9f5ab6648f
print spawned eval in monitor
2016-05-19 13:16:10 -07:00
Alex Dadgar
154875c0bc
Show task group failures in eval-monitor
2016-05-18 22:02:51 -07:00
Alex Dadgar
819eaca09e
Use codegen for json marshalling: 20% faster, 12% less bytes allocated, 85% less allocations
2016-05-18 09:45:46 -07:00
Diptanu Choudhury
6b0757c6c4
Merge pull request #1174 from hashicorp/f-config-consul-block
...
Using the auto-register flag
2016-05-18 04:16:38 +02:00
Alex Dadgar
75e8f28f8f
tests
2016-05-17 13:33:48 -07:00
Alex Dadgar
74339714b4
comments, refactor and help string
2016-05-17 13:33:48 -07:00
Alex Dadgar
4d30607bfb
Alligned properly
2016-05-17 13:33:48 -07:00
Alex Dadgar
9277a3bfea
better colors and verify help text
2016-05-17 13:33:48 -07:00
Alex Dadgar
dce120669a
verbose output
2016-05-17 13:33:48 -07:00
Alex Dadgar
764d622d9a
little better output
2016-05-17 13:33:48 -07:00
Alex Dadgar
b208da644a
initial implementation of nomad plan
2016-05-17 13:33:48 -07:00
Dara Kong
4c6c3d0b41
Fix "http_api_response_headers" config not working
...
On startup, the agent starts with either a dev or default config. Extra
config files are merged into final config.
The HTTPAPIResponseHeaders config was missing from the merge logic
therefore it would always result in empty value (regardlesss of any
config files specified).
2016-05-16 20:57:54 -07:00
Alex Dadgar
af7725432c
Merge pull request #1168 from hashicorp/f-plan-endpoint
...
Job.Plan endpoint
2016-05-16 13:15:40 -07:00
Alex Dadgar
f56bdbe03a
Switch to using the harness
2016-05-16 12:49:18 -07:00
Alex Dadgar
2b09a4c302
improve help message for fs missing input
2016-05-16 11:08:28 -07:00
Alex Dadgar
9272de88ca
Merge pull request #1150 from hashicorp/f-fs-command
...
Refactor fs subcommands into fs command
2016-05-16 11:05:29 -07:00
Jake Champlin
c1ef910f4d
Update per comments
2016-05-16 13:17:37 -04:00
Diptanu Choudhury
25273db2c1
Using the auto-register flag
2016-05-16 18:23:01 +02:00
Sean Chittenden
29be52f762
Speling police
2016-05-15 09:41:34 -07:00
Diptanu Choudhury
9c60703e52
Testing if stats is present and it is a map
2016-05-14 01:20:51 -07:00
Diptanu Choudhury
f2de4f2019
Using advertise addr for the http address
2016-05-14 01:09:05 -07:00
Diptanu Choudhury
8c5aa0fe65
Added some docs
2016-05-14 00:36:26 -07:00
Diptanu Choudhury
947c481a45
Merge branches 'master' and 'f-config-consul-block' of github.com:hashicorp/nomad into f-config-consul-block
2016-05-13 13:05:11 -07:00
Diptanu Choudhury
b2c18168a4
Making Nomad register services with consul in dev mode
2016-05-13 10:19:49 -07:00
Alex Dadgar
614a93e1e8
Plan api
2016-05-11 18:51:48 -07:00