grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.69k stars 578 forks source link

Add line breakdown API #3220

Open kolesnikovae opened 3 months ago

kolesnikovae commented 3 months ago

We're using pprof query API in order to get breakdown by lines for a specific function. This approach is quite limited (it does not work in sandwich view, and can't be used for e.g., call graphs) and may cause performance issues. See the issue (private) in the app plugin repositry for details.

I propose to add use-case specific API that retrieves per line/location statistics for a given call site or function.