Uploaded image for project: 'atlassian-seraph'
  1. atlassian-seraph
  2. SER-35

Improve outputting of stdout & capture query string

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • true

      We've just started using the Atlassian profiling servlet filter on a
      project here, and have found it very useful. Thanks for releasing it as
      open source!

      There were two behaviours that didn't quite match our requirements:

      1. writing of output to stdout - most app servers write a lot of
      junk to stdout which makes it more difficult to parse and analyse the
      profiling information
      2. no capture of query string - in our case the request URI alone
      wasn't sufficient to differentiate fundamentally different requests (we
      needed to see the query string as well)

      but thanks to the open source nature of the tool we were able to extend
      the code to cover both of these requirements.

      If you're interested, I've attached our updates to the code, just in
      case you think this functionality would be worth adding to the official
      distribution (I've attached both the full source as well as diffs
      containing the changes). The new behaviours are all configurable via
      filter parameters in web.xml, and the default behaviour of the filter
      (when the new parameters are missing) is unchanged, so these
      enhancements should be fully backwards compatible with v1.1.

      My apologies if this isn't the correct channel for submitting changes -
      I checked the site but didn't see any mention of an official submission
      process.

        1. Diffs-atlassian-profiling-1.1HP.zip
          6 kB
          Scott Farquhar
        2. FullSource-atlassian-profiling-1.1HP.zip
          13 kB
          Scott Farquhar

              Unassigned Unassigned
              scott@atlassian.com Scott Farquhar
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                19 years, 46 weeks, 4 days ago