JFR Servlet

A Servlet Filter that generates JFR events.

Лицензия

Лицензия

MIT
Группа

Группа

com.github.marschall
Идентификатор

Идентификатор

jfr-servlet
Последняя версия

Последняя версия

0.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

JFR Servlet
A Servlet Filter that generates JFR events.
Ссылка на сайт

Ссылка на сайт

https://github.com/marschall/jfr-servlet
Система контроля версий

Система контроля версий

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

Скачать jfr-servlet

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.marschall/jfr-servlet/ -->
<dependency>
    <groupId>com.github.marschall</groupId>
    <artifactId>jfr-servlet</artifactId>
    <version>0.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.marschall/jfr-servlet/
implementation 'com.github.marschall:jfr-servlet:0.1.2'
// https://jarcasting.com/artifacts/com.github.marschall/jfr-servlet/
implementation ("com.github.marschall:jfr-servlet:0.1.2")
'com.github.marschall:jfr-servlet:jar:0.1.2'
<dependency org="com.github.marschall" name="jfr-servlet" rev="0.1.2">
  <artifact name="jfr-servlet" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.marschall', module='jfr-servlet', version='0.1.2')
)
libraryDependencies += "com.github.marschall" % "jfr-servlet" % "0.1.2"
[com.github.marschall/jfr-servlet "0.1.2"]

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
javax.servlet : javax.servlet-api jar 4.0.1

test (2)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter jar 5.4.2
org.springframework : spring-test jar 5.1.8.RELEASE

Модули Проекта

Данный проект не имеет модулей.

JFR Servlet Maven Central Javadocs Build Status

A servlet filter that generates JFR events.

<dependency>
  <groupId>com.github.marschall</groupId>
  <artifactId>jfr-servlet</artifactId>
  <version>0.1.2</version>
</dependency>

Flight Recording of some HTTP requests

This project requires Java 11.

Usage

If your web application is not metadata-complete then you only need to add the dependency.

If your web application is metadata-complete then you manually need to add the filter com.github.marschall.jfr.servlet.JfrFilter and map it.

<filter>
  <filter-name>JfrFilter</filter-name>
  <filter-class>com.github.marschall.jfr.servlet.JfrFilter</filter-class>
  <async-supported>true</async-supported>
</filter>

<filter-mapping>
  <filter-name>JfrFilter</filter-name>
  <url-pattern>/*</url-pattern>
  <dispatcher>REQUEST</dispatcher>
  <dispatcher>FORWARD</dispatcher>
  <dispatcher>INCLUDE</dispatcher>
  <dispatcher>ERROR</dispatcher>
  <dispatcher>ASYNC</dispatcher>
</filter-mapping>

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.

Версии библиотеки

Версия
0.1.2
0.1.0