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
741 stars 54 forks source link

Support pprof endpoint #725

Open Sharathmk99 opened 1 year ago

Sharathmk99 commented 1 year ago

Hi, Thank you for this great product. I’m planning to use Grafana Phale to save continuous profiling data. Is there any plan up support pprof endpoint in node agent?

https://pkg.go.dev/net/http/pprof

Thank you

Jongy commented 1 year ago

Hi @Sharathmk99 :)

Is there any plan up support pprof endpoint in node agent?

We don't have a specific agent for Node - gProfiler is a single app, profiling all other apps in your system. So there is no Node "agent". What would make sense as a pprof endpoint in gProfiler itself, which could expose the profiling data collected from all apps.

Not planned currently (mainly because gProfiler has its backend, profiler.granulate.io that offers storage & viewing for continuous profiling data) but we'll be happy to receive contributions :)