I’m new to handling Prometheus, I just wanted to know How can we monitor the java application is running or not?
example: On A server prometheus running and on B server java application running with port 8685. Using node exporter. but in target showing the TCP connect: connection refused. java service is running
I add this config
job_name: java static_configs: - targets: - 10.101.2.3:8685