fix(monitoring): Improve profiler user experience.
- 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.
Loading
-
mentioned in merge request gitlab-org/duo-workflow/duo-workflow-executor!200
-
mentioned in merge request gitlab-elasticsearch-indexer!762 (merged)
-
mentioned in merge request gitlab-zoekt-indexer!698 (merged)
-
mentioned in merge request gitlab-com/gl-infra/woodhouse!613
-
mentioned in merge request gitlab-com/gl-infra/platform/runway/example-service!440 (merged)
-
mentioned in merge request gitlab-org/auth/glgo!188
-
mentioned in merge request gitlab-org/cells/topology-service!372 (merged)
-
mentioned in merge request gitlab-com/gl-infra/cmbr!433 (merged)
-
mentioned in merge request release-tools!4517 (merged)
-
mentioned in merge request container-registry!2564 (merged)
-
mentioned in merge request gitlab!208421
-
mentioned in merge request gitaly!8205
Please register or sign in to comment