© Luqman Saeed and Ghazy Abdallah 2022
L. Saeed, G. AbdallahPro Cloud Native Java EE Appshttps://doi.org/10.1007/978-1-4842-8900-6_9

9. Keeping Count with Metrics

Luqman Saeed1   and Ghazy Abdallah2
(1)
Cantonments, Accra, Ghana
(2)
Alwakra, Qatar
 

Deployed, user-facing applications need to be monitored to ensure they are delivering as expected. Cloud-native applications deployed to complex cloud hosting environments need to be monitored even more because any unexpected deviation from preset expectations could mean significant extra hosting bills.

The way to monitor deployed, running applications is through the use of application metrics. Metrics such as how many times a method has been called and how many seconds a given method takes to return are all ...

Get Pro Cloud Native Java EE Apps: DevOps with MicroProfile, Jakarta EE 10 APIs, and Kubernetes 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.