kprof

command module
v0.0.0-...-306ae6e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 3 Imported by: 0

README

kprof

A tool to quickly get a pprof profile from a running go application running as kubernetes pod.

Examples

Taking a cpu profile for the specified pod:

    kprof cpu app-cf64bc57-87bcl

Note: It will try the first detected port.

Specify the container:

    kprof cpu app-cf64bc57-87bcl -c prometheus-extractor

Specify the port the pprof http server is listening on:

    kprof cpu app-cf64bc57-87bcl -c prometheus-extractor -p 7777

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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