Adds method instrumentation to link_to_gfm method
Why was this MR needed?
To help discover why Projects::CommitsController#show is slow
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/34509
https://gitlab.com/gitlab-org/gitlab-ce/issues/35160#note_35174717
Edited by username-removed-117638