Class: Gitlab::GrapeLogging::Loggers::PerfLogger

Inherits:
GrapeLogging::Loggers::Base
  • Object
show all
Includes:
InstrumentationHelper
Defined in:
lib/gitlab/grape_logging/loggers/perf_logger.rb

Constant Summary

Constants included from InstrumentationHelper

InstrumentationHelper::DURATION_PRECISION

Instance Method Summary collapse

Methods included from InstrumentationHelper

#add_instrumentation_data, #instrument_elasticsearch, #instrument_gitaly, #instrument_redis, #instrument_rugged, #keys, queue_duration_for_job

Instance Method Details

#parameters(_, _) ⇒ Object


10
11
12
13
# File 'lib/gitlab/grape_logging/loggers/perf_logger.rb', line 10

def parameters(_, _)
  payload = {}
  payload.tap { add_instrumentation_data(payload) }
end