Skip to content

/debug/pprof and /debug/pprof/all endpoints are undocumented #3508

@lesam

Description

@lesam

The release notes for 2.0.5 say:

Add /debug/pprof/all HTTP endpoint to gather all profiles at once.

https://docs.influxdata.com/influxdb/v2.1/reference/release-notes/influxdb/#v205-general-availability-2021-04-27

But I don't see usage of this endpoint documented for 2.x

Usage:

> curl localhost:8086/debug/pprof/all --output pprof.tar.gz
> tar -xzvf pprof.tar.gz
> ls -l profiles
total 344
-rw-------  1 sarnold  staff  74559 31 Dec  1969 allocs.pb.gz
-rw-------  1 sarnold  staff    908 31 Dec  1969 block.pb.gz
-rw-------  1 sarnold  staff   4640 31 Dec  1969 goroutine.pb.gz
-rw-------  1 sarnold  staff  73867 31 Dec  1969 heap.pb.gz
-rw-------  1 sarnold  staff   2057 31 Dec  1969 mutex.pb.gz
-rw-------  1 sarnold  staff    280 31 Dec  1969 threadcreate.pb.gz

Metadata

Metadata

Assignees

Labels

OSSduplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions