No data available for Flamegraph table for init container
Describe the bug
I have one pod whose init container needs to take more than 1 minute to finish the job so I want to check the flame graph for it. Note that most work is done by init containers and the pod will be complete very soon after init container finish it task.
The situation is that I am able to see the pod when I select px/perf_flamegraph but it told me "No data available for Flamegraph table". I am sure the time duration is correct and I can see some other pods' flame graph in other namespaces.
Is it by design or I miss something?
To Reproduce As above
Expected behavior There should be flame graph.
Screenshots
Logs Please attach the logs by running the following command:
./px collect-logs
App information (please complete the following information):
- Pixie 0.13.5
- K8s cluster version v1.24.10
- Node Kernel version 5.15.102.1
- Browser version
Additional context Add any other context about the problem here.
Hi @leonard520 ! Do you have some more information about the init container? For example, what language are you using?
@aimichelle It is written in go. The code looks like https://github.com/pivotal/kpack/blob/main/cmd/build-init/main.go