Granulate / gprofiler

gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization of what your CPU is spending time on.
https://profiler.granulate.io
Apache License 2.0
756 stars 55 forks source link

Processes exiting during a session do not get enriched with container name #640

Closed Jongy closed 1 year ago

Jongy commented 1 year ago

We enrich container names when merging profilers: https://github.com/Granulate/gprofiler/blob/c2899341813c5db57b8401356c02c74cc6ec75d5/gprofiler/merge.py#L318-L319

This is too late if the process already exited. With the default profiling duration of 60s, this is common.