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

Chapter 5

  1. Distributed tracing provides a micro-view of what happened with a request from end to end, whereas metrics expose scalar numerical values from a single component.
  2. Distributed tracing systems usually provide features such as the root cause and critical path analysis, contextualized logging, distributed context propagation, and service dependency diagrams.
  3. Automatically traced are JAX-RS server endpoints and MicroProfile Rest clients. Some vendors can also automatically trace JAX-RS clients.
  4. These tags are added for every REST request http.method, http.status_code, http.url, component, span.kind and error if an exception is thrown.
  5. Explicit instrumentation can be added by using @Traced annotation or injecting the tracer and creating spans manually.
  6. There are three scopes: base for server metrics that apply to all runtimes, vendor for metrics that are server-specific,...
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 $19.99/month. Cancel anytime