Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add request_log_parser #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add request_log_parser #8

wants to merge 3 commits into from

Commits on Aug 10, 2018

  1. [MultiFileLogParser] Make verbose output optional

    This was left in as a debuging statement.  Fixed.
    NickLaMuro committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    2dfefcd View commit details
    Browse the repository at this point in the history
  2. [MultiFileLogParser] Allow single file output

    For now, this just allows for passing in a `:single_file` for the
    options, which overrides the default functionality for writing files
    (which uses a `:id_col` to help determine file name).
    
    The previous form is still valid as well, just allows for passing in a
    IO object.  This doesn't open the file for you (however), but that might
    change in the future.
    NickLaMuro committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    a56aeb7 View commit details
    Browse the repository at this point in the history
  3. Add request_log_parser

    This is a parser of the rails logger, and allows you to determine the
    length of a given request by matching up the thread ID with the
    "Started" and "Completed in" lines.
    
    Also does some aggregation as well, and makes use of the
    MultiFileLogParser to handle the two log lines it is searching for.
    
    Built from:
    
    https://gist.github.com/NickLaMuro/18b2fae94b26444e49f03920799f083c
    NickLaMuro committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    9b99bf5 View commit details
    Browse the repository at this point in the history