O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MicroProfile Metrics

MicroProfile Metrics exposes the metric data (often called telemetry) of the running server, for example, CPU and memory usage, and the thread count. This data is then often fed into charting systems to visualize metrics over time or to serve capacity-planning purposes; of course, they also serve to notify DevOps people when the values go outside a predefined threshold range.

The Java Virtual Machine had a way to expose data for a long time via MBeans and the MBeanServer. Java SE 6 saw the introduction of an (RMI-based) remote protocol for all VMs defining how to access the MBean Server from remote processes. Dealing with this protocol is difficult and does not fit in with today's HTTP-based interactions.

The other pain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required