Draft: Add alert for optimistic locking retries
Add an alert for having too many queries under the optimistic lock which required > 1 retries to release the lock.
This implements the proposal by Andrew in gitlab-org/gitlab#322125 (comment 522898285)
The histogram was introduced in gitlab-org/gitlab!55614 (merged)