Skip to content

chore: add canary probe delay #3943

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

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

kolesnikovae
Copy link
Collaborator

The PR adds a delay between canary probe ingestion and query requests. The delay is set to 2s by default. This delay might be needed if ingestion is asynchronous, as an ingest followed by an immediate query might not retrieve the data.

@simonswine I'm somewhat reluctant to set a default value here. On the other hand, I don't see much harm in doing so. What do you think?

Copy link
Contributor

@simonswine simonswine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I think this is a reasonable change. We should try to remember calling this change out in the release notes.

@kolesnikovae kolesnikovae marked this pull request as ready for review February 25, 2025 08:51
@kolesnikovae kolesnikovae requested a review from a team as a code owner February 25, 2025 08:51
@kolesnikovae kolesnikovae merged commit 27fff3e into main Feb 26, 2025
21 checks passed
@kolesnikovae kolesnikovae deleted the chore/delayed-canary-probe branch February 26, 2025 05:34
shelldandy pushed a commit to shelldandy/pyroscope that referenced this pull request Mar 14, 2025
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