{"id":20474203,"url":"https://github.com/marschall/jfr-servlet","last_synced_at":"2026-03-01T18:03:14.495Z","repository":{"id":52269772,"uuid":"186772052","full_name":"marschall/jfr-servlet","owner":"marschall","description":"a servlet filter that generates JFR events","archived":false,"fork":false,"pushed_at":"2025-11-23T15:16:28.000Z","size":124,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T17:21:22.689Z","etag":null,"topics":["java","java-flight-recorder","servlet-filter"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marschall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-15T07:25:14.000Z","updated_at":"2025-11-23T15:16:32.000Z","dependencies_parsed_at":"2024-11-15T14:30:58.669Z","dependency_job_id":"3d72a524-73d0-42fb-9561-47e42fdbac5f","html_url":"https://github.com/marschall/jfr-servlet","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/marschall/jfr-servlet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marschall%2Fjfr-servlet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marschall%2Fjfr-servlet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marschall%2Fjfr-servlet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marschall%2Fjfr-servlet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marschall","download_url":"https://codeload.github.com/marschall/jfr-servlet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marschall%2Fjfr-servlet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29977969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","java-flight-recorder","servlet-filter"],"created_at":"2024-11-15T14:28:34.836Z","updated_at":"2026-03-01T18:03:14.479Z","avatar_url":"https://github.com/marschall.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"JFR Servlet [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-servlet/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-servlet) [![Javadocs](https://www.javadoc.io/badge/com.github.marschall/jfr-servlet.svg)](https://www.javadoc.io/doc/com.github.marschall/jfr-servlet)\n===========\n\nA servlet filter that generates [JFR](https://openjdk.java.net/jeps/328) events.\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.marschall\u003c/groupId\u003e\n  \u003cartifactId\u003ejfr-servlet\u003c/artifactId\u003e\n  \u003cversion\u003e2.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n![Flight Recording of some HTTP requests](https://github.com/marschall/jfr-servlet/raw/master/src/main/javadoc/Screenshot.png)\n\nThis project requires Java 11.\n\nVersions 1.x are for the `javax.servlet` namespace, versions 2.x are for the `jakarta.servlet` namespace.\n\nUsage\n-----\n\nIf your web application is not [metadata-complete](https://www.oracle.com/technetwork/articles/javaee/javaee6overview-part2-136353.html) then you only need to add the dependency.\n\nIf your web application is `metadata-complete` then you manually need to add the filter `com.github.marschall.jfr.servlet.JfrFilter` and map it.\n\n\n```xml\n\u003cfilter\u003e\n  \u003cfilter-name\u003eJfrFilter\u003c/filter-name\u003e\n  \u003cfilter-class\u003ecom.github.marschall.jfr.servlet.JfrFilter\u003c/filter-class\u003e\n  \u003casync-supported\u003etrue\u003c/async-supported\u003e\n\u003c/filter\u003e\n\n\u003cfilter-mapping\u003e\n  \u003cfilter-name\u003eJfrFilter\u003c/filter-name\u003e\n  \u003curl-pattern\u003e/*\u003c/url-pattern\u003e\n  \u003cdispatcher\u003eREQUEST\u003c/dispatcher\u003e\n  \u003cdispatcher\u003eFORWARD\u003c/dispatcher\u003e\n  \u003cdispatcher\u003eINCLUDE\u003c/dispatcher\u003e\n  \u003cdispatcher\u003eERROR\u003c/dispatcher\u003e\n  \u003cdispatcher\u003eASYNC\u003c/dispatcher\u003e\n\u003c/filter-mapping\u003e\n```\n\nCorrelating Dispatches\n----------------------\n\nA 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.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarschall%2Fjfr-servlet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarschall%2Fjfr-servlet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarschall%2Fjfr-servlet/lists"}