© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
D. R. HeffelfingerPayara Micro Revealedhttps://doi.org/10.1007/978-1-4842-8161-1_6

6. Metrics

David R. Heffelfinger1  
(1)
Fairfax, VA, USA
 

The MicroProfile Metrics API allows us to easily generate monitoring data (things like CPU load, disk space usage, number of HTTP requests, etc.). Payara Micro provides a metrics endpoint that can provide this data with no additional effort on our part.

There are four MicroProfile metrics endpoints:
  • /metrics/base is defined by the MicroProfile standard, meaning that all MicroProfile implementations (such as Payara Micro) must implement it. It provides information about the JVM that is running our instance of Payara Micro, ...

Get Payara Micro Revealed: Cloud-Native Application Development with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.