Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.29 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.29 KB

Undertow JFR Build Status

An Undertow HttpHandler that generates Flight Recorder events.

This project requires Java 11.

Flight Recording of some HTTP requests

Usage

        <subsystem xmlns="urn:jboss:domain:undertow:..." ...>
            <!-- ... -->
            <server ...>
                <!-- ... -->
                <host ...>
                    <!-- ... -->
                    <filter-ref name="jfr"/>
                </host>
            </server>
            <!-- ... -->
            <filters>
              <filter name="jfr" module="com.github.marschall.undertow.jfr" class-name="com.github.marschall.undertow.jfr.JfrHandler"/>
            </filters>
        </subsystem>

TODO

  • Can we use a direct jigsaw module dependency in module.xml?
  • Should exception in #handleRequest be caught?
  • What about async servlet? Should we use @TransitionFrom and @TransitionTo?
  • What other attributes should we log.