gitlab-org--gitlab-foss/config/initializers/transaction_metrics.rb
Andrew Newdigate 56ae34e49b Adds metrics to measure database transactions
Currently we don't have good insight into the affect of Rails
transaction blocks on the application. If these blocks are held open for
extended periods, they can have detrimental effects on the application.

This change will allow us to track these transactions, with the aim
of reducing their duration.
2019-06-28 12:46:51 +02:00

3 lines
71 B
Ruby

# frozen_string_literal: true
Gitlab::Database.install_monkey_patches