All Projects → rakyll → pprof-upload

rakyll / pprof-upload

Licence: Apache-2.0 license
Upload pprof output to continuous profiler

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].