Commit c2baf884 authored by Quang-Minh Nguyen's avatar Quang-Minh Nguyen

Adjust gitlab_database_transaction_seconds bucket again

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