Hi All, I am trying to deploy a small application in a tomcat docker container and trying to monitor the container using Prometheus with the help of node exporter. But I am unable scrape metrics even though metrics is actually being pulled as i can see the output from browser or by using curl or wget command.
Prometheus error : *context deadline exceeded* Below is my Dockerfile : *FROM jatayu99/my-tomcat:latestADD prometheus-jmx-config.yml /prometheus-jmx-config.ymlADD jmx_prometheus_javaagent-0.13.0.jar /jmx_prometheus_javaagent-0.13.0.jarCOPY ConferenceRoomCapstoneB35.war /usr/local/tomcat/webappsENV JAVA_OPTS="$JAVA_OPTS -javaagent:/jmx_prometheus_javaagent-0.13.0.jar=9830:/prometheus-jmx-config.yml"EXPOSE 9830 8080* sarbajit@UBUNTU:~/expr/proj-ansi-roles$ cat roles/03-build-image/files/ prometheus-jmx-config.yml *ssl: falselowercaseOutputName: falselowercaseOutputLabelNames: false* But if I try to use port 8080 for jmx_prometheus_javaagent-0.13.0.jar then prometheus is able to pull the metrics but my application is not running in that scenario. Can anyone please help regarding this problem ?? Thanks & Regards, Sarbajit Das -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/4784e0c5-8bc8-494c-aa0c-9f7fa734493fn%40googlegroups.com.

