Grafana Pyroscope continuous profiling backend https://grafana.com/oss/pyroscope/
  • Go 97.5%
  • TypeScript 0.7%
  • CSS 0.4%
  • Shell 0.4%
  • Makefile 0.3%
  • Other 0.6%
Find a file
Christian Simon aa6937bf14
fix(symbolizer): skip locations with MappingId 0 instead of erroring (#4985)
MappingId 0 is valid per the pprof spec for locations without a known
mapping (e.g. JIT-compiled code, kernel frames). These locations cannot
be symbolized so they should be skipped silently rather than causing the
entire symbolization request to fail.
2026-04-03 11:26:42 +01:00
.agents chore: add update-go-version Claude skill with Codex support (#4876) 2026-03-03 18:12:29 +01:00
.claude/skills/update-go-version chore: bump Go to 1.25.7 (#4877) 2026-03-06 14:24:13 +00:00
.cursor/rules chore: add resources to provide guidance to coding agents (#4725) 2026-01-07 16:28:53 -04:00
.devcontainer chore(deps): Update OpenTelemetry protocol to 1.8.0 (#4439) 2025-10-01 11:44:02 +02:00
.github refactor: embedded ui v2 (#4948) 2026-03-26 13:58:19 -07:00
.husky chore(DevX): Add lint-staged to launch Prettier when commiting (#2629) 2023-11-03 12:47:31 +01:00
.idea fix(jfr): merge EnhancerBySpringCGLIB classes (#4471) 2025-10-03 13:14:28 +01:00
.vscode feat: add OTLP canary query (#4488) 2025-10-09 07:56:33 +00:00
api chore(deps): fix CVE vulnerabilities in go.mod files (#4970) 2026-04-02 14:51:06 +01:00
cmd chore: exercise exemplars on the canary exporter (#4959) 2026-04-01 12:07:43 +02:00
docs docs(v2): add v1 to v2 migration guide (#4927) 2026-04-02 16:25:10 -03:00
examples chore: move otel-collector ebpf example and update docs (#4969) 2026-04-02 14:51:32 +01:00
images Add logos 2022-10-21 10:17:00 +02:00
lidia lidia: tolerate elf.ErrNoSymbols when both symbol tables are missing (#4895) 2026-03-16 19:40:36 +10:00
og chore: cleanup og (#4420) 2025-09-08 22:48:04 +07:00
operations helm: bump chart to 1.19.2 (#4955) 2026-03-30 11:12:17 -03:00
pkg fix(symbolizer): skip locations with MappingId 0 instead of erroring (#4985) 2026-04-03 11:26:42 +01:00
tools feat(instrumentation): switch to OpenTelemetry for tracing (#4855) 2026-03-31 09:16:18 -03:00
ui refactor: embedded ui v2 (#4948) 2026-03-26 13:58:19 -07:00
.git-blame-ignore-revs use go 1.21 for pgo testing (#2279) 2023-08-18 23:49:22 +00:00
.gitignore chore: ignore .claude/worktrees directory (#4951) 2026-03-30 16:42:21 +10:00
.gitmodules chore(ebpf): remove ebpf module (#4324) 2025-07-29 15:57:11 +07:00
.golangci.yml chore: Update golangci-lint and fix issues (#4303) 2025-07-18 13:55:29 +01:00
.goreleaser.yaml Update golang version to 1.25.8 (#4883) 2026-03-06 16:20:55 +00:00
.mockery.yaml chore(v2): refactor experiment package (#4281) 2025-07-04 18:26:28 +00:00
.pre-commit-config.yaml Set pre-push as default hook in .pre-commit-config.yaml (#4803) 2026-02-04 16:42:26 -05:00
.pyroscope.yaml Update golang version to 1.25.8 (#4883) 2026-03-06 16:20:55 +00:00
AGENTS.md feat(instrumentation): switch to OpenTelemetry for tracing (#4855) 2026-03-31 09:16:18 -03:00
CHANGELOG.md Upgrade base image to latest alpine version v3.17.2 (https://github.com/grafana/phlare/issues/548) 2023-02-27 15:02:30 +00:00
CLAUDE.md chore: consolidate AI agent config with AGENTS.md as source of truth (#4875) 2026-03-03 17:00:09 +01:00
CODE_OF_CONDUCT.md Add governance and other project infra 2022-10-31 19:50:24 +01:00
CODEOWNERS update codeowners (#4815) 2026-02-09 17:16:19 +07:00
go.mod chore(deps): fix CVE vulnerabilities in go.mod files (#4970) 2026-04-02 14:51:06 +01:00
go.mod.sum Add query-tracer to profilecli (#2966) 2024-02-05 16:11:24 +00:00
go.sum chore(deps): fix CVE vulnerabilities in go.mod files (#4970) 2026-04-02 14:51:06 +01:00
go.work feat(instrumentation): switch to OpenTelemetry for tracing (#4855) 2026-03-31 09:16:18 -03:00
go.work.sum chore(deps): fix CVE vulnerabilities in go.mod files (#4970) 2026-04-02 14:51:06 +01:00
GOVERNANCE.md chore: more s/phlare/pyroscope/g (#2322) 2023-08-28 20:15:17 -07:00
LICENSE Initial commit 2022-05-31 16:36:25 +02:00
LICENSING.md chore: add Lidia binary format module (#4093) 2025-04-11 12:15:51 +02:00
MAINTAINERS.md Update maintainers and add CODEOWNERs (#2155) 2023-07-21 16:38:59 +02:00
Makefile refactor: embedded ui v2 (#4948) 2026-03-26 13:58:19 -07:00
Makefile.examples fix: Update node in update_examples.Dockerfile (#4638) 2025-11-26 09:48:32 -05:00
README.md docs: updates the list of contributors in README (#4963) 2026-04-01 10:55:14 +01:00
renovate.json fix(renovate): Address invalid renovate.json syntax (#4838) 2026-02-13 14:47:42 +00:00

Pyroscope

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

🎉 Announcement: The new Explore Profiles UI is here!

We are thrilled to announce the launch of the Explore Profiles UI, a brand-new way to explore and analyze your profiling data—now available as part of the Grafana Explore Apps suite! This new app brings you a queryless, intuitive experience for visualizing your profiling data, simplifying the entire process without the need to write complex queries.

https://github.com/user-attachments/assets/4db19ec7-86f3-4701-8f5f-9b7ffcebd49c

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?

deployment_diagram

Pyroscope consists of three main components:

  • Pyroscope Server: The server component that stores and processes profiling data.
  • Pyroscope SDKs(push) or Grafana alloy(pull) : The client-side part of Pyroscope that collects profiling data from your applications and sends it to the server.
  • Explore Profiles UI: A queryless, intuitive UI for visualizing and analyzing profiling data.

Pyroscope Live Demo

Pyroscope GIF Demo


Quick Start: Run Pyroscope server locally

Homebrew

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

Docker

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

For more documentation on how to configure Pyroscope server, see our server documentation.

Quick Start: Run Explore Profiles UI in Grafana

image

Grafana Cloud

The app UI and server are both installed and running automatically -- just start sending data!

Grafana OSS

You can run the Explore profiles UI in Grafana by installing the plugin from the Grafana Plugin Directory

For more information, check out the Explore Profiles README

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:

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

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!