JBD
61651220bb
README: godoc should link to the top-level package ( #53 )
2017-09-18 19:21:51 -06:00
Rene Zbinden
6865b1eab5
keep trace and profile files when go tool chain is not available ( #52 )
2017-09-15 15:03:29 -07:00
Pavlos Ratis
f6c95cf224
Update gops snippets to match the new output ( #50 )
...
* update README snippets to reflect the new output
Updated the sample output in the README to match the
properly tabulated output when actually running the program.
2017-09-13 16:09:42 -06:00
JBD
1a41b817e5
agent: don't close on interrupt by default ( #49 )
2017-09-11 19:50:16 -07:00
JBD
d38055cdcb
internal, vendor: remove unused code ( #48 )
...
internal object packages are no longer required
given gops depends on rsc.io/goversion/version now.
Also running dep prune to remove the packages
gops doesn't depend from the vendor directory.
2017-09-06 12:15:36 -06:00
Jaana Burcu Dogan
57e77c5c37
agent indicator should be postfix
2017-09-04 23:05:17 -07:00
Jaana Burcu Dogan
a1c72eeaa8
shorthen devel build version string
2017-09-04 20:08:19 -07:00
Jaana Burcu Dogan
f0a29dc244
add PPID to the output
2017-09-04 18:49:17 -07:00
Jaana Burcu Dogan
08cb2394b4
vendor: dep ensure again
2017-09-04 11:54:34 -07:00
Emmanuel T Odeke
d858829db9
goversion: use rsc.io/goversion/version instead of internal package ( #47 )
...
Follow up of
112843115d (commitcomment-23936637)
Solves the problem of us having to manually watch
upstream and pull in bug fixes and updates, if our
internal copy goes stale.
Fixes #22 .
2017-09-04 11:53:45 -07:00
Jaana Burcu Dogan
bfd379ce45
goprocess: report info about a single process
2017-09-04 11:45:49 -07:00
Jaana Burcu Dogan
a5b317229c
README: add build status badge
2017-09-04 11:23:37 -07:00
Jaana Burcu Dogan
8d0aff5e37
switch to Circle CI
2017-09-04 10:09:16 -07:00
Jaana Burcu Dogan
2a9a4ad991
README: move badges to the next line
2017-09-04 09:45:22 -07:00
JBD
414c940baf
output better aligned results ( #46 )
...
Before the change, the output looked:
43819 gops go1.9 /Users/jbd/bin/gops
20160 corp-ssh-helper go1.8.1.typealias /usr/local/bin/corp-ssh-helper
30492 dlv go1.9 /Users/jbd/bin/dlv
31212 godoc devel +990dac2723 Fri Jun 30 18:24:58 2017 +0000 /Users/jbd/bin/godoc
18579 mnp_logger go1.7.1 /usr/local/bin/mnp_logger
After the change, it looks:
48071 gops go1.9 /Users/jbd/bin/gops
31212 godoc devel +990dac2723 Fri Jun 30 18:24:58 2017 +0000 /Users/jbd/bin/godoc
18579 mnp_logger go1.7.1 /usr/local/bin/mnp_logger
20160 corp-ssh-helper go1.8.1.typealias /usr/local/bin/corp-ssh-helper
30492 dlv go1.9 /Users/jbd/bin/dlv
44512 gocode devel +990dac2723 Fri Jun 30 18:24:58 2017 +0000 /Users/jbd/bin/gocode
2017-09-01 18:43:29 -06:00
Jaana Burcu Dogan
208dc6473d
support only 1.8 and 1.9
2017-08-29 14:09:23 -07:00
Jaana Burcu Dogan
5c0015f27d
Export Go process reporting section as a package.
2017-08-28 19:33:06 -07:00
Jaana Burcu Dogan
112843115d
report go build version
2017-08-26 14:47:02 -07:00
Jaana Burcu Dogan
806455e841
all: run dep init again
2017-07-28 14:45:08 -07:00
Cezar Sá Espinola
51dfb48038
Print filenames on client for pprof and trace dumps ( #38 )
2017-07-27 00:54:08 -07:00
Jaana Burcu Dogan
ccfb39d854
Do not checkin the vendor directory.
2017-05-12 17:01:12 -07:00
Jaana Burcu Dogan
0ac75a2ac5
Vendor all dependencies.
2017-05-12 16:49:31 -07:00
Jaana Burcu Dogan
467d918128
examples/hello: simplify the minimal example
2017-05-10 14:38:11 -07:00
Jaana Burcu Dogan
62f833fc9f
remove dependencies to github.com/pkg/errors
2017-03-18 17:29:43 -07:00
Shawn Smith
b0c5c02b30
agent: fix godoc typo ( #34 )
2017-03-08 21:06:37 -08:00
Shawn Smith
07a10154a6
add Go 1.8 to travis.yml ( #35 )
2017-03-08 21:05:54 -08:00
Jaana Burcu Dogan
e1d2345403
doc: fix title on README
2017-03-02 11:52:43 -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
35b841e24e
doc: reorganize the README
2017-01-20 13:19:03 -08:00
Jaana Burcu Dogan
671bd43984
gops: add Go execution trace support
2017-01-20 13:10:54 -08:00
Jaana Burcu Dogan
3fe5c6c719
reorg the help text
2017-01-19 18:50:59 -08:00
Jaana Burcu Dogan
fa6968806c
fix godoc
2017-01-19 18:43:31 -08:00
Jaana Burcu Dogan
218c61a1d3
gops: Stat pidfile to determine if agent is working
...
Fixes #27 .
2017-01-19 18:37:32 -08:00
Jaana Burcu Dogan
290a9a1e3d
gops: concurrently lookup for Go processes
2017-01-19 16:35:21 -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
3f697a7e37
avoid unnecessary cast to string
2017-01-03 00:56:20 -08:00
Jaana Burcu Dogan
6379e59497
Remove the -p flag.
...
Fixes #25 .
2017-01-01 19:54:15 -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
62d2faba6c
fix README example
2016-12-20 12:27:39 -08:00
Jaana Burcu Dogan
7973d7aa4f
agent: simplify options, allow only one listener
2016-12-20 12:23:05 -08:00
Cezar Sa Espinola
184268cd08
examples: update agent interface in example
2016-12-15 23:15:39 -02: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
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