title: Cannot include Prometheus metrics in spring boot 2 (version 2.0.0.M7)
body: <p>Cannot include Prometheus metrics in spring boot 2 (version 2.0.0.M7) project.</p>
  
  <p>According <a href="https://micrometer.io/docs/ref/spring/2.0#_prometheus" rel="noreferrer">micrometer docs</a> added <strong>spring-boot-starter-actuator</strong> dependency and in application.yaml added <strong>management.endpoints.web.expose: prometheus</strong> but when calling <em>/actuator/prometheus</em> get<br>
  <code>{
      "timestamp": 1518159066052,
      "path": "/actuator/prometheus",
      "message": "Response status 404 with reason \"No matching handler\"",
      "status": 404,
      "error": "Not Found"
  }</code>   </p>
  
  <p>Tell me please why I wasn't getting prometheus metrics?</p>