Commit a8e2d07a authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'add-bucket-to-gitlab-sql-duration-seconds-histogram' into 'master'

Add bucket to gitlab_sql_duration_seconds

See merge request gitlab-org/gitlab!39206
parents 6440632d 08234fc9
......@@ -22,7 +22,7 @@ module Gitlab
return if payload[:name] == 'SCHEMA' || IGNORABLE_SQL.include?(payload[:sql])
current_transaction.observe(:gitlab_sql_duration_seconds, event.duration / 1000.0) do
buckets [0.05, 0.1]
buckets [0.05, 0.1, 0.25]
end
increment_db_counters(payload)
......
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