Sha256: a6bb233429e27ec8f3fef4cd254f7bf0c7e308e445af4a1849b1d2758b8ebc9b

Contents?: true

Size: 703 Bytes

Versions: 10

Compression:

Stored size: 703 Bytes

Contents

# frozen_string_literal: true

module Gitlab
  module QA
    module SystemLogs
      module LogTypes
        module Rails
          class ApiLog < Log
            include SharedFields::Exception
            include SharedFields::Meta

            def initialize(data)
              super('Rails API', data)
            end

            def summary_fields
              super.concat(
                [
                  :method,
                  :path,
                  :status,
                  :params,
                  :api_error
                ],
                exception_fields,
                meta_fields
              )
            end
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gitlab-qa-10.3.0.1 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.6.0 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.5.0 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.4.1 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.4.0 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.3.0 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.2.2 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.2.1 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.2.0 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb
gitlab-qa-10.1.0 lib/gitlab/qa/system_logs/log_types/rails/api_log.rb