Migrate `g_edit_by_sfe` correctly to internal events
Problem
While investigating metrics that should be moved to InternalEvents
we found that g_edit_by_sfe
has not been correctly converted yet. The call in https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/controllers/projects/blob_controller.rb#L41 will need to be updated to InternalEvents.
Desired Outcome
g_edit_by_sfe
is correctly updated to Internal Events.
Possible Solution
- Migrate the call in https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/controllers/projects/blob_controller.rb#L41
- The event_name in this case should be changed to
g_edit_by_sfe
since this is the canonical name for this event also within redis. - The
data_source
for aggregated metrics includingg_edit_by_sfe
should also be updated accordingly if all other events included in the metric are already converted.
Edited by Sebastian Rehm