title: Spring Boot 2 Actuator doesnt publish jvm metric
body: <p>I am running a Spring Boot 2 Application and added the actuator spring boot starter dependency. I enabled all web endpoints and then called:</p>
  
  <p><a href="http://localhost:8080/actuator/metrics" rel="nofollow noreferrer">http://localhost:8080/actuator/metrics</a></p>
  
  <p>result is:</p>
  
  <pre><code>{
      "names": ["jdbc.connections.active", 
                "jdbc.connections.max", 
                "jdbc.connections.min", 
                "hikaricp.connections.idle", 
                "hikaricp.connections.pending", 
                "hikaricp.connections", 
                "hikaricp.connections.active", 
                "hikaricp.connections.creation", 
                "hikaricp.connections.max", 
                "hikaricp.connections.min", 
                "hikaricp.connections.usage", 
                "hikaricp.connections.timeout", 
                "hikaricp.connections.acquire"]
  }
  </code></pre>
  
  <p>But I am missing all the JVM stats and other built-in metrics. What am I missing here? Everything I read said that these metrics should be available at all times. </p>
  
  <p>Thanks for any hints.</p>