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

chore: better profiling support #1814

Merged
merged 4 commits into from
Jul 7, 2023
Merged

Conversation

hdonnay
Copy link
Member

@hdonnay hdonnay commented Jul 7, 2023

These changes enable the "delta pprof" format supported by pyroscope, enables the mutex and blocking profiles by default, and adds pyroscope to the "debug" docker-compose profile.

This adds the delta pprof endpoints that pyroscope can make use of.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
This should allow for cross-referencing traces and profiles.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
This enables the mutex and blocking profiles and adds an escape hatch to
disable or tune them for now.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
The `debug` profile will now also start a pyroscope instance configured
to scrape the indexer and matcher.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay requested a review from a team as a code owner July 7, 2023 16:59
@hdonnay hdonnay requested review from crozzy and removed request for a team July 7, 2023 16:59
Copy link
Collaborator

@crozzy crozzy 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'm going to make an issue to document access to this and the default grafana dashboard which I'm just realizing isn't there now

@crozzy
Copy link
Collaborator

crozzy commented Jul 7, 2023

another spurious ci.ext error :(

@crozzy
Copy link
Collaborator

crozzy commented Jul 7, 2023

I don't seem to be able to retrigger the failing check from the jenkins side, it's fine for me to merge without it, the issue should be fixed going forward

@hdonnay hdonnay merged commit 7df2b86 into quay:main Jul 7, 2023
8 checks passed
@hdonnay hdonnay deleted the hack/delta-pprof branch July 7, 2023 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants