An open API service indexing awesome lists of open source software.

https://github.com/marschall/catalina-jfr

a Catalina Valve that generates JFR events
https://github.com/marschall/catalina-jfr

java-flight-recorder tomcat

Last synced: 3 months ago
JSON representation

a Catalina Valve that generates JFR events

Awesome Lists containing this project

README

        

Catalina JFR
============

A Catalina [valve](https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html) that generates [Flight Recorder](https://openjdk.java.net/jeps/328) 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](https://github.com/marschall/catalina-jfr/raw/master/src/main/javadoc/Screenshot.png)

This project requires Java 11.

Usage
-----

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

```xml

```

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.