Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pyroscope.receive_http): prevent read/write on closed pipe errors #2577

Draft
wants to merge 1 commit into
base: marcsanmi/pyroscope-relabel-component
Choose a base branch
from

Conversation

marcsanmi
Copy link
Contributor

@marcsanmi marcsanmi commented Jan 30, 2025

PR Description

Introduces a PipeSet utility to handle concurrent profile processing
safely in pyroscope.receive_http component.

Which issue(s) this PR fixes

This prevents "read/write on closed pipe" errors that I found out when testing the new pyroscope.relabel component to drop profiles.

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@marcsanmi marcsanmi requested a review from simonswine January 30, 2025 13:15
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.

1 participant