Skip to content

Upload pprof output to continuous profiler

License

Notifications You must be signed in to change notification settings

jmwski/pprof-upload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pprof-upload

Build Status

Uploads pprof files to Stackdriver Profiler.

Requirements

Installation

Linux 64-bit:

$ curl http://storage.googleapis.com/jbd-releases/pprof-upload-linuxamd64 > pprof-upload && chmod +x pprof-upload

macOS 64-bit:

$ curl http://storage.googleapis.com/jbd-releases/pprof-upload-darwinamd64 > pprof-upload && chmod +x pprof-upload

Windows 64-bit:

Usage

Capture pprof profiles, for example by using the net/http/pprof package. See examples/helloworld for an example.

$ curl http://localhost:6060/debug/pprof/profile?seconds=30 > pprof.out
$ pprof-upload -target=webserver
https://console.cloud.google.com/profiler/webserver;type=CPU?project=PROJECT

Cloud Profiler Screenshot

Known issues

  • pprof-upload should recognize profile type from the input file.

About

Upload pprof output to continuous profiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.5%
  • Makefile 2.5%