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

Summary

In this chapter, we learned about the observability of servers and applications.

Metrics, or telemetry, can help to pinpoint the performance characteristics of a server or an application. MicroProfile offers, via the Metrics specification, a way to export Metrics in standardized ways. Application writers can use MicroProfile Metrics to expose their data to monitoring clients decoratively via annotations or via calls to the Metrics API.

The chapter further explained how OpenTracing integration in MicroProfile provides an end-to-end view for each individual transaction going through the system. We went through the configuration properties, showcasing tracing for JAX-RS, and finally investigating data in the Jaeger system.

In the next ...

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