Commits on Source 2
-
Florian Forster authored
- Restructure profiler files for clarity: - profiler.go -> profiler_stackdriver.go (Stackdriver implementation) - null_profiler.go -> profiler_null.go (no-op implementation) - profiler_opts.go -> profiler.go (shared types and configuration) - Add helpful runtime warning when profiler is requested but not built with the `continuous_profiler_stackdriver` build tag - Export the `ProfilerEnvKey` constant to prevent duplication across packages The profiler requires explicit opt-in at compile time via build tags. When `GITLAB_CONTINUOUS_PROFILING` is set but the binary wasn't built with profiler support, users now receive clear instructions on how to enable it.
-
Steve Xuereb authored
fix(monitoring): Improve profiler user experience. See merge request !231 Merged-by:
Steve Xuereb <sxuereb@gitlab.com> Approved-by:
Steve Xuereb <sxuereb@gitlab.com> Approved-by:
Igor <iwiedler@gitlab.com> Co-authored-by:
Florian Forster <fforster@gitlab.com>