parca icon indicating copy to clipboard operation
parca copied to clipboard

Heap profiling visualization

Open Slach opened this issue 6 years ago • 4 comments

I like the idea about continuous profiling I hope you can implement heap profiling visualization like a stacked time-series data like this image but more detailed to each type of allocation and maybe with a link to source code

Slach avatar Nov 06 '19 12:11 Slach

This is already available via Prometheus metrics. What are you thinking conprof to do here?

brancz avatar Nov 07 '19 11:11 brancz

I mean something that can visualize ```go tool pprof heapdata.gz`` not only as "top-K text-mode" console

yes it can be implemented over Prometheus metrics

but we will need too much metrics like contprof_heap{host="XXX", allocation_type="module.Type", allocation_place="source_file.go:XX"}

Slach avatar Nov 07 '19 16:11 Slach

Yes we don’t want to reinvent the wheel but we’d love to expose this data via a prometheus remote read endpoint so it can be queried from Prometheus.

brancz avatar Nov 07 '19 17:11 brancz

Ah, ok I understood ;)

if you will expose this data as Prometheus metrics and get an opportunity to querying over it

I will happily make some Prometheus dashboards for it

Slach avatar Nov 08 '19 06:11 Slach