• Stars
    star
    9,361
  • Rank 3,596 (Top 0.08 %)
  • Language
    C
  • License
    GNU Affero Genera...
  • Created over 3 years ago
  • Updated 5 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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!

More Repositories

1

grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
TypeScript
60,107
star
2

k6

A modern load testing tool, using Go and JavaScript - https://k6.io
Go
22,905
star
3

loki

Like Prometheus, but for logs.
Go
22,069
star
4

mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
Go
3,634
star
5

tempo

Grafana Tempo is a high volume, minimal dependency distributed tracing backend.
Go
3,561
star
6

oncall

Developer-friendly incident response with brilliant Slack integration
Python
3,179
star
7

tanka

Flexible, reusable and concise configuration for Kubernetes
Go
2,199
star
8

phlare

πŸ”₯ horizontally-scalable, highly-available, multi-tenant continuous profiling aggregation system
Go
2,059
star
9

grafana-zabbix

Zabbix plugin for Grafana dashboard
TypeScript
2,020
star
10

helm-charts

Smarty
1,484
star
11

agent

Vendor-neutral programmable observability pipelines.
Go
1,447
star
12

grafonnet-lib

Jsonnet library for generating Grafana dashboard files.
Jsonnet
1,079
star
13

beyla

eBPF-based autoinstrumentation of HTTP and HTTPS services
C
1,032
star
14

grafana-operator

An operator for Grafana that installs and manages Grafana instances, Dashboards and Datasources through Kubernetes/OpenShift CRs
Go
756
star
15

grafana-docker

Grafana docker container
Shell
638
star
16

metrictank

metrics2.0 based, multi-tenant timeseries store for Graphite and friends.
Go
623
star
17

faro-web-sdk

The Grafana Faro Web SDK, part of the Grafana Faro project, is a highly configurable web SDK for real user monitoring (RUM) that instruments browser frontend applications to capture observability signals. Frontend telemetry can then be correlated with backend and infrastructure data for full-stack observability.
TypeScript
623
star
18

grafana-infinity-datasource

CSV, JSON, GraphQL, XML and HTML datasource for grafana.
TypeScript
591
star
19

jsonnet-libs

Grafana Labs' Jsonnet libraries
Jsonnet
516
star
20

k6-operator

An operator for running distributed k6 tests.
Go
506
star
21

simple-json-datasource

Datasource that sends generic http requests to give url
JavaScript
502
star
22

awesome-k6

A curated list of awesome tools, content and projects using k6
493
star
23

carbon-relay-ng

Fast carbon relay+aggregator with admin interfaces for making changes online - production ready
Go
455
star
24

grizzly

A utility for managing Jsonnet dashboards against the Grafana API
Go
424
star
25

terraform-provider-grafana

Terraform Grafana provider
Go
391
star
26

grafana-image-renderer

A Grafana backend plugin that handles rendering of panels & dashboards to PNGs using headless browser (Chromium/Chrome)
TypeScript
335
star
27

dskit

Distributed systems kit
Go
316
star
28

grafana-kiosk

Kiosk Utility for Grafana
Go
314
star
29

xk6-browser

k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol
Go
310
star
30

worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
JavaScript
301
star
31

postman-to-k6

Converts Postman collections to k6 script code
JavaScript
286
star
32

xk6-dashboard

A k6 extension that makes k6 metrics available on a web-based dashboard.
HTML
278
star
33

grafana-json-datasource

A data source plugin for loading JSON APIs into Grafana.
TypeScript
261
star
34

k6-learn

JavaScript
255
star
35

k6-template-typescript

Template to use TypeScript with k6
TypeScript
250
star
36

grafonnet

Jsonnet library for generating Grafana dashboards.
Jsonnet
229
star
37

dashboard-linter

A tool to lint Grafana dashboards
Go
187
star
38

thema

A CUE-based framework for portable, evolvable schema
Go
185
star
39

tns

Observability Demo App
Jsonnet
185
star
40

intro-to-mltp

Introduction to Metrics, Logs, Traces and Profiles session companion code.
JavaScript
181
star
41

strava-datasource

Strava datasource for Grafana dashboard
TypeScript
171
star
42

xk6

Build k6 with extensions
Go
169
star
43

github-datasource

Grafana data source plugin using the Github API to retrieve and visualize Github data.
Go
169
star
44

grafana-plugin-sdk-go

A Go SDK for building backend plugins for Grafana
Go
165
star
45

jsonnet-language-server

A Language Server Protocol (LSP) server for Jsonnet (https://jsonnet.org)
Go
154
star
46

grafana-plugin-examples

Shell
152
star
47

django-saml2-auth

Django SAML2 Authentication Made Easy. Easily integrate with SAML2 SSO identity providers like Okta, Azure AD and others.
Python
151
star
48

cortex-tools

If you're using this tool with Grafana Mimir, please switch to "mimirtool" instead: https://github.com/grafana/mimir
Go
150
star
49

piechart-panel

Pie Chart Panel Plugin
JavaScript
150
star
50

grafana-plugin-repository

The plugin repository for plugins that are published on grafana.com.
JavaScript
147
star
51

mqtt-datasource

MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.
Go
143
star
52

xk6-output-prometheus-remote

k6 extension to output real-time test metrics using Prometheus Remote Write.
Go
139
star
53

scribe

A tool for building elaborate CI pipelines using a familiar programming language
Go
124
star
54

kubernetes-diff-logger

Logs updates to Kubernetes Objects for storing and querying with Loki
Go
122
star
55

pyroscope-rs

Pyroscope Profiler for Rust. Profile your Rust applications.
Rust
119
star
56

synthetic-monitoring-agent

Synthetic Monitoring Agent
Go
118
star
57

har-to-k6

JSON config representation of K6 script
JavaScript
114
star
58

scenes

Build Grafana dashboards directly in your Grafana app plugins.
TypeScript
114
star
59

faro

Grafana Faro is a project for frontend application observability. It includes a highly configurable web SDK that instruments browser frontend applications to capture observability signals.
113
star
60

google-sheets-datasource

Load Google Sheets in grafana
Go
112
star
61

tutorials

A series of tutorials for helping you make the most out of Grafana.
Makefile
109
star
62

synthetic-monitoring-app

Synthetic Monitoring frontend application
TypeScript
107
star
63

grafana-api-golang-client

Grafana HTTP API Client for Go
Go
105
star
64

k6-action

k6 is now available as a GitHub Action
JavaScript
101
star
65

clickhouse-datasource

Grafana Plugin for ClickHouse
TypeScript
101
star
66

cuetsy

Experimental CUE->TypeScript exporter
Go
96
star
67

rollout-operator

Kubernetes Rollout Operator
Go
96
star
68

azure-monitor-datasource

Grafana data source for Azure Monitor/Application Insights (deprecated - now included in core Grafana)
TypeScript
92
star
69

dashboard-spec

Go
91
star
70

clock-panel

Clock Panel Plugin for Grafana
TypeScript
88
star
71

grafana-polystat-panel

D3-Based hexagon layout multi-stat panel
TypeScript
86
star
72

docker-otel-lgtm

Dockerfile
82
star
73

k8s-monitoring-helm

Shell
80
star
74

k6-docs

The k6 documentation website.
JavaScript
80
star
75

xk6-disruptor

Extension for injecting faults into k6 tests
Go
80
star
76

k6-template-es6

Template using Webpack and Babel to enable ES6 features in k6 tests
JavaScript
77
star
77

cortex-jsonnet

Deprecated: see https://github.com/grafana/mimir/tree/main/operations/mimir instead
Jsonnet
74
star
78

doom-datasource

Hackathon project
C
71
star
79

tutorial-environment

Environment for tutorial excercises
Go
70
star
80

pyroscope-go

This is the golang client integration for Pyroscope
Go
69
star
81

grafana-ansible-collection

grafana.grafana Ansible collection provides modules and roles for managing various resources on Grafana Cloud and roles to manage and deploy Grafana Agent and Grafana
Python
69
star
82

database-migrator

Code to export grafana.db (sqlite) to MySQL-compatible SQL file, to assist in migration of Grafana data to MySQL-compatible DB.
Shell
67
star
83

grafana-csv-datasource

A data source for loading CSV data into Grafana.
TypeScript
67
star
84

mimir-proxies

Proxies to help you ingest your metrics into Grafana Mimir.
Go
65
star
85

pyroscope-java

pyroscope java integration
Java
65
star
86

otel-profiling-go

Open Telemetry integration for Grafana Pyroscope and tracing solutions such as Grafana Tempo, Honeycomb, or Jaeger
Go
65
star
87

memo

easily save grafana annotations from slack mentions and the cli
Go
65
star
88

JPProf

Go Pprof but for Java runtime.
Java
65
star
89

grafana-starter-panel

A starter for Grafana panel plugins
TypeScript
65
star
90

xk6-sql

k6 extension to load test RDBMSs (PostgreSQL, MySQL, MS SQL and SQLite3)
Go
64
star
91

vscode-jsonnet

Full code support (formatting, highlighting, navigation, etc) for Jsonnet
JavaScript
64
star
92

jmeter-to-k6

Converts JMeter .jmx files to k6 JS code
JavaScript
63
star
93

xk6-distributed-tracing

A k6 extension for distributed tracing.
Go
62
star
94

github-to-es

GitHub Analytics With Elasticsearch And Grafana
JavaScript
54
star
95

opcua-datasource

An OPC UA datasource for reading from OPC UA servers (DA/HDA/AE) into Grafana directly
CSS
54
star
96

grafana-plugin-sdk-rust

Grafana Plugin SDK for Rust
Rust
53
star
97

xk6-kubernetes

Client extension for interacting with Kubernetes clusters from your k6 tests.
Go
52
star
98

regexp

Faster version of the Go regexp package
Go
51
star
99

influxdb-flux-datasource

Grafana datasource plugin for Flux (InfluxDB)
Go
51
star
100

xk6-output-influxdb

k6 extension to output real-time test metrics to an InfluxDB 2.x database.
Go
49
star