Class: Gitlab::Database::Metrics

Inherits:
Object
  • Object
show all
Extended by:
Utils::StrongMemoize
Defined in:
lib/gitlab/database/metrics.rb

Class Method Summary collapse

Class Method Details

.subtransactions_increment(model_name) ⇒ Object



9
10
11
# File 'lib/gitlab/database/metrics.rb', line 9

def subtransactions_increment(model_name)
  subtransactions_counter.increment(model: model_name)
end