Track execution of project overwrite service
What does this MR do?
This merge request adds tracking of Projects::OverwriteProjectService
that is used by import/export feature.
This services creates a possibly long-running transaction creating multiple subtransaction through Project.transaction(requires_new: true)
.
It is possible that this might affect performance in multiple places, especially performance of the new CI/CD builds queuing queries.
For more details see gitlab-com/gl-infra/production#5152 (comment 629653355) and https://gitlab.com/gitlab-org/gitlab/-/issues/334638.
Conformity
-
I have self-reviewed this MR per code review guidelines. -
This change is backwards compatible across updates.