1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00
Commit Graph

128 Commits

Author SHA1 Message Date
Cezar Sa Espinola
ca8282f029
agent: allow starting the agent without installing a signal handler
If the application the agent is being installed on also need to run some
shutdown code during an Interrupt signal, it's important to have the
ability to prevent gops agent from calling os.Exit(). This also adds the
requirement of exposing a method to manually cleanup garbage left by the
gops agent.

To allow custom agent flags now and in the future an Agent type was
created with a public boolean field HandleSignals.
2016-12-15 23:08:52 -02:00
ferhat elmas
6302d55aaa Some drying in cmd calls (#20) 2016-11-28 10:45:02 -08:00
Jaana Burcu Dogan
3fdcb5ef7d add context to the error 2016-11-26 18:43:04 -08:00
Jaana Burcu Dogan
397849b2e1 remove obsolete TODO 2016-11-26 18:38:59 -08:00
kakilangit
edc722bd55 fix typo in README and usage (#18) 2016-11-20 13:16:04 -08:00
Alejandro Ramon Lopez del Huerto
282d5a56fb doc: improve README and update usage (#17) 2016-11-16 12:38:16 -08:00
Kean Pedersen
4480e70e5d agent: corrected spelling error on godoc 2016-11-15 10:37:56 -08:00
Jialin Wu
7a6fc281fb agent: fix time ago issue (#14) 2016-11-15 09:59:59 -08:00
Jaana Burcu Dogan
c0c78ac94f move config to internal 2016-11-14 23:07:31 -08:00
Alejandro Ramon Lopez del Huerto
982467e9e3 replace unix socket by tcp
Fixes #10.
2016-11-14 22:59:09 -08:00
Garrett Squire
4f88388a37 add runtime vitals (#9)
Fixes #5.
2016-11-14 11:07:06 -08:00
Jaana Burcu Dogan
d63e5ab6fc add godoc link 2016-11-14 00:08:34 -08:00
Jaana Burcu Dogan
0d70d8989d indicate agent running processes with * 2016-11-13 23:26:37 -08:00
Jaana Burcu Dogan
9071219631 rewrite README 2016-11-13 22:29:02 -08:00
Jaana Burcu Dogan
40f925db08 fix usage text 2016-11-13 21:59:09 -08:00
Jaana Burcu Dogan
9423f02414 introduce pprof-* subcommands 2016-11-13 21:50:30 -08:00
Jaana Burcu Dogan
564bb670d9 pass binary path to go tool pprof 2016-11-13 21:46:10 -08:00
Jaana Burcu Dogan
ba1069cb7e update the README with new memstats 2016-11-13 21:21:35 -08:00
Jaana Burcu Dogan
1c7ca3d7a5 show 'help' on usage text 2016-11-13 21:05:11 -08:00
Jaana Burcu Dogan
2a4aa38330 add TODO to symbolize profiles 2016-11-13 21:02:29 -08:00
Jaana Burcu Dogan
50ad24c982 agent: remove debug annotations from heap profile 2016-11-13 21:00:00 -08:00
Jaana Burcu Dogan
a0334e989c support cpu profile 2016-11-13 20:38:17 -08:00
Jaana Burcu Dogan
58675bffed remove Println 2016-11-13 20:07:25 -08:00
Jaana Burcu Dogan
c3bb8a5007 add experimental pprof support 2016-11-13 20:04:40 -08:00
Jaana Burcu Dogan
d53c7a7dab report units for memstats 2016-11-13 19:20:53 -08:00
Jaana Burcu Dogan
8044fcee41 Merge pull request #4 from mattn/ignore-systemprocess
ignore system process
2016-11-12 08:46:59 -08:00
Yasuhiro Matsumoto
d8ff5c67b7 ignore system process 2016-11-12 21:26:51 +09:00
Jaana Burcu Dogan
0f5d168dd7 rename files 2016-11-11 19:57:09 -08:00
Jaana Burcu Dogan
1eb00aef43 print usage if cmd=help 2016-11-11 19:55:16 -08:00
Jaana Burcu Dogan
bd36df3f95 remove unnecessary agent sym check 2016-11-11 17:26:44 -08:00
Jaana Burcu Dogan
3e9327ceed agent: document that agent works via an unsecure unix socket
Fixes #3.
2016-11-11 17:05:41 -08:00
Jaana Burcu Dogan
c15b304160 add build status 2016-11-11 15:44:07 -08:00
Jaana Burcu Dogan
fa859543ad add TODO 2016-11-11 15:41:29 -08:00
Jaana Burcu Dogan
abbbf18aa2 internal: disable goobj
Fixes #2.
2016-11-11 14:24:41 -08:00
Jaana Burcu Dogan
644b41711d add travis build 2016-11-11 13:46:23 -08:00
Jaana Burcu Dogan
5d86652de7 remove the test that required internal/testenv 2016-11-11 13:36:48 -08:00
Jaana Burcu Dogan
e18d3dd825 Merge pull request #1 from jrevillas/patch-1
Update README.md
2016-11-11 13:16:45 -08:00
Javier Revillas
182163fe68 Update README.md 2016-11-11 21:05:26 +01:00
Jaana Burcu Dogan
e10f24b4b1 add reference to the hello example 2016-11-11 11:50:47 -08:00
Jaana Burcu Dogan
d0e8d851b4 update README 2016-11-11 11:45:10 -08:00
Jaana Burcu Dogan
e9edeaff26 s/flag.Var/flag.IntVar 2016-11-07 18:04:21 -08:00
Jaana Burcu Dogan
61a4437072 signal: add package godoc 2016-11-07 18:00:52 -08:00
Jaana Burcu Dogan
4f1bed2a2a delete extra space 2016-11-07 17:44:13 -08:00
Jaana Burcu Dogan
35d68402c7 look for gops agent when filtering go processes 2016-11-07 17:38:33 -08:00
Jaana Burcu Dogan
b2dafa5046 update README 2016-11-07 17:30:53 -08:00
Jaana Burcu Dogan
4c880b8094 make flags subcommands 2016-11-07 17:29:14 -08:00
Jaana Burcu Dogan
cfcb6f4a13 Rename agent.Listen to agent.Start. 2016-11-07 13:08:04 -08:00
Jaana Burcu Dogan
f0e5971049 allow users to start the agent manually 2016-11-07 13:01:35 -08:00
Jaana Burcu Dogan
ade9a5218e diagnostics are unix-only for now 2016-11-06 00:01:48 -07:00
Jaana Burcu Dogan
acea89ce32 fix help text 2016-11-05 23:59:24 -07:00