-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nomad Monitor #6499
Nomad Monitor #6499
Commits on Nov 5, 2019
-
Update gziphandler to latest version
This version of gziphandler includes a fix that fixes GzipResponseWriter to implement CloseNotifier nytimes/gziphandler#63
Configuration menu - View commit details
-
Copy full SHA for 5e03fec - Browse repository at this point
Copy the full SHA 5e03fecView commit details -
AgentMonitor is an endpoint to stream logs for a given agent. It allows callers to pass in a supplied log level, which may be different than the agents config allowing for temporary debugging with lower log levels. Pass in logWriter when setting up Agent
Configuration menu - View commit details
-
Copy full SHA for 91c0184 - Browse repository at this point
Copy the full SHA 91c0184View commit details -
Add Agent Monitor to receive streaming logs
Queries /v1/agent/monitor and receives streaming logs from client
Configuration menu - View commit details
-
Copy full SHA for dc32864 - Browse repository at this point
Copy the full SHA dc32864View commit details -
Adds nomad monitor command. Like consul monitor, this command allows you to stream logs from a nomad agent in real time with a a specified log level add endpoint tests Upgrade go-hclog to latest version The current version of go-hclog pads log prefixes to equal lengths so info becomes [INFO ] and debug becomes [DEBUG]. This breaks hashicorp/logutils/level.go Check function. Upgrading to the latest version removes this padding and fixes log filtering that uses logutils Check
Configuration menu - View commit details
-
Copy full SHA for 74cfdf5 - Browse repository at this point
Copy the full SHA 74cfdf5View commit details -
Display error when remote side ended monitor
multisink logger remove usage of logwriter
Configuration menu - View commit details
-
Copy full SHA for a828c92 - Browse repository at this point
Copy the full SHA a828c92View commit details -
prefix output with proper spacing update gzip handler, adjust first byte flow to allow gzip handler bypass wip, first stab at wiring up rpc endpoint
Configuration menu - View commit details
-
Copy full SHA for 1281997 - Browse repository at this point
Copy the full SHA 1281997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 890b8a4 - Browse repository at this point
Copy the full SHA 890b8a4View commit details -
New monitor pkg for shared monitor functionality
Adds new package that can be used by client and server RPC endpoints to facilitate monitoring based off of a logger clean up old code small comment about write rm old comment about minsize rename to Monitor Removes connection logic from monitor command Keep connection logic in endpoints, use a channel to send results from monitoring use new multisink logger and interfaces small test for dropped messages update go-hclogger and update sink/intercept logger interfaces
Configuration menu - View commit details
-
Copy full SHA for 8095b48 - Browse repository at this point
Copy the full SHA 8095b48View commit details -
Configuration menu - View commit details
-
Copy full SHA for e758930 - Browse repository at this point
Copy the full SHA e758930View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2362008 - Browse repository at this point
Copy the full SHA 2362008View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0082f - Browse repository at this point
Copy the full SHA 3c0082fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 735530c - Browse repository at this point
Copy the full SHA 735530cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd60628 - Browse repository at this point
Copy the full SHA cd60628View commit details -
only look up rpchandler for node if we have nodeid
fix some comments and nomad monitor -h output
Configuration menu - View commit details
-
Copy full SHA for c8d60dd - Browse repository at this point
Copy the full SHA c8d60ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92d6a30 - Browse repository at this point
Copy the full SHA 92d6a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb606a - Browse repository at this point
Copy the full SHA 9bb606aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a72bd5c - Browse repository at this point
Copy the full SHA a72bd5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1176fc0 - Browse repository at this point
Copy the full SHA 1176fc0View commit details -
rename function, initialize log level better
underscores instead of dashes for query params
Configuration menu - View commit details
-
Copy full SHA for 6bf8617 - Browse repository at this point
Copy the full SHA 6bf8617View commit details -
return 400 if invalid log_json param is given
Addresses feedback around monitor implementation subselect on stopCh to prevent blocking forever. Set up a separate goroutine to check every 3 seconds for dropped messages. rename returned ch to avoid confusion
Configuration menu - View commit details
-
Copy full SHA for 873969c - Browse repository at this point
Copy the full SHA 873969cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58117c0 - Browse repository at this point
Copy the full SHA 58117c0View commit details -
rm redundant lock wip to use framing wip switch to stream frames
Configuration menu - View commit details
-
Copy full SHA for f8eaf1f - Browse repository at this point
Copy the full SHA f8eaf1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a96c10 - Browse repository at this point
Copy the full SHA 9a96c10View commit details -
rm extra new line fix lint errors return after close fix, simplify test
Configuration menu - View commit details
-
Copy full SHA for f74bd99 - Browse repository at this point
Copy the full SHA f74bd99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8423ccf - Browse repository at this point
Copy the full SHA 8423ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 676800f - Browse repository at this point
Copy the full SHA 676800fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc977dc - Browse repository at this point
Copy the full SHA dc977dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f618eb - Browse repository at this point
Copy the full SHA 4f618ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb2a7f4 - Browse repository at this point
Copy the full SHA bb2a7f4View commit details -
fix typo command/agent/monitor/monitor.go Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com> Update command/agent/monitor/monitor.go Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com> address feedback, lock to prevent send on closed channel fix lock/unlock for dropped messages
Configuration menu - View commit details
-
Copy full SHA for 33ba36a - Browse repository at this point
Copy the full SHA 33ba36aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79411c5 - Browse repository at this point
Copy the full SHA 79411c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1585179 - Browse repository at this point
Copy the full SHA 1585179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ccb770 - Browse repository at this point
Copy the full SHA 8ccb770View commit details -
unlock before returning, no need for label
comment, trigger build return length written
Configuration menu - View commit details
-
Copy full SHA for 03f0aff - Browse repository at this point
Copy the full SHA 03f0affView commit details