I have few spring boot applications running, Say:
App #1: 10.1.1.1:81, DB
App #2: 10.1.1.2:82, Service 1
App #3: 10.1.1.1:83, Service 2
Q#1: Is it possible to use Prometheus to monitor these dynamically growing apps?
Q#2: Assuming above is possible, is there any API in prometheus which returns all the above metadata(which service is up and which is down), so that another service will consume it.