Hands-On Enterprise Java Microservices with Eclipse MicroProfile
by Cesar Saavedra, Heiko W. Rupp, Jeff Mesnil, Pavol Loffay, Antoine Sabot-Durand, Scott Stark
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access