Coder Social home page Coder Social logo

lwhsu / pyroscope Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grafana/pyroscope

0.0 1.0 0.0 28.87 MB

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

Home Page: https://pyroscope.io/

License: Apache License 2.0

Dockerfile 0.46% Makefile 0.53% Go 63.55% Shell 0.65% JavaScript 6.52% SCSS 1.95% HTML 1.02% Jsonnet 1.13% TypeScript 23.86% CSS 0.33%

pyroscope's Introduction

Pyroscope

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

Website Docs Demo Examples Slack

Read this in other languages.

中文 (Simplified)

What is Pyroscope?

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

  • Find performance issues and bottlenecks in your code
  • Resolve issues with high CPU utilization
  • Understand the call tree of your application
  • Track changes over time

Pyroscope GIF Demo

Features

  • Can store years of profiling data from multiple applications
  • You can look at years of data at a time or zoom in on specific events
  • Low CPU overhead
  • Efficient compression, low disk space requirements
  • Snappy 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.

Example Code

We also have language-specific examples (using Docker) of how to run the server and agent together

Deployment Diagram

agent_server_diagram_10

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 (seeking contributors)

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!

pyroscope's People

Contributors

petethepig avatar eh-am avatar rperry2174 avatar kolesnikovae avatar pyroscopebot avatar abeaumont avatar louisinflow avatar iolivernguyen avatar adrk avatar alonlong avatar loggy avatar shaleynikov avatar cjsampson avatar ekpatrice avatar gawicks avatar ruslanpascoal2 avatar cmonez avatar rajat2004 avatar skemba avatar cluas avatar linthan avatar clovis1122 avatar pranay0302 avatar ayeniblessing101 avatar wusphinx avatar yashrsharma44 avatar susyqinqinyang avatar s4kibs4mi avatar juliosaraiva avatar geoah avatar

Watchers

 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.