Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Enterprise Java Microservices with Eclipse MicroProfile

You're reading from   Hands-On Enterprise Java Microservices with Eclipse MicroProfile Build and optimize your microservice architecture with Java

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher Packt
ISBN-13 9781838643102
Length 256 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (6):
Arrow left icon
Scott Stark Scott Stark
Author Profile Icon Scott Stark
Scott Stark
Pavol Loffay Pavol Loffay
Author Profile Icon Pavol Loffay
Pavol Loffay
Heiko W. Rupp Heiko W. Rupp
Author Profile Icon Heiko W. Rupp
Heiko W. Rupp
Antoine Sabot-Durand Antoine Sabot-Durand
Author Profile Icon Antoine Sabot-Durand
Antoine Sabot-Durand
Cesar Saavedra Cesar Saavedra
Author Profile Icon Cesar Saavedra
Cesar Saavedra
Jeff Mesnil Jeff Mesnil
Author Profile Icon Jeff Mesnil
Jeff Mesnil
+2 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: MicroProfile in the Digital Economy
2. Introduction to Eclipse MicroProfile FREE CHAPTER 3. Governance and Contributions 4. Section 2: MicroProfile's Current Capabilities
5. MicroProfile Config and Fault Tolerance 6. MicroProfile Health Check and JWT Propagation 7. MicroProfile Metrics and OpenTracing 8. MicroProfile OpenAPI and Type-Safe REST Client 9. Section 3: MicroProfile Implementations and Roadmap
10. MicroProfile Implementations, Quarkus, and Interoperability via the Conference Application 11. Section 4: A Working MicroProfile Example
12. A Working Eclipse MicroProfile Code Sample 13. Section 5: A Peek into the Future
14. Reactive Programming and Future Developments 15. Using MicroProfile in Multi-Cloud Environments 16. Assessments 17. Other Books You May Enjoy

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 point is that many globally existing servers have different properties exposed under different names. It is thus not easy to set up monitoring...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime