Generating and/or monitoring metrics with the MicroProfile Metrics API

With the increase of the granularity of services (which came with the microservices approach), the complexity to manage all those little nodes of features (that is, microservices) also increases. So, being able to generate, store, and monitor its metrics has become the key to success, so you can have more data to help you to manage its complexity, even when it is growing.

In this recipe, you will learn how to do this using the Eclipse MicroProfile Metrics API. You will see the default metrics generated by the framework and how to generate metrics at the application level (metrics created by you), so you can monitor what makes sense for your business.

As MicroProfile is a specification and a standard, it has implementations. In this recipe, we will use Helidon MP (https://helidon.io/).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.39.23