Commit Graph

3027 Commits (3d68d06ac70cddb3521f912a5c06fb3e4f10c47f)
 

Author SHA1 Message Date
Diptanu Choudhury 3d68d06ac7 Forcing the Env variable to empty while testing the default shell logic
9 years ago
Diptanu Choudhury 2fdcf1ae28 Added a test for selecting shell from env
9 years ago
Diptanu Choudhury 471442e9a4 Making an explicit check to test whether a check is of type Monitor
9 years ago
Diptanu Choudhury 1e240b5c59 Fixed the tests
9 years ago
Diptanu Choudhury f0c783d1a8 Added a test to check if we are properly truncating docker exec outputs
9 years ago
Diptanu Choudhury 582786523a Added a test for exit code 1 with docker exec
9 years ago
Diptanu Choudhury 9efbd1affa Fixed the Fake Docker client to simulate Exec start failures
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 5f8f531d2a Defaulting to Monitor check
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 2632bb3279 Fixed merge conflicts
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 13ef4836f2 Merge pull request #1339 from hashicorp/b-1334
9 years ago
James Phillips 4c8cee0076 Revert "Fixed Header background"
9 years ago
James Phillips 088603949c Runs go fmt (sorts new go-cleanhttp imports).
9 years ago
James Phillips 798d49c388 Merge pull request #1331 from slackpad/f-network-tomography
9 years ago
James Phillips ecd3a1d1d2 Completes rebase of network coordinates to new memdb.
9 years ago
James Phillips cef9402ab9 Updates docs for network coordinates.
9 years ago
James Phillips de01f96d38 Fixes configs now that Serf always caches coordinates.
9 years ago
James Phillips 439110f384 Gives RTT class a more Go-like name.
9 years ago
James Phillips 99cfbb8a47 Defaults second node to agent if not given. Removes -short option and tweaks output formatting.
9 years ago
James Phillips 88845f7d71 Cleans up after code review, adds a -short option to "consul rtt" command.
9 years ago
James Phillips fb8900156a Adds a "consul rtt" command.
9 years ago
James Phillips 787f946f8d Adds support for coordinates to client API.
9 years ago
James Phillips 660da92152 Makes the default protocol 2 and lets 3 interoperate with 2.
9 years ago
James Phillips 80d5a3029f Zeroes out the height when testing exact distances.
9 years ago
James Phillips 384d99677d Cleans up after latest rebase.
9 years ago
James Phillips e21b450f69 Runs go fmt after latest rebase.
9 years ago
James Phillips e8322ffe00 Adds a test for the `DisableCoordinate` config.
9 years ago
James Phillips f9da231a1c Adds coordinate of agent to self endpoint.
9 years ago
James Phillips 6289764ea2 Moves sorting up into coordinate endpoint HTTP handlers.
9 years ago
James Phillips d45fc23abf Installs a friendly handler for coordinate endpoints when coordinates are disabled.
9 years ago
James Phillips ce0e9759f8 Fixes config merge fn for disabling coordinates and adds it to JSON.
9 years ago
James Phillips 33e3505aea Adds endpoints for raw network coordinates.
9 years ago
James Phillips 843613143b Fixes bad name for DC forwarding of Coordinate.Get.
9 years ago
James Phillips 9c9195746f Changes ?near=self to a safer ?near=_agent, which is also clearer about what it does.
9 years ago
James Phillips 9caa5b3653 Adds distance sorting to health endpoint. Cleans up unit tests.
9 years ago
James Phillips 497f6782af Switches to the median over all DC nodes with known coordinates.
9 years ago
James Phillips e47eea3f3a Adds a magic "self" node name to distance queries.
9 years ago
James Phillips 6d845c7d0d Adds explicit check for empty node in source parameter.
9 years ago
James Phillips 78b2c2d7ac Moves disable checks down into the sort routine.
9 years ago
James Phillips 54ef97b268 Adds tests for HTTP interface. Removes a stray mark.
9 years ago
James Phillips 36c78f5042 Adds sort of DCs in catalog queries based on RTT. Cleans up.
9 years ago