Code Monkey home page Code Monkey logo

pyroscope's Introduction

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!

pyroscope's People

Contributors

petethepig avatar pyroscopebot avatar eh-am avatar rperry2174 avatar kolesnikovae avatar dogfrogfog avatar abeaumont avatar korniltsev avatar pavelpashkovsky avatar louisinflow avatar shaleynikov avatar iolivernguyen avatar adrk avatar alonlong avatar loggy avatar cjsampson avatar ekpatrice avatar ruslanpascoal2 avatar stasdachinsky avatar gawicks avatar omarabid avatar egormozheiko avatar cmonez avatar rajat2004 avatar richih avatar skemba avatar cluas avatar linthan avatar clovis1122 avatar juliosaraiva avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.