Skip to content

internal/debug: add integration with Grafana Pyroscope#33623

Merged
fjl merged 8 commits into
ethereum:masterfrom
fjl:pyroscope
Jan 20, 2026
Merged

internal/debug: add integration with Grafana Pyroscope#33623
fjl merged 8 commits into
ethereum:masterfrom
fjl:pyroscope

Conversation

@fjl

@fjl fjl commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

This adds support for Grafana Pyroscope, a continuous profiling solution.
The client is configured similarly to metrics, i.e. run

 geth --pyroscope --pyroscope.server=https://...

Resubmit of #33261 with some changes

cbermudez97 and others added 6 commits January 16, 2026 21:59
- Added Pyroscope profiling capabilities to the debug package.
- Introduced command-line flags for enabling profiling and specifying the Pyroscope server URL.
- Implemented methods to start and stop the Pyroscope profiler, including a custom logger to interface with the existing logging system.
- Updated relevant files to accommodate the new profiling features.
- Updated StartPyroscopeProfiler to accept a map of tags for profiling data.
- Introduced a new command-line flag for specifying comma-separated key=value tags.
- Modified Setup function to parse and pass tags to the profiler, improving profiling data granularity.
- move all code to a dedicated file
- remove the debug RPC API handler
- add prefix to log messages from pyroscope
@fjl fjl merged commit d58f629 into ethereum:master Jan 20, 2026
7 of 8 checks passed
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 23, 2026
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 23, 2026
AnilChinchawale pushed a commit to XinFinOrg/XDPoSChain that referenced this pull request Jan 29, 2026
gballet pushed a commit to BZO95/go-ethereum that referenced this pull request May 21, 2026
This adds support for Grafana Pyroscope, a continuous profiling solution. 
The client is configured similarly to metrics, i.e. run 

     geth --pyroscope --pyroscope.server=https://...

This commit is a resubmit of ethereum#33261 with some changes.

---------

Co-authored-by: Carlos Bermudez Porto <cbermudez.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants