Spring Boot Actuator metrics monitoring with Prometheus

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2019
  • Monitoring Spring Boot Apps with Micrometer, Prometheus. Learn how to integrate Spring boot actuator with Prometheus monitoring server.

ความคิดเห็น • 29

  • @arpanbanejee5143
    @arpanbanejee5143 2 ปีที่แล้ว

    Hi I am not able to see the application endpoint in the prometheus UI, pls help

  • @sreekanthjanapati409
    @sreekanthjanapati409 4 ปีที่แล้ว

    nice explanation

  • @ZakariaaElK
    @ZakariaaElK ปีที่แล้ว

    Thank you for this great tuto, i have a problem when I type in the browser localhost:8080/metrics it works, but when I type localhost:8080/actuator/metrics it appears an error message "Whitelabel Error Page. This application has no explicit mapping for / error, so you are seeing this as a fallback".
    Knowing that I added the "spring-boot-starter-actuator" dependency.

    • @sarveshzeke7255
      @sarveshzeke7255 8 หลายเดือนก่อน

      Also add the micrometer-registry-prometheus dependency! That worked for me

  • @swatikadu7082
    @swatikadu7082 4 ปีที่แล้ว

    I added the endpoint for spring but that's not showing on the Prometheus ui

    • @javadevjournal
      @javadevjournal  4 ปีที่แล้ว

      can you share the screen shot? Need little more information to help you out.

  • @AleksandarT10
    @AleksandarT10 ปีที่แล้ว

    Is it possible Prometheus to scrape only specific metrics that you have specific in a config file?

    • @abhiroopghatak9442
      @abhiroopghatak9442 ปีที่แล้ว

      you can control that via actuator whitelisting of metric .. for demo purpose creator whitelisted everything.