From 842be6d54a264409553e35b05c6ff03f2d2b6707 Mon Sep 17 00:00:00 2001 From: Michal Fojtik Date: Tue, 1 Oct 2019 12:28:47 +0200 Subject: [PATCH] inspect: add pprof data collection --- enhancements/oc/inspect.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/enhancements/oc/inspect.md b/enhancements/oc/inspect.md index cb325e1d02d..d6b1ec51a5f 100644 --- a/enhancements/oc/inspect.md +++ b/enhancements/oc/inspect.md @@ -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] @@ -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