Metrics

The metrics endpoint shows some of the important metrics about the following:

  • Server--free memory, processors, uptime, and so on
  • JVM--details about the ;heap, threads, garbage collection, sessions, and so on
  • Responses provided by application services

An extract from the ;response of the ;/application/metrics endpoint is shown as follows:

{ "mem": 481449, "mem.free": 178878, "processors": 4, "instance.uptime": 1853761, "uptime": 1863728, "systemload.average": 2.3349609375, "heap.committed": 413696, "heap.init": 65536, "heap.used": 234817, "heap": 932352, "nonheap.committed": 69248, "nonheap.init": 2496, "nonheap.used": 67754, "nonheap": 0, "threads.peak": 23, "threads.daemon": 21, "threads.totalStarted": 30, "threads": 23, "classes": ...

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.