Class: RequestLogAnalyzer::FileFormat::Merb

Inherits:
Base
  • Object
show all
Defined in:
lib/request_log_analyzer/file_format/merb.rb

Overview

The Merb file format parses the request header with the timestamp, the params line with the most important request information and the durations line which contains the different request durations that can be used for analysis.

Defined Under Namespace

Classes: Request

Constant Summary collapse

REQUEST_CATEGORIZER =
Proc.new do |request| 
  category = "#{request[:controller]}##{request[:action]}"
  category = "#{request[:namespace]}::#{category}" if request[:namespace]
  category = "#{category}.#{request[:format]}"     if request[:format]
  category
end

Instance Attribute Summary

Attributes inherited from Base

#line_definitions, #report_trackers

Method Summary

Methods inherited from Base

#captures?, create, format_definition, inherited, #initialize, line_definition, #parse_line, report, #request, #request_class, #setup_environment, #valid?

Constructor Details

This class inherits a constructor from RequestLogAnalyzer::FileFormat::Base