-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or request
Description
tl;dr: Install github.com/labstack/echo-contrib/pprof and guard it behind an env flag so we don’t accidentally expose it in prod.
Description:
Right now we only have tracing, logs, and metrics wired up. Profiling is the missing piece for spotting performance issues before they hit production.
By integrating profiling tools, we can reduce debugging time for performance issue.
Proposed Solutions:
- Added package for
github.com/labstack/echo-contrib/pprof, its already cover the cpu, memory, block profiler. - Rename file from
config/instrumentation.gotoconfig/observability.go - Rename function from
ApplyInstrumentationtoApplyObservability - Add function for ApplyProfiling
- Enable only when
ENABLE_PROFILING=trueandAPP_ENV != production
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request