12 Commits (fd871dc4caf1e32c660fd51a06fc5b0c432c7478)

Author SHA1 Message Date
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909) 5 years ago
R.B. Boyer 5882e21b2b
agent: tolerate more failure scenarios during service registration with central config enabled (#6472) 5 years ago
Frank Schroeder 8f145559d8
Decouple the code that executes checks from the agent 7 years ago
James Phillips 53f67c3993 Fixes API client for ScriptArgs and updates documentation. (#3589) 7 years ago
James Phillips c943b1b151 Adds a brief wait and poll period to update check status after a timeout. (#3573) 7 years ago
Kyle Havlovitz 106b8b0b33 Kill check processes after the timeout is reached (#3567) 7 years ago
Kyle Havlovitz 198ed6076d Clean up subprocess handling and make shell use optional (#3509) 7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs 7 years ago
Frank Schroeder 2123700056
agent: replace docker check 7 years ago
Grégoire Seux 940b1513a6 Correctly forward Host header in healthcheck (#3203) 8 years ago
Frank Schroeder c49a15d0f3 agent: move structs into consul/structs pkg 8 years ago
Frank Schroeder 1c75cf1af5 pkg refactor 8 years ago
Frank Schröder 825f72f5ef agent: support custom header and method for http checks (#3106) 8 years ago
Frank Schroeder 8ad66f4bea
agent: support custom check id and name 8 years ago
Frank Schroeder 3403cd4372 golint: Fix existing comments 8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else 8 years ago
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs 8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants 8 years ago
James Tancock 5151c64f54 Standardize the case of all check log messages 8 years ago
James Phillips 2f341738a1 Removes stale reference to reap lock which causes a panic. (#2490) 8 years ago
Kyle McCullough 73b281a27c Add setting to skip ssl certificate verification for HTTP checks (#1984) 8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout. 8 years ago
Sean Chittenden 63adcbd5ef
Revert "Move `structs.CheckID` to a new top-level package, `types`." 9 years ago
Sean Chittenden cbb945e76a
Move `structs.CheckID` to a new top-level package, `types`. 9 years ago
Sean Chittenden f5ab25163e
Move `structs.CheckID` to a new top-level package, `types`. 9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes. 9 years ago
Matt Shean fe4107019e add Timeout field to CheckMonitor 9 years ago
Ryan Uber 8cc16b8238 agent: limit HTTP check output to 4k 9 years ago
James Phillips 4cb16808f4 Adds default set of accept headers for HTTP checks. 9 years ago
James Phillips f46fa33278 Tweaks formatting of inline output messages. 9 years ago
James Phillips 70575002d9 Retains the last output when a TTL check times out. 9 years ago
Stefan Engstrom 525cb0abc1 add accept header */* for agent check 9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package 9 years ago
James Phillips 343838f12b Adds support for the reap lock. 9 years ago
James Phillips 95c708f65e Adds Docker checks support to client API. 9 years ago
James Phillips 3d1702969f Fixes a go vet finding. 9 years ago
Diptanu Choudhury 423f7fbcac Not adding the docker check if we couldn't create the client 9 years ago
Diptanu Choudhury f5f5ed0c79 Making sure the script is not empty if it's a docker check 9 years ago
Diptanu Choudhury b4af7f44af Updated the comment for CheckType 9 years ago
Diptanu Choudhury 4c1818eb61 Collect and truncate the output from docker exec 9 years ago
Diptanu Choudhury 809e9f5284 Extracted the logic of figuring out the shell and fixing the logic to find out if the check is a Docker check 9 years ago
Diptanu Choudhury 31cdf4fe64 Added some tests for docker check 9 years ago
Diptanu Choudhury 40f72a8323 Marking the state of a service as critical if the Docker Daemon doesn't respond while running checks 9 years ago
Diptanu Choudhury d695012e40 Adding a debug log to indicate the exit code of failed check 9 years ago
Diptanu Choudhury 83db728133 Registering the Exec with Docker Daemon everytime the check is invoked 9 years ago
Diptanu Choudhury 71ede8addb Implemented Docker health checks 9 years ago
James Phillips 088603949c Runs go fmt (sorts new go-cleanhttp imports). 9 years ago
Diptanu Choudhury 80ad971e8a Implemented Docker health checks 9 years ago
Jeff Mitchell 1e3840b044 Update cleanhttp repo location 9 years ago
Jeff Mitchell 9a5fd5424a Use cleanhttp to get rid of DefaultTransport 9 years ago