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

[DO-NOT-MERGE-YET] turn on pprof in core controller to allow for goroutine dumps #1024

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gabemontero
Copy link
Collaborator

per the golang recommendations that pprof enablement is OK in production, we are enabling to allow for gathering goroutine dumps as part of diagnosing deadlocks.

rh-pre-commit.version: 2.3.0
rh-pre-commit.check-secrets: ENABLED

per the golang recommendations that pprof enablement is OK in production,
we are enabling to allow for gathering goroutine dumps as part of diagnosing
deadlocks.

rh-pre-commit.version: 2.3.0
rh-pre-commit.check-secrets: ENABLED
@@ -87,6 +87,14 @@ spec:
options:
disabled: false
configMaps:
config-observability:
data:
metrics.count.enable-reason: 'false'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

all the metrics props are defaults I have observed once we are deployed

I will run comparisons to confirm/deny whether tekton config application is an add/merge or a replace type of operation

@gabemontero gabemontero requested a review from enarha July 12, 2024 17:14
@gabemontero gabemontero changed the title turn on pprof in core controller to allow for goroutine dumps [DO-NOT-MERGE-YET] turn on pprof in core controller to allow for goroutine dumps Jul 12, 2024
@enarha
Copy link
Collaborator

enarha commented Jul 15, 2024

lgtm. Feel free to merge.

rh-pre-commit.version: 2.3.0
rh-pre-commit.check-secrets: ENABLED
@gabemontero
Copy link
Collaborator Author

lgtm. Feel free to merge.

thanks @enarha

unfortunately with local testing I cannot get goroutine dumps from the pipeline controller like I can with the results watcher, even though AFAIU I'm configuring the same way via the config-observability config map.

been debugging a bit, will a bit more, but may reach out on #team-ocp-pipelines for some help.

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.

2 participants