Skip to content

Commit

Permalink
Merge pull request kubernetes#55 from mfojtik/inspect-pprof
Browse files Browse the repository at this point in the history
inspect: add pprof data collection
  • Loading branch information
openshift-merge-robot authored Oct 1, 2019
2 parents c985245 + 842be6d commit e8d4684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enhancements/oc/inspect.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ There are several special cases today.
1. gets all current and previous container logs
2. take a best guess to find a metrics endpoint
3. take a best guess to find a healthz endpoint and all sub-healthz endpoints
4. take a best guess to find a [pprof](https://golang.org/pkg/net/http/pprof/) `/debug` endpoint and fetch `heap`, `profile` and `trace`

### User Stories [optional]

Expand Down Expand Up @@ -164,6 +165,7 @@ Attempt to gather the `/healthz`, `/version`, and `/metrics` endpoints from pod
│    | ├── current.log
│    | └── previous.log
│    └── metrics.json
| └── {heap,profile,trace}
├── default
│   ├── apps
│   │   ├── daemonsets.yaml
Expand Down

0 comments on commit e8d4684

Please sign in to comment.