Commit 98db5766 authored by Andreas Brandl's avatar Andreas Brandl

Clarify instrumentation is not temporary

This should be useful for us to keep, particularly for monitoring
GitLab.com
parent 80c3bfb2
......@@ -54,7 +54,7 @@ class InternalId < ApplicationRecord
last_value
end
# Temporary instrumentation to track for-update locks
# Instrumentation to track for-update locks
def update_and_save_counter
strong_memoize(:update_and_save_counter) do
Gitlab::Metrics.counter(:gitlab_internal_id_for_update_lock, 'Number of ROW SHARE (FOR UPDATE) locks on individual records from internal_ids')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment