Skip to content

Continuous Profiling Platform. Debug performance issues down to a single line of code

License

Notifications You must be signed in to change notification settings

erda-project/pyroscope

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Go Tests Status JS Tests Status Go Report License: AGPLv3 FOSSA Status Latest release DockerHub GoDoc

News

On 2023-03-15, Grafana Labs acquired Pyroscope.

The teams and codebases of both Grafana Phlare and Pyroscope are merging into Grafana Pyroscope.

Grafana Pyroscope is a new project. It will take some time to merge codebases and get to the first release.

Feel free to use the information from the original Pyroscope project until that time.

What is Grafana Pyroscope?

Grafana 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
  • Calculate the performance "diff" between various tags/labels and time periods
  • Can store years of profiling data from multiple applications
  • 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:


Golang

Documentation
Examples

Java

Documentation
Examples

Python

Documentation
Examples

Ruby

Documentation
Examples

Rust

Documentation
Examples

NodeJS

Documentation
Examples

Dotnet

Documentation
Examples

eBPF

Documentation
Examples

PHP

Documentation
Examples

Grafana

Documentation
Examples

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
  • Jamie Wong β€” creator of speedscope β€” interactive flamegraph visualizer

Contributing

To start contributing, check out our Contributing Guide

Thanks to the contributors of Pyroscope!

About

Continuous Profiling Platform. Debug performance issues down to a single line of code

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 58.6%
  • TypeScript 35.2%
  • SCSS 2.5%
  • CSS 1.1%
  • Jsonnet 0.8%
  • JavaScript 0.6%
  • Other 1.2%