Skip to content

[Profiler] Customize wall time and CPU sampling constants#3382

Merged
kevingosse merged 4 commits into
masterfrom
chrisnas/customize_sampling
Oct 24, 2022
Merged

[Profiler] Customize wall time and CPU sampling constants#3382
kevingosse merged 4 commits into
masterfrom
chrisnas/customize_sampling

Conversation

@chrisnas

Copy link
Copy Markdown
Contributor

Summary of changes

Allow customization of sampling constants thanks to environment variables

Reason for change

It could be handy for a customer to customize the Wall time / CPU sampling algorithm based on application specificities.
For example, sample less frequently by more threads at a time.

Implementation details

Read customization from environment variables

Test coverage

Yes

Other details

@chrisnas
chrisnas requested a review from a team as a code owner October 21, 2022 16:21
@github-actions github-actions Bot added the area:profiler Issues related to the continous-profiler label Oct 21, 2022
@chrisnas
chrisnas requested a review from kevingosse October 21, 2022 16:47

@pierotibou pierotibou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kevingosse
kevingosse merged commit 0088407 into master Oct 24, 2022
@kevingosse
kevingosse deleted the chrisnas/customize_sampling branch October 24, 2022 12:50
@github-actions github-actions Bot added this to the vNext milestone Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants