grafana / pyroscope-nodejs

Pyroscope NodeJS integration
Apache License 2.0
26 stars 18 forks source link

Pyroscope.collectCpu(), collectHeap() and collectWall() not exposed #70

Open mmanishh opened 2 months ago

mmanishh commented 2 months ago

Hi,

The docs mention for pull based method but index.ts doesn't expose this function.

const p = await Pyroscope.collectCpu(req.query.seconds);