33

Monitoring REST APIs with Custom JDK Flight Recorder Events - Gunnar Morling

 4 years ago
source link: https://www.morling.dev/blog/rest-api-monitoring-with-custom-jdk-flight-recorder-events/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The JDK Flight Recorder (JFR) is an invaluable tool for gaining deep insights into the performance characteristics of Java applications.Open-sourced in JDK 11, JFR provides a low-overhead framework for collecting events from Java applications, the JVM and the operating system.In this blog post we’re going to explore how custom, application-specific JFR events can be used to monitor a REST API, allowing to track request counts, identify long-running requests and more.We’ll also discuss how the JFR Event Streaming API new in Java 14 can be used to export live events,making them available for monitoring and alerting via tools such as Prometheus and Grafana.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK