Skip to main content
info

In March 2023, Grafana Labs acquired Pyroscope, the company behind the eponymous open source continuous profiling project. In September 2023, Grafana Pyroscope v1.0.0 was released.

This documentation covers Pyroscope versions preceding v1.0.0. We're keeping it for the time being, but we recommend that you upgrade to Grafana Pyroscope v1.0.0 or higher and switch to the new Grafana Pyroscope Docs for most up-to-date documentation.

flamegraph.com

flamegraph.com is an easy way to share profiles and render them as flamegraphs. It can be used through the UI or through the API.

The API has two main parts, uploading profiles and rendering them back. There are two uploading variants, single profile and diff profile uploading.

Uploading#

Uploading collapsed profile#

echo "foo;bar 239" | curl --data-binary @- https://flamegraph.com

Uploading perf profile#

sudo perf script report stackcollapse | curl --data-binary @- https://flamegraph.com

Uploading pprof#

cat profile.pprof | gzip | curl --data-binary @- https://flamegraph.com

Uploading flamebearer#

cat flamebearer.json | curl --data-binary @- https://flamegraph.com

Full API documentation#

For more examples, diff upload, render api visit flamegraph.com/openapi