Track caller of queries in performance bar
The performance bar would be even more useful if we tracked the source of the SQL and Gitaly queries. For example, the SQL log in development mode already has this:
Identity Exists (0.3ms) SELECT 1 AS one FROM "identities" WHERE "identities"."user_id" = $1 AND (provider LIKE 'ldap%' AND extern_uid IS NOT NULL) LIMIT $2 [["user_id", 1], ["LIMIT", 1]]
↳ app/models/user.rb:908
Edited by 🤖 GitLab Bot 🤖