Commit 5c4269c5 authored by Quang-Minh Nguyen's avatar Quang-Minh Nguyen

Reduce the number of gitlab_database_transaction_seconds buckets

parent 82d4b366
......@@ -18,7 +18,7 @@ module Gitlab
# ActiveRecord::Base.transaction {} block.
def transaction(event)
current_transaction&.observe(:gitlab_database_transaction_seconds, event.duration / 1000.0) do
buckets [0.05, 0.25, 1, 2.5, 5, 10]
buckets [0.1, 0.25, 1]
end
end
......
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