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": 8077,
"classes.loaded": 8078,
"classes.unloaded": 1,
"gc.ps_scavenge.count": 15,
"gc.ps_scavenge.time": 242,
"gc.ps_marksweep.count": 3,
"gc.ps_marksweep.time": 543,
"httpsessions.max": -1,
"httpsessions.active": 0,
"gauge.response.actuator": 8,
"gauge.response.mappings": 12,
"gauge.response.beans": 83,
"gauge.response.health": 14,
"gauge.response.root": 9,
"gauge.response.heapdump": 4694,
"gauge.response.env": 6,
"gauge.response.profile": 12,
"gauge.response.browser.star-star": 10,
"gauge.response.actuator.root": 2,
"gauge.response.configprops": 272,
"gauge.response.actuator.star-star": 13,
"counter.status.200.profile": 1,
"counter.status.200.actuator": 8,
"counter.status.200.mappings": 1,
"counter.status.200.root": 5,
"counter.status.200.configprops": 1,
"counter.status.404.actuator.star-star": 3,
"counter.status.200.heapdump": 1,
"counter.status.200.health": 1,
"counter.status.304.browser.star-star": 132,
"counter.status.302.actuator.root": 4,
"counter.status.200.browser.star-star": 37,
"counter.status.200.env": 2,
"counter.status.302.root": 5,
"counter.status.200.beans": 1,
"counter.status.200.actuator.star-star": 210,
"counter.status.302.actuator": 1
}
..................Content has been hidden....................

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