Skip to Content
Kubernetes Native Microservices with Quarkus and MicroProfile
book

Kubernetes Native Microservices with Quarkus and MicroProfile

by Kenneth Finnigan, John Clingan
January 2022
Intermediate to advanced
328 pages
9h 8m
English
Manning Publications
Content preview from Kubernetes Native Microservices with Quarkus and MicroProfile

10 Capturing metrics

This chapter covers

  • The role of metrics in a microservices architecture
  • Types of metrics
  • Creating custom metrics
  • Metrics scopes
  • Viewing metrics in Grafana
  • MicroProfile Metrics and Micrometer metrics

MicroProfile Metrics exposes runtime metrics like CPU and memory utilization and can also expose custom application performance and business metrics. We can forward exposed metrics to graphing systems like Grafana and view them in dashboards representing a live view of running microservices. A live view of metrics can improve business performance and improve application availability.

In this chapter, we instrument the chapter 7 Account service and Transaction service with metrics using MicroProfile Metrics APIs, with a section ...

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.
Start your free trial

You might also like

Bootstrapping Microservices with Docker, Kubernetes, and Terraform

Bootstrapping Microservices with Docker, Kubernetes, and Terraform

Ashley Davis
Core Kubernetes

Core Kubernetes

Jay Vyas, Christopher Love
Kubernetes Patterns

Kubernetes Patterns

Bilgin Ibryam, Roland Huß

Publisher Resources

ISBN: 9781617298653Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link