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

Decrease the CPU profiling period to avoid cancellations #2814

Merged
merged 2 commits into from
Jan 24, 2023

Conversation

cyriltovena
Copy link
Contributor

PR Description

This PR decrease the profiling CPU period to interval-1second, we've seen some timeout in the agent because of that and we made the same change in Phlare. see grafana/phlare@c5e6772

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

@rfratto rfratto enabled auto-merge (squash) January 24, 2023 14:08
@ptodev
Copy link
Contributor

ptodev commented Jan 24, 2023

I guess that this will work correctly if cfg.ScrapeInterval <= time.Second?

@rfratto rfratto merged commit a24f44e into main Jan 24, 2023
@rfratto rfratto deleted the fix-phlare-timeout branch January 24, 2023 14:30
@cyriltovena
Copy link
Contributor Author

I guess that this will work correctly if cfg.ScrapeInterval <= time.Second?

Can't be below 2*seconds

@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 12, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants