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.
Hi I am not able to see the application endpoint in the prometheus UI, pls help
nice explanation
Thanks and welcome
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.
Also add the micrometer-registry-prometheus dependency! That worked for me
I added the endpoint for spring but that's not showing on the Prometheus ui
can you share the screen shot? Need little more information to help you out.
Is it possible Prometheus to scrape only specific metrics that you have specific in a config file?
you can control that via actuator whitelisting of metric .. for demo purpose creator whitelisted everything.