title: Spring Boot 2.2.2 - Prometheus not working in Actuator
body: <p>I've upgraded my Spring Boot application to the latest 2.2.2 Boot version. Since then, I only have a metrics endpoint but no Prometheus.</p>
  
  <p>My <strong><em>build.gradle.kts</em></strong> file has <code>org.springframework.boot:spring-boot-starter-actuator</code> as dependency, I also added <code>io.micrometer:micrometer-registry-prometheus</code> as the reference suggests (<a href="https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-features.html#production-ready-endpoints" rel="noreferrer">Prometheus endpoint</a>).</p>
  
  <p>My <strong><em>application.yml</em></strong> looks like the following:</p>
  
  <pre><code>management:
    server:
      port: 9000
    endpoints:
      web:
        exposure:
          include: health, shutdown, prometheus
    endpoint:
      shutdown:
        enabled: true
  </code></pre>
  
  <p>Can someone guide me to the right direction?</p>
  
  <p>Edit: It was working in Spring Boot 2.2.0. This is the link to download an identical project: <a href="https://start.spring.io/#!type=gradle-project&amp;language=kotlin&amp;platformVersion=2.2.2.RELEASE&amp;packaging=jar&amp;jvmVersion=1.8&amp;groupId=com.example&amp;artifactId=demo&amp;name=demo&amp;description=Demo%20project%20for%20Spring%20Boot&amp;packageName=com.example.demo&amp;dependencies=webflux,actuator" rel="noreferrer">link</a></p>
  
  <p>Edit 2: I can verify that it works with 2.2.1 as well.</p>