pprof-upload

command module
v0.0.0-...-e24c53c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL