Module: Gitlab::Marginalia::ActiveRecordInstrumentation

Defined in:
lib/gitlab/marginalia/active_record_instrumentation.rb

Instance Method Summary collapse

Instance Method Details

#annotate_sql(sql) ⇒ Object


7
8
9
# File 'lib/gitlab/marginalia/active_record_instrumentation.rb', line 7

def annotate_sql(sql)
  Gitlab::Marginalia.cached_feature_enabled? ? super(sql) : sql
end