pprof

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 4 Imported by: 0

README

框架开启pprof

访问http://HOST:PORT/debug/pprof
内存火焰图本地运行go tool pprof -http=:8081 http://HOST:PORT/debug/pprof/heap
CPU火焰图本地运行go tool pprof -http=:8081 http://HOST:PORT/debug/pprof/profile?seconds=10
实时监控访问http://HOST:PORT/debug/charts

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitChart

func InitChart(addr string)

*

  • @auth: kuncheng
  • @Date: 2021/8/31

Types

This section is empty.

Jump to

Keyboard shortcuts

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