Closed Bruno-DaSilva closed 2 months ago
The heap profiler doesn't use the sourcemapper parameter passed in on init https://github.com/grafana/pyroscope-nodejs/blob/main/src/profilers/heap-profiler.ts#L31
despite being available as an argument in the heap.profile(sourcemapper) method https://github.com/DataDog/pprof-nodejs/blob/v4.x/ts/src/heap-profiler.ts#L56
heap.profile(sourcemapper)
As a result, we currently only see the raw js stacktraces in the heap profiles.
The heap profiler doesn't use the sourcemapper parameter passed in on init https://github.com/grafana/pyroscope-nodejs/blob/main/src/profilers/heap-profiler.ts#L31
despite being available as an argument in the
heap.profile(sourcemapper)
method https://github.com/DataDog/pprof-nodejs/blob/v4.x/ts/src/heap-profiler.ts#L56As a result, we currently only see the raw js stacktraces in the heap profiles.