Skip to content

Changed Profile Action to have a per-process limit rather than per thread#12897

Merged
ggreenway merged 1 commit intoenvoyproxy:masterfrom
KBaichoo:profile-action-tweaks
Sep 9, 2020
Merged

Changed Profile Action to have a per-process limit rather than per thread#12897
ggreenway merged 1 commit intoenvoyproxy:masterfrom
KBaichoo:profile-action-tweaks

Conversation

@KBaichoo
Copy link
Contributor

@KBaichoo KBaichoo commented Aug 31, 2020

Signed-off-by: Kevin Baichoo kbaichoo@google.com

Commit Message: Simplified Profile Action to have a per-process limit rather than a per thread limit which simplifies disk-filling concerns.
Additional Description: We want to prevent the profiler from filling the disk, and using a per thread limit creates more complexity and profiles (i.e. for the "global" limit would be #threads * limit per thread vs limit per process. The former is harder to reason about.
Risk Level: low
Testing: unit tests
Docs Changes: N/A
Release Notes: N/A
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

… a per thread limit.

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
@KBaichoo KBaichoo requested a review from htuch as a code owner August 31, 2020 18:25
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #12897 was opened by KBaichoo.

see: more, trace.

@KBaichoo
Copy link
Contributor Author

/assign @antoniovicente

@htuch
Copy link
Member

htuch commented Sep 1, 2020

Can you add some motivation for this to the commit message? API changes LGTM, since this is v3alpha.

@htuch
Copy link
Member

htuch commented Sep 1, 2020

/lgtm api

@repokitteh-read-only repokitteh-read-only bot removed the api label Sep 1, 2020
Copy link
Contributor

@antoniovicente antoniovicente left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@KBaichoo
Copy link
Contributor Author

KBaichoo commented Sep 3, 2020

PTAL @envoyproxy/senior-maintainers

@htuch
Copy link
Member

htuch commented Sep 4, 2020

@snowp can you assign a non-Googler senior maintainer? Thanks.

@ggreenway ggreenway merged commit faab20c into envoyproxy:master Sep 9, 2020
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.

4 participants