Commit Graph

805 Commits (ef1f6f8c0f36d1ca5c2ac3e925a0b9f356fff294)

Author SHA1 Message Date
Philippe M. Chiasson 21345a8a7f Move logged client IP to the end of the log message
9 years ago
Philippe M. Chiasson 34c36d9205 Merge branch 'master' of http://github.com/hashicorp/consul into issue/1447/http-access-logs
9 years ago
Ryan Uber 87c1283b73 agent: update assetfs output
9 years ago
Ryan Uber 3cf6a173a5 agent: static UI is configurable
9 years ago
Ryan Uber 2d7ced22b3 agent: initial web assets
9 years ago
Ryan Uber c3e7c98da2 agent: compile web assets into consul binary
9 years ago
Philippe M. Chiasson 9553ac0ca8 Merge branch 'master' of http://github.com/hashicorp/consul into issue/1447/http-access-logs
9 years ago
James Phillips d61661a98f Adds a Bool helper function.
9 years ago
James Phillips e80d1a58fb Moves logger down where it's used for reaping.
9 years ago
James Phillips 0b1c346990 Changes sense of option to "reap" and uses nil for "not set".
9 years ago
James Phillips 2b257c922e Adds child process reaping when Consul is running as PID 1.
9 years ago
James Phillips 651f255b9b Converts the DNS metric to a gauge which gives us a count and a time.
9 years ago
James Phillips a4dc11167f Adds telemetry on number of DNS queries served, per-agent.
9 years ago
WangFenjin 29c0516d58 Fix typo
9 years ago
James Phillips a61d89d0e6 Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+.
9 years ago
Philippe M. Chiasson 65512cae73 Add client ip to http access logs
9 years ago
James Phillips 95c708f65e Adds Docker checks support to client API.
9 years ago
James Phillips 049da2cef2 Breaks up huge HTTP endpoint functions.
9 years ago
James Phillips cd6be4a88d Avoids taking the length again when parsing DNS queries.
9 years ago
James Phillips e1ce1a34b0 Moves conversion of nil slices up to HTTP layer for prepared queries.
9 years ago
James Phillips 4715c04c98 Adds a test to make sure a stale retry terminates.
9 years ago
James Phillips 67fd4fa78d Returns a 404 from a get or execute of a nonexistent query.
9 years ago
James Phillips e9480ecb02 Plumbs the service name back and uses agent-specific TTL settings as a fallback.
9 years ago
James Phillips 81b43135f9 Adds unit tests for prepared queries and DNS, using existing tests for equivalence.
9 years ago
James Phillips 4a0a60af55 Adds DNS support for prepared queries (needs tests).
9 years ago
James Phillips 5e7523ea4b Adds a slightly more flexible mock system so we can test DNS.
9 years ago
James Phillips da20e6668b Adds a note about obfuscating query name/ID from the logs.
9 years ago
James Phillips 57be55103c Adds an HTTP endpoint for prepared queries.
9 years ago
James Phillips 989619cb6b Moves DNS over to new shuffle and filter functions.
9 years ago
James Phillips c248b0017a Fixes nil slices from HTTP endpoints.
9 years ago
James Phillips 8defe75387 Merge pull request #1293 from talwai/master
9 years ago
talwai f6f2e19c6c Kill unused import in command.go
9 years ago
James Phillips 98731f7272 Fixes unit test fail due to expected truncated message.
9 years ago
talwai bc12c5e711 Add DogStatsd configuration
9 years ago
James Phillips 3d1702969f Fixes a go vet finding.
9 years ago
James Phillips d06fc28a0a Prevents agents from considering Raft information when doing sync checks.
9 years ago
James Phillips c0bd639662 Makes the version upshift code look at the correct version field.
9 years ago
Diptanu Choudhury ab7ab8e58e Merge pull request #1343 from hashicorp/f-docker-check
9 years ago
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