title: Spring boot 2 actuator metrics
body: <p>Is there any reference detailed documentation of spring boot 2 metrics.</p>
  
  <p>I mean </p>
  
  <pre><code>{
    "names": [
      "jvm.memory.max",
      "http.server.requests",
      "process.files.max",
      "jvm.gc.memory.promoted",
      "tomcat.cache.hit",
      "rabbitmq.channels",
      "system.load.average.1m",
      "tomcat.cache.access",
      "jvm.memory.used",
      "jvm.gc.max.data.size",
      "jdbc.connections.max",
      "jdbc.connections.min",
      "jvm.gc.pause",
      "jvm.memory.committed",
      "system.cpu.count",
      "logback.events",
      "rabbitmq.connections",
      "tomcat.global.sent",
      "jvm.buffer.memory.used",
      "tomcat.sessions.created",
      "jvm.threads.daemon",
      "system.cpu.usage",
      "jvm.gc.memory.allocated",
      "tomcat.global.request.max",
      "hikaricp.connections.idle",
      "hikaricp.connections.pending",
      "tomcat.global.request",
      "rabbitmq.rejected",
      "tomcat.sessions.expired",
      "hikaricp.connections",
      "jvm.threads.live",
      "jvm.threads.peak",
      "tomcat.global.received",
      "hikaricp.connections.active",
      "hikaricp.connections.creation",
      "process.uptime",
      "tomcat.sessions.rejected",
      "process.cpu.usage",
      "tomcat.threads.config.max",
      "jvm.classes.loaded",
      "hikaricp.connections.max",
      "hikaricp.connections.min",
      "rabbitmq.consumed",
      "jvm.classes.unloaded",
      "tomcat.global.error",
      "tomcat.sessions.active.current",
      "tomcat.sessions.alive.max",
      "jvm.gc.live.data.size",
      "tomcat.servlet.request.max",
      "hikaricp.connections.usage",
      "tomcat.threads.current",
      "tomcat.servlet.request",
      "hikaricp.connections.timeout",
      "process.files.open",
      "jvm.buffer.count",
      "jvm.buffer.total.capacity",
      "tomcat.sessions.active.max",
      "hikaricp.connections.acquire",
      "tomcat.threads.busy",
      "rabbitmq.published",
      "process.start.time",
      "tomcat.servlet.error",
      "rabbitmq.acknowledged"
    ]
  }
  </code></pre>
  
  <ul>
  <li><p>Which metrics should I use for memory / gc / cpu usage. Also what does the values represent.</p></li>
  <li><p>Also in spring boot 1.5.x, i can simply get used heap, committed heap, gc count etc. How can i get those values?</p></li>
  </ul>
  
  <p>Also is there a way I can get all metrics at one call. I mean to get all metrics i need to call many hits rite now in boot 2.</p>