Commit Graph

61 Commits (970bb771f9563b1af5ebab0e8a03b9f86e93f1cd)

Author SHA1 Message Date
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 6e2c106006 Merge pull request #1819 from hashicorp/f-check-accept
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
Jeff Mitchell 1e3840b044 Update cleanhttp repo location
9 years ago
Jeff Mitchell 9a5fd5424a Use cleanhttp to get rid of DefaultTransport
9 years ago
Peter Fern b023904298 Add TCP check type
9 years ago
Ryan Uber 7597d3d798 agent: first stab at persisting check state
10 years ago
Anton Lindström ce93fdd76b Set the User Agent for HTTP health checks
10 years ago
Armon Dadgar 8d86290ebf Fixing merge conflict
10 years ago
Ryan Uber 92add18e1e agent: persist tokens from API registrations
10 years ago
Ryan Mills 275af975e8 Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
10 years ago
Ryan Uber 952ec284a4 agent: disable HTTP keepalives for checks
10 years ago
artushin 2ae843d51c oops. DefaultTransport being used.
10 years ago
artushin 5ec92971ac close idle connections after stopping http checks to service
10 years ago
arnaud briche e87afe341b - add Timeout field to CheckType and CheckHTTP to make http request timeout configurable by the client
10 years ago
Ryan Uber 674be58e55 agent: support multiple checks per service
10 years ago
Armon Dadgar 96c7ce120e command/agent: Minor cleanups
10 years ago
Nicholas Capo 98eb935392 command/agent: HTTP Check: Create httpClient in Start()
10 years ago
Nicholas Capo bcb983edbe command/agent: HTTP Check: Include response in check status
10 years ago
Nicholas Capo 6a2d763d5c command/agent: HTTP check: Any 2xx is OK, 429 is WARNING
10 years ago
Nicholas Capo fb5ba8d97d command/agent: Add simple HTTP check type
10 years ago
Ryan Breen f2bd641402 Clean up log line and reduce test time.
10 years ago
Ryan Breen 2e58f54a26 Well, that sure is cleaner.
10 years ago
Ryan Breen 60dacecb39 Add a randomized start before running CheckMonitors.
10 years ago
Ryan Uber dd4fadfc9e agent: persist CheckType with health checks
10 years ago
Ryan Uber df5859580f agent: pass notes field through for checks inside of service definitions. Fixes #449
10 years ago