Obtaining Metrics for a Microservices Runtime
Microservices Runtime can generate metrics about the server and services on the server that the Prometheus server can use to provide insight to the operation of the Microservices Runtime and the services it contains. Microservices Runtime generates metrics in a Prometheus format. Prometheus is an open source monitoring and alerting toolkit which is frequently used for monitoring microservices.
Microservices Runtime exposes the metrics generating feature via the metrics endpoint. When the metrics endpoint is invoked, Microservices Runtime gathers server, service-level, and JVM metrics and returns the data in a Prometheus format.
Microservices Runtime can also gather and return metrics for when the metrics endpoint is called.
For a detailed list of the metrics returned by
Microservices Runtime, see
Prometheus Metrics Returned by Microservices Runtime
.
Note:
The Microservices Runtime documentation assumes a familiarity with Prometheus technology. An in-depth discussion of Prometheus is beyond the scope of this guide but is available elsewhere.