GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: set async-profiler timeout for OTLP recordings by arnabnandy7 · Pull Request #353 · grafana/pyroscope-java

Conversation

@arnabnandy7

@arnabnandy7 arnabnandy7 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Description

Adds an async-profiler recording timeout for OTLP mode.

Previously, timeout was only included for JFR recordings. If scheduler ticks stalled while using OTLP, the in-memory recording could grow without a bound.

The OTLP start command now uses the existing upload-interval-derived timeout while continuing to omit the JFR-only file option.

Testing

./gradlew.bat :agent:test \
  --tests io.pyroscope.javaagent.AsyncProfilerDelegateCommandTest \
  --tests io.pyroscope.javaagent.AsyncProfilerDelegateTest

Result: BUILD SUCCESSFUL

Fixes #345.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@arnabnandy7
fix: set async-profiler timeout for OTLP recordings
206b360
Signed-off-by: Arnab Nandy <[email protected]>
@arnabnandy7
arnabnandy7 requested review from a team as code owners August 16, 2026 12:45
@cursor

cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@arnabnandy7

arnabnandy7 commented Aug 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

@korniltsev-grafanista @korniltsev to review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

korniltsev-grafanista
korniltsev-grafanista approved these changes Aug 18, 2026
View reviewed changes
@korniltsev-grafanista

korniltsev-grafanista commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

nit: JFR command has no test, only otlp. worth adding.

arnabnandy7 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

korniltsev-grafanista
korniltsev-grafanista approved these changes Aug 18, 2026
View reviewed changes
@korniltsev-grafanista
korniltsev-grafanista merged commit 54e4787 into grafana:main Aug 18, 2026
45 of 91 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@pyroscope-development-app pyroscope-development-app Bot mentioned this pull request Aug 18, 2026
chore(main): release 2.9.2 #354
Merged
@arnabnandy7

arnabnandy7 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

nit: JFR command has no test, only otlp. worth adding.

I'll add an issue and create separate PR for this later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@arnabnandy7 arnabnandy7 mentioned this pull request Aug 18, 2026
JFR command has no test, only otlp. worth adding. #356
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@korniltsev-grafanista korniltsev-grafanista korniltsev-grafanista approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

No async-profiler recording timeout in OTLP mode

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@arnabnandy7 @korniltsev-grafanista
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.