[17.0.0.3 and later]

Adding metrics to applications

MicroProfile metrics provides an API for developers to add metrics to their applications. Metrics come in a variety of forms, including counters, gauges, timers, histograms, and meters. Real time values of all metrics are available from a call to a /metrics endpoint. Liberty applications can use the MicroProfile metrics API by enabling the mpMetrics-1.0 or the mpMetrics-1.1 feature. Code that is instrumented with Dropwizard metrics might be able to run with MicroProfile metrics with minimal changes.


Icon that indicates the type of topic Task topic

File name: twlp_mp_metrics_add.html