Skip to content

This is a quick prototype playing with the Java Flight Recorder (JFR) [event streaming api](https://openjdk.java.net/jeps/349) in Java 14.

License

Notifications You must be signed in to change notification settings

AlanMasciangelo/flight-attendant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight attendant

This is a quick prototype playing with the Java Flight Recorder (JFR) event streaming api in Java 14. The project can be used as a java agent to receive events and send them to Elastic Search.

Why?

The JDK mission control console is great for local projects are if you can reach the correct ports. This isn't always feasible. This is an example of how this data could be exported to a centrally managed search engine.

Try it out

I wanted to use the official ElasticSearch client jar for convenience. Clone the repository and build a fat jar to use as a java agent :

./gradlew shadowJar

Start your Java application and pass it the agent

java -javaagent:flight-attendant/build/libs/flight-attendant-all.jar -jar my-app.jar

About

This is a quick prototype playing with the Java Flight Recorder (JFR) [event streaming api](https://openjdk.java.net/jeps/349) in Java 14.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages