Skip to content

Extract process_name from GitLab::Sentry

Andrew Newdigate requested to merge an-gilab-process-name into master

What does this MR do?

GitLab::Sentry has a program_context method to determine whether a Sentry exception occurred in Sidekiq or rails. Since we will need similar functionality for distributed tracing, this change extracts the program_context method into GitLab.process_name for more general consumption.

cc @ayufan see https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24186#note_132000210

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Andrew Newdigate

Merge request reports