One of the advantages of microservices is that you can easily scale your applications. Kubernetes, which is the de-facto standard Docker orchestration tool, provides some scaling methods. They are basically designed to use Pod/Cluster related metrics such as CPU and memory consumptions. But sometimes, they do not have enough information to scale your real applications.
On the other hand, MicroProfile Metrics can produce application specific metrics, such as thread pool or database connection usage, which are useful as the trigger to scale.
This session provides a demonstration on how to use MicroProfile Metrics as a threshold of scaling Kubernetes applications by using Kubernetes HorizontalPodAutoscaler and Prometheus Adapter.
After this session you will be able to integrate MicorProfile Metrics to your application running on Kubernetes and to make your MicroProfile applications much more easily scalable.