openshift-pipelines / pipeline-service

SaaS for Tekton Pipelines
Apache License 2.0
20 stars 43 forks source link

enable pprof on metrics exporter #1001

Closed gabemontero closed 1 month ago

gabemontero commented 1 month ago

per https://go.dev/doc/diagnostics it is safe to run with pprof in production, where the only perf impact of any note is if you explicitly enable cpu profiling or tracing.

this allows us to do spot profiling, or minimally, get thread dumps with ease.

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