Skip to content

marschall/catalina-jfr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalina JFR

A Catalina valve that generates Flight Recorder events. Unlike a filter based approach a valve based approach also generate events for internal servlets like the DefaultServlet and JasperServlet.

Flight Recording of some HTTP requests

This project requires Java 11.

Usage

Copy the jar to ${tomcat.home}/lib and add the following valve to server.xml.

        <Valve className="com.github.marschall.catalina.jfr.JfrValve" />

Correlating Dispatches

A single request may traverse the servlet chain multiple times, either because of a server side redirect or because of asynchronous processing. We generate a unique exchangeId for every request so that multiple dispatches of the same request can be correlated.

About

a Catalina Valve that generates JFR events

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages