Commit Graph

43 Commits

Author SHA1 Message Date
Christian Winther
43a11000b0 initial work on datadog telemetry 2016-10-15 10:49:33 +02:00
Alex Dadgar
9ff2bf0bff Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
Diptanu Choudhury
5e1fdd9784 Added a test 2016-08-31 11:46:51 -07:00
Alex Dadgar
2eed545daa Address field name feedback 2016-08-17 16:23:29 -07:00
Alex Dadgar
2c1fd77dfd Change token/role names 2016-08-17 16:23:29 -07:00
Alex Dadgar
f7f86941a3 change config variable names to match vault 2016-08-17 16:23:29 -07:00
Alex Dadgar
9ab0de1877 Parse Vault Config 2016-08-17 16:23:29 -07:00
Kenjiro Nakayama
fbb2d5cd5d Return error when client failed to collect host stats 2016-08-11 09:38:28 +09:00
Jay Oster
95c1d76544 Fix ConfigMerge test with chroot config 2016-08-08 18:59:18 -07:00
matt maier
d92dd0dc5a Circonus integration for telemetry metrics 2016-07-22 12:33:10 -04: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
17d021e912 Get rid of individual network resources 2016-03-11 19:02:44 -08:00
Alex Dadgar
5f53f7382a Custom parsing of Nomad config with validation + Reserved resources block (not used yet) 2016-03-11 18:24:58 -08:00
Alex Dadgar
6fabf95e65 fix test 2016-03-06 18:41:33 -08:00
Alex Dadgar
88c590dede agent: Configurable heartbeat 2016-03-04 15:44:12 -08:00
Diptanu Choudhury
8b2f94ff6f Added a test for merge 2016-02-08 16:27:31 -08:00
Diptanu Choudhury
6c32119ee7 Allow users to configure arbitrary headers in config 2016-01-22 11:00:43 -08:00
Ivo Verberk
ab9409184a Shorten CLI identifiers
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Chris Hines
cacd8a78b3 Use minimum OS specific path.
This change ensures LoadConfig and LoadConfigDir report consistent paths to files and those paths use the appropriate path separator for the target OS. Note that LoadConfigDir constructs paths with filepath.Join, which calls filepath.Clean, which calls filepath.FromSlash.
2015-12-14 14:59:19 -05:00
Chris Bednarski
67eb18d9aa Use filepath.FromSlash so the test uses platform-specific path separators 2015-12-10 12:22:41 -08:00
Alex Dadgar
2e3fd73487 Merge pull request #527 from asteris-llc/master
Add cluster join command line options and configuration options
2015-12-09 13:14:00 -08:00
Chris Bednarski
dc23448c47 Merge pull request #536 from hashicorp/f-log-config-files
Log the list of config files loaded when starting the nomad agent
2015-12-09 12:18:46 -08:00
Chris Bednarski
015a15609b Add test to verify order 2015-12-04 17:12:47 -08:00
Chris Bednarski
55f00adaa2 Rename ConfigFiles field to Files so there's less stutter when used as config.Files 2015-12-04 16:59:04 -08:00
Chris Bednarski
1a0999bb9a Log the list of config files loaded when starting the nomad agent 2015-12-04 16:52:17 -08:00
Chris Aubuchon
fd3765fe3e Restore AtlasConfig 2015-12-02 18:40:30 -06:00
Chris Aubuchon
0d0fe0a408 Add cluster join command line options and configuration options 2015-12-02 13:55:29 -06:00
Chris Hines
38ede674bd Do not leak listeners in test. 2015-12-02 13:59:27 -05:00
Ryan Uber
3ddc16010d agent: apply merges for atlas config 2015-11-30 15:21:50 -08:00
Mitchell Hashimoto
0f37f829a3 command/agent: use new HCL API 2015-11-09 11:49:27 -08:00
Gregory Man
21879e22e0 Added node_gc_threshold configuration option
Close #333
2015-10-29 15:58:21 +02:00
Alex Dadgar
d8f3bd26e6 Merges 2015-10-02 17:32:11 -07:00
Ryan Uber
222abf114e agent: test options config 2015-10-02 17:02:32 -07:00
Ryan Uber
61f4e638b8 agent: return empty config for empty config dirs 2015-09-29 15:07:52 -07:00
Ryan Uber
fbbe4a4973 agent: remove explicit Bootstrap option in favor of BootstrapExpect 2015-09-22 14:41:49 -07:00
Armon Dadgar
7e8d48f7ba agent: test config parsing 2015-09-22 11:29:58 -07:00
Armon Dadgar
c9d17611bf nomad: rename region1 to global. Fixes #41 2015-09-13 18:18:40 -07:00
Ryan Uber
276165344d agent: test listener from config 2015-09-11 11:10:55 -07:00
Ryan Uber
61b5f0413e agent: adjust tests 2015-09-10 19:04:06 -07:00
Ryan Uber
e9811c55dd agent: merge telemetry, server, and client configs 2015-09-10 11:25:19 -07:00
Ryan Uber
906c76bb54 agent: config loading tests 2015-09-09 22:11:48 -07:00
Ryan Uber
0d4e22978f agent: config merge works + tests 2015-09-09 21:42:50 -07:00