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

41 Commits

Author SHA1 Message Date
Shawn Smith
b0c5c02b30 agent: fix godoc typo (#34) 2017-03-08 21:06:37 -08:00
Nick K
288e543fee add remote mode support (#30) 2017-03-02 11:51:14 -08:00
Cezar Sá Espinola
c8ccacaea5 agent: prettier formatting for units printed by memstats (#28) 2017-02-17 16:06:16 -08:00
Jaana Burcu Dogan
671bd43984 gops: add Go execution trace support 2017-01-20 13:10:54 -08:00
Cezar Sá Espinola
ad978d77e6 agent: avoid truncating stacktrace if it's bigger than 64kb (#29)
Using pprof.Lookup("goroutine") instead of runtime.Stack directly
because the former already takes care of expanding the buffer used with
runtime.Stack until it's big enough for the stack.
2017-01-13 12:27:22 -08:00
Jaana Burcu Dogan
0e47ba961c rename vitals to stats 2017-01-03 01:15:13 -08:00
Jaana Burcu Dogan
664fdf9107 agent: use shorthand to write the heap profile 2017-01-03 01:06:27 -08:00
Jaana Burcu Dogan
b95fa4807e handle error if CPU profile cannot start 2017-01-03 00:56:44 -08:00
Jaana Burcu Dogan
4698eb04b6 agent: fix race between Close and listener assert 2016-12-20 12:56:40 -08:00
Jaana Burcu Dogan
108d4a8a8e agent: stat portfile only if filename exists 2016-12-20 12:48:15 -08:00
Jaana Burcu Dogan
7973d7aa4f agent: simplify options, allow only one listener 2016-12-20 12:23:05 -08:00
Cezar Sa Espinola
707d15f9b7
agent: basic tests for starting and stopping the agent 2016-12-15 23:13:44 -02:00
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
Jaana Burcu Dogan
397849b2e1 remove obsolete TODO 2016-11-26 18:38:59 -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
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
3e9327ceed agent: document that agent works via an unsecure unix socket
Fixes #3.
2016-11-11 17:05:41 -08:00
Jaana Burcu Dogan
4f1bed2a2a delete extra space 2016-11-07 17:44:13 -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
397847ad39 rename Stack signal to StackTrace 2016-11-05 23:46:11 -07:00
Jaana Burcu Dogan
cea4a3c5ef fix TODO message 2016-11-05 23:45:55 -07:00
Jaana Burcu Dogan
29b45c622d move to github.com/google, fix the build 2016-11-05 13:03:31 -07:00
Jaana Burcu Dogan
a5baba5014 move signal package one level up 2016-11-04 00:57:30 -07:00
Jaana Burcu Dogan
b73016d838 cleanup socket on shutdown 2016-11-04 00:54:41 -07:00
Jaana Burcu Dogan
6f2aecf323 report memstats rather than gcstats 2016-11-03 23:28:51 -07:00
Jaana Burcu Dogan
be93c376e4 write agent errors to stderr 2016-11-03 23:10:27 -07:00
Jaana Burcu Dogan
f9f22cc06a add -version 2016-11-03 22:53:07 -07:00
Jaana Burcu Dogan
961972758b fix license header 2016-11-03 22:43:04 -07:00
Jaana Burcu Dogan
f432c0ee43 handle commands 2016-11-03 22:32:46 -07:00
Jaana Burcu Dogan
3a0975c5cf fix gcstats output 2016-11-03 21:30:12 -07:00
Jaana Burcu Dogan
852c757979 add gc 2016-11-03 21:08:37 -07:00
Jaana Burcu Dogan
8528cf11e5 initial commit of agent 2016-11-03 20:59:53 -07:00