Commit 44fa25a9 authored by Jarka Košanová's avatar Jarka Košanová

Merge branch 'bvl-remove-non-alerting-buckets-from-sql-histogram' into 'master'

Limit buckets for gitlab_sql_duration_seconds

See merge request gitlab-org/gitlab!38159
parents 2123dca7 0e9fd4e5
......@@ -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.01, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0]
buckets [0.05, 0.1]
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