Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pyroscope

> 数据库
Open source

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

11.6K stars0 likes1 views
WebsiteGitHub

About

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

## **Announcement: Pyroscope 2.0 is here!**

Pyroscope 2.0 makes the new v2 architecture the default. Profiles are written directly to object storage, removing the need for in-memory ingesters and local disks - simplifying operations and lowering resource usage at scale. Existing v1 deployments can opt in via a flag and migrate without data loss.

Read the 2.0 release notes and the v2 architecture overview. Upgrading from v1? See the migration guide.

Want the full story? Watch the GrafanaCON 2026 talk Pyroscope 2.0: Continuous Profiling Architecture Deep Dive.

What is Grafana Pyroscope?

Grafana Pyroscope is a continuous profiling platform designed to surface performance insights from your applications, helping you optimize resource usage such as CPU, memory, and I/O operations. With Pyroscope, you can both proactively and reactively address performance bottlenecks across your system.

The typical use cases are:

  • Proactive: Reducing resource consumption, improving application performance, or preventing latency issues.
  • Reactive: Quickly resolving incidents with line-level detail and debugging active CPU, memory, or I/O bottlenecks.

Pyroscope provides powerful tools to give you a comprehensive view of your application's behavior while allowing you to drill down into specific services for more targeted root cause analysis.

How Does Pyroscope Work?

Pyroscope consists of three main components:

  • Pyroscope Server: Stores and processes profiling data and serves queries.
  • Clients and instrumentation: Profiling data reaches the server in several ways: the Pyroscope SDKs (push), Grafana Alloy (pull or push), or OTLP from OpenTelemetry-compatible sources such as the OpenTelemetry eBPF profiler.
  • Grafana Profiles Drilldown: A queryless, intuitive UI for visualizing and analyzing profiling data (formerly Explore Profiles).

Under the hood, Pyroscope v2 writes profiles straight to object storage—no ingesters, no local disk. The animations below trace the three parts of the architecture. For the details behind each component, see the v2 architecture documentation.

Write path — profiles are routed by service and written straight to object storage:

Compaction — compaction-workers merge small segments into larger blocks in the background:

Read path — queries fan out across object storage to build flame graphs in Grafana Profiles Drilldown:


Pyroscope Live Demo


Quick Start: Run the Pyroscope server locally

Docker

bash
docker run -it -p 4040:4040 grafana/pyroscope

Homebrew (macOS / Linux)

bash
brew install pyroscope-io/brew/pyroscope
brew services start pyroscope

Binary

Download the archive for your operating system and architecture from the latest release, unpack it, and run the binary:

bash
tar xvf pyroscope_*.tar.gz
./pyroscope

Pyroscope listens on port 4040. For Kubernetes/Helm, Linux packages, building from source, and full configuration options, see the Get started guide and the server documentation.

Quick Start: Visualize profiles with Grafana Profiles Drilldown

Grafana Profiles Drilldown (formerly Explore Profiles) is the primary, queryless way to visualize and analyze your profiling data.

Grafana Cloud / OSS

Profiles Drilldown is pre-installed and is the default way to explore your profiles – all you need to do is start sending data.

Documentation

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

  • Getting Started
  • Deployment Guide
  • Pyroscope v2 Architecture

Send data to the server

You can send profiles to Pyroscope with the language SDKs, with Grafana Alloy, or over OTLP from OpenTelemetry-compatible sources such as the OpenTelemetry eBPF profiler.

For more documentation on how to add the Pyroscope SDK to your code, see the client documentation on our website or find language-specific examples and documentation below:


Golang

Documentation
Examples

Java

Documentation
Examples

Python

Documentation
Examples

Ruby

Documentation
Examples

Node.js

Documentation
Examples

.NET

Documentation
Examples

eBPF

Documentation
Examples

Rust

Documentation
Examples

Supported Languages

Our documentation contains the most recent list of supported languages and also an overview over what profiling types are supported per language.

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 flame graph renderer
  • Ben Frederickson — creator of py-spy — sampling profiler for Python
  • Adam Saponara — creator of phpspy — sampling profiler for PHP
  • Alexei Starovoitov, Daniel Borkmann, and many others who made BPF based profiling in Linux kernel possible
  • Jamie Wong — creator of speedscope — interactive flame graph visualizer

Contributing

To start contributing, check out our Contributing Guide

Thanks to the contributors of Pyroscope!

Issues· 417 open

View all issuesOpen on GitHub
  • #4504

    Dependency Dashboard

    Updated Sep 28, 2026
  • #5683

    segmentwriter/client: circuit breaker never counts writer upload timeouts (os.ErrDeadlineExceeded never matches a gRPC status), so a writer that can't reach object storage keeps receiving pushes

    Updated Sep 24, 2026
  • #5682

    metastore/discovery: kuberesolver can keep a stale service account token, causing persistent 401s that leave clients dialing old metastore IPs

    Updated Sep 24, 2026
  • #5669

    Docs epic: Update outdated Pyroscope documentation for V2-default architecture

    documentationtype/docsUpdated Sep 22, 2026
  • #5600

    Use <aggregate> label values for distributor-sampled profiles

    Updated Sep 20, 2026
  • #5574

    metastore: Index.Restore leaves stale shard cache entries after a raft snapshot restore, panicking QueryMetadata

    type/bugUpdated Sep 20, 2026
  • #5435

    Visual refresh: Ensure your plugin is compatible with the new visual refresh

    Updated Sep 16, 2026
  • #5638

    Documentation feedback: /docs/sources/configure-client/language-sdks/_index.md

    Updated Sep 14, 2026
  • #5628

    Demangle native symbols server-side instead of in each SDK/agent

    Updated Sep 11, 2026
  • #5545

    Query Mode that Ignores Uncompacted Segments

    Updated Sep 8, 2026

> Tags

Gocontinuous-profilingdeveloper-toolsdevopsfind-bottlenecks

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库