Pyroscope

Pyroscope 是一个开源的持续性能剖析平台。调试性能问题,精确到单行代码。「🔥 Continuous Profiling Platform 🔥 Debug performance issues down to a single line of code」

Github星跟踪图

Go Tests Status
JS Tests Status
Go Report
Apache 2 License
FOSSA Status
Latest release
DockerHub
GoDoc

Read this in other languages.

What is Pyroscope?

Pyroscope is an open source continuous profiling platform. It will help you:

  • Find performance issues and bottlenecks in your code
  • Use high-cardinality tags/labels to analyze your application
  • Resolve issues with high CPU utilization
  • Track down memory leaks
  • Understand the call tree of your application
  • Auto-instrument your code to link profiling data to traces

🔥 Pyroscope Live Demo 🔥

Pyroscope GIF Demo

Features

  • Minimal CPU overhead
  • Efficient compression, low disk space requirements
  • Can handle high-cardinality tags/labels
  • Can store years of profiling data from multiple applications
  • Calculate the performance "diff" between various tags/labels and time periods
  • Advanced analysis UI

Add Pyroscope Server locally in 2 steps:

Pyroscope supports all major architectures and is very easy to install. for example here is how you install on a mac:

# install pyroscope
brew install pyroscope-io/brew/pyroscope

# start pyroscope server:
pyroscope server

Send data to server via Pyroscope agent (language specific)

For more documentation on how to add the Pyroscope agent to your code see the agent documentation on our website or find language specific examples and documentation below

Deployment Diagram

agent_server_diagram_11-01

Third-Party Integrations

Pyroscope also supports several third-party integrations notably:

Documentation

For more information on how to use Pyroscope with other programming languages, install it on Linux, or use it in production environment, check out our documentation:

Downloads

You can download the latest version of pyroscope for macOS, linux and Docker from our Downloads page.

Supported Integrations

  • Go (via pprof)
  • Python (via py-spy)
  • Ruby (via rbspy)
  • Linux eBPF (via profile.py from bcc-tools)
  • Java (via async-profiler)
  • Rust (via pprof-rs)
  • .NET (via dotnet trace)
  • PHP (via phpspy)
  • Node

Let us know what other integrations you want to see in our issues or in our slack.

Credits

Pyroscope is possible thanks to the excellent work of many people, including but not limited to:

  • Brendan Gregg — inventor of Flame Graphs
  • Julia Evans — creator of rbspy — sampling profiler for Ruby
  • Vladimir Agafonkin — creator of flamebearer — fast flamegraph renderer
  • Ben Frederickson — creator of py-spy — sampling profiler for Python
  • Adam Saponara — creator of phpspy — sampling profiler for PHP
  • Alexei Starovoitov, Brendan Gregg, and many others who made BPF based profiling in Linux kernel possible

Contributing

To start contributing, check out our Contributing Guide

Thanks to the contributors of Pyroscope!




































































主要指标

概览
名称与所有者grafana/pyroscope
主编程语言Go
编程语言Dockerfile (语言数: 13)
平台Docker, Linux, Mac
许可证GNU Affero General Public License v3.0
所有者活动
创建于2020-12-31 05:47:19
推送于2025-05-09 14:39:07
最后一次提交
发布数961
最新版本名称pyroscope-1.13.2 (发布于 )
第一版名称v0.0.10 (发布于 )
用户参与
星数10.5k
关注者数97
派生数646
提交数5k
已启用问题?
问题数1352
打开的问题数344
拉请求数2448
打开的拉请求数19
关闭的拉请求数292
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?