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

Use scrape interval correctly #2220

Merged
merged 1 commit into from
Dec 15, 2022
Merged

Use scrape interval correctly #2220

merged 1 commit into from
Dec 15, 2022

Conversation

fabxc
Copy link
Contributor

@fabxc fabxc commented Dec 5, 2022

Use the scrape interval rather than the timeout to determine the profile duration on scraping. Since taking the profile will take strictly longer than the duration the timeout must be allowed to be larger as well. By default 3s are added to the interval based on real-world obvservations.

@fabxc fabxc requested a review from a team as a code owner December 5, 2022 09:00
@CLAassistant
Copy link

CLAassistant commented Dec 5, 2022

CLA assistant check
All committers have signed the CLA.

@brancz
Copy link
Member

brancz commented Dec 5, 2022

We just need you to sign the CLA (it's really just a one-time DCO), then this lgtm! Thank you!

@brancz
Copy link
Member

brancz commented Dec 5, 2022

Looks like we have a test that also needs to be adapted.

@fabxc
Copy link
Contributor Author

fabxc commented Dec 5, 2022

Will sign the CLA as soon as I've internal confirmation.

pkg/config/config.go Show resolved Hide resolved
pkg/config/config.go Show resolved Hide resolved
Use the scrape interval rather than the timeout to determine the profile
duration on scraping. Since taking the profile will take strictly longer
than the duration the timeout must be allowed to be larger as well.
By default 3s are added to the interval based on real-world obvservations.
@vercel
Copy link

vercel bot commented Dec 15, 2022

@fabxc is attempting to deploy a commit to the parca-dev Team on Vercel.

A member of the Team first needs to authorize it.

@fabxc
Copy link
Contributor Author

fabxc commented Dec 15, 2022

Signed!

@metalmatze
Copy link
Member

Awesome! 🎉 I started CI.

@manojVivek
Copy link
Contributor

@all-contributors Please add @fabxc for code.

@allcontributors
Copy link
Contributor

@manojVivek

I've put up a pull request to add @fabxc! 🎉

teleivo added a commit to teleivo/parca-docs that referenced this pull request Feb 24, 2023
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.

7 participants